yeah, i have that too with my dimmers they update indeed after the poll
i solved that in my light switch… whenever i turn on a light (command) , i also change the state with a rest command, so for every light/switch i have 2 commands, one for the actual light and for the state
so my state is immediately changed , looks much nicer
hey @pergola.fabio thank you so much for your help. I made a typo in my command. Everything is up and running now. I’ve created a new post with my whole setup: Dobiss lights integration
I used the dobiss specific thread to post an update to dobiss2mqtt. If it really works I’ll probably create a new thread for it. So check: Dobiss lights integration
I’m new to Home Assistant and trying to find my way around.
I’m used to Domoticz but wanted to try something new so the logical choice was HA.
I created my own standalone home automation system that is based on a RS485 bus system with my own protocol (just 7 bytes) and has an Ethernet interface that accepts raw TCP packets.
I used Domoticz as an add-on to do some additional automation.
In Domoticz I used to run a Python script that sends the necessary bytes over to my system.
I’m looking to do the same from HA but can’t seem to get it going.
I’ve been reading and trying all kind of posts but still no joy.
The idea is basically the same as the one from Fabio but when running the python script I get an error that the import socket is not working. I read that python is kind of ‘sandboxed’ in HA.
Next to that I tried the curl option like:
echo -e “\xFE\xF5\xCA\x06\x03\x00\x3A” | nc 192.168.1.10 1500
Also did get it going.
I’m also a bit stuck in where to run what. What is the best way to test the curl command and same for the python script.
Tips and tricks are very welcome.
Could you tell me how you got the python script working as the curl or shell is not working for me unfortunately?
Then I can give it a try with the python script I used to work with.
I tried to set this up but it’s not working correctly. It will go back to off after trying to turn it on, so the light will turn on indeed but HA things it’s off and it’s impossible to then actually turn it off
I’ll try at some point. I just somehow managed to kill the supervisor while playing with the switch code and I’m left unable to restart HA or any addons
Started my own thread about dobiss2mqtt here: Dobiss2mqtt. If we know how something in dobiss works we can try and automate it via dobiss2mqtt so that adding dobiss to homeassistant is just adding a bit of config.