tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
4
A quick 3 minute search doesn’t yield a conclusive answer, but perhaps a good starting point(s):
This one involves NodeMCU ESP8266, which therefore likely uses a URL / REST-API
This one is a skeleton, but only turns on a Switch … so, you would either change the switch triggering code to call the URL endpoint, or use a Virtual Switch to http call SmartApp (there are a few of those!)
Another DTH skeleton… not sure if better or worse than the previous:
###My Recommendation?
Unless you are super tight on time and don’t want to make a “learning exercise” of this, then a Thermostat is not super difficult DTH to build from the right template.
I’d recommend building a simple Virtual Switch DTH (with synchronizing SmartApp) first, as that basic practice is needed to understand the IDE, syntax, debugging.