I am adding an Item (type:switch), but I can not activate/deactivate the switch - nothing happens.
I’m sure I miss sth. but after 2h I really prefer to get in touch with the community
Hi, why are you using the http binding ? The “usual” way would have been either to use mqtt (which implies a mosquitto broker), flash the sonoff with esphome (and use the new esphome binding), or even use the sonoff firmware (there’s also a binding for that).
I had several problems with the http binding whenever I used “special” characters such as %, so I’m using the SmartHome J/HTTP Binding instead.
Thanks, I was not aware of this binding. But I prefer to have the web interface disabled which rules out http commands. And when I enable web interface it is protected by userid:password
Just a suggestion, you may add pulsetime support to your binding.
Actually I was not successfull with mqtt (mosquitto was working with device - tested with mqtt explorer).
But I was not able to find the correct config within openhab.
I will check the plugin in marketplace by next week And will Come back with a Resultat.
Maybe you are also able to expand that binding to read also other (mostly) values from Tasmota like temperature, pressure a.s.o. ???
I run a LOT of Tasmota-Stuff here, which not only have switches, but also provide other information and I would love to have them integrated without MQTT.
The issue might be, that it be not easy, as one do not really know, what kind of data is provided. I even do not know (as I´m not a coder), whether it is possible to get the data via the api (and how). Nevertheless, as said, I run a lot of them and can help with testing and proves.
Good idea. The only issue I see is that there are many different types of data provided depending on the device. On mine it provides energy usage information:
I have added energy monitoring channels to the binding. Can you post the output of this URL: http://$plug-ip/cm?cmnd=Status%2010 so that I can see what the JSON output is for the temperature and other sensors? It should be possible to add those to the binding as well.
Good. That looks exactly like what mine outputs and what was implemented. If you have a chance, please post the output of the one with a temperature sensor.