So as some may already know I've been trying to get some Sonoff's working with homeseer using the existing MQTT plug-ins and for whatever reason never got there so I wrote my own plug-in specifically for sonoff's with Tasmota firmware.
All you do is create a virtual device, in the device string set something like "MQTT:sonoff1/power" and your all done. The plug-in searches for these on start up and then (a) watches for device changes in HS and then publishes cmnd/sonoff1/power=1 to control the device and (b) watches for stat/sonoff1/power publishes from the sonoff's and updates HS devices if needed.
it should work for most on/off MQTT devices, but I've only tested with Sonoff+Tasmota.
Its really dirty and lots hard coded right now but if there's interest then I'll tidy it up, add some config screens and release it?
All you do is create a virtual device, in the device string set something like "MQTT:sonoff1/power" and your all done. The plug-in searches for these on start up and then (a) watches for device changes in HS and then publishes cmnd/sonoff1/power=1 to control the device and (b) watches for stat/sonoff1/power publishes from the sonoff's and updates HS devices if needed.
it should work for most on/off MQTT devices, but I've only tested with Sonoff+Tasmota.
Its really dirty and lots hard coded right now but if there's interest then I'll tidy it up, add some config screens and release it?
Comment