Re: [mh] Adding Tasmota HTTP support
Paul Onley <[email protected]>
| Newsgroups | gmane.comp.misc.misterhouse.user |
|---|---|
| Message-ID | <[email protected]> |
Just wanted to send a HUGE thank you for this. I have been having some noise issues with my X-10 system of late and they do not seem to be going away. I have been looking at all the smart devices out there but was intimidated by the MQTT and internet of things aspects as well as having a pathological dislike for cloud based solutions. I have grown rather fond of mh and would hate to give up all of its functionality and integration but you have made it possible for me to integrate the Sonoff mini into mh with literally drop in ease. It took me 3 hours to get the hang of flashing my minis with Tasmota and then literally 5 minutes to connect them to mh. Thanks again for a great module that has brought the hardware layer of my mh installation into the 21st century. Paul On 12/12/20 8:39 PM, Jeff Siddall via misterhouse-users wrote: > As a follow-on to the "What’s better than Insteon?" thread, Giles put > me onto the Tasmota open source firmware that will run on a huge > number (literally thousands) of smart things on the market. While you > can talk to those over MQTT, then you also need to setup a broker, and > that seems awkward in a world where all the smart things have web > interfaces. > > So that got me thinking about building a "Tasmota_HTTP_Item" in MH. > There is already support for SETting things in MH using HTTP via the > lib/http_server.pl code. Tasmota devices can send updates using HTTP, > as in this example: > > https://tasmota.github.io/docs/Rules/#two-way-light-switches-without-mqtt > > So combining those two would result in a rule for local switch control > on the Tasmota with a command like: > > WebSend [<mh_ip_address>:8081] > /SET;none?select_item=Tasmota_Item_Name&select_state=on > > And for remote control, MH would send a command like this when an item > is set: > > get 'http://<tasmota_item_ip>/cm?cmnd=POWER1 ON' > > The only other thing is that the "set" function for the Tasmota_Item > would need to check if the item was set_by: > > web [<tasmota_item_ip_address>] > > ...and then not send anything in that case so it doesn't end up in a > send loop with the Tasmota device. > > Anyone tried anything like that? If not, I guess it is time to order > some of these things and start tinkering! > > > > ________________________________________________________ > To unsubscribe from this list, go to: > https://lists.sourceforge.net/lists/listinfo/misterhouse-users > ________________________________________________________ To unsubscribe from this list, go to: https://lists.sourceforge.net/lists/listinfo/misterhouse-users