Had a ST Hub for sometime now and have been working on my own DiY “things” using ESP32 boards.
Some great work out there on github such as Wemo and Hue Hub emulators, but nothing that would
allow me to create and communicate with ST with a more complex thing easily. So I decided to write my
own ESP32 Library based on the UPnP protocol (may add a RESTful interface in the near future).
For now I am looking for two things:
Testers for the UPnP library who have ESP32 boards etc.
Collaborators to help me develop the required ST devicetype and smartapp(s) that can interrogate
the ESP32 and adjust tiles, actions etc. depending on what capabilities the ESP32 reports back.
Anyway, happy to discuss in more detail with those who have an interest and willing to help!
You can take a look at my ST_Anything project for examples of using microcontrollers with SmartThings & Hubitat. It might give you some ideas on how to handle the ST Groovy Device Handler side of things. You cannot really dynamically add/remove tiles from a device… however, you can add Child devices on the fly, based on what data is sent to ST. This is exactly how ST_Anything’s Parent/Child Device handlers work.
@EZIoT, I’m up for testing. I’ve got a couple of projects I’ve been meaning to work on where this could be useful. If I end up starting on those I may even find some time to contribute. Are you planning on doing this in arduino-land or with the mfg’s SDK directly?
So the library has been written using the espressif arduino-esp32 SDK, but at the moment I have only
built using platformio, but it should work OK under the Arduino IDE as an imported library.
The library is a fully fledged UPnP implementation with full SSDP notifications, UPnP GENA subscriptions, support for OTA and a few other things!
I have had it running a light controller for the last few months with no issues.
I currently have a basic ST Device Handler SmartApp working, but still trying to get to grips with Groovy!!!
So if anyone can tell me how I can pass a Map from the SmartApp to the Child Device(s) you will save my sanity