So I’m shifting to a new house and have placed an order for switches for about 275 lights. The icons on these switches are customised so they do take time to arrive, at the time of the order I was told that they aren’t familiar with HA but they’ll give full support to make it work together.
Till now I haven’t had any luck, so basically I have 25 devices which control 11 lights each, and they communicate to the mobile phone via TCP/IP. And they way they work is that they send a string “ABCD==#%11001101001”, ‘ABCD==’ is sent for authentication, followed by ‘#%’ representing to change the state, and the numbers after that refers to the state of each light to be executed. So now a problem I have is that whenever I have to change the state of just 1 light, I’ll have to send the whole command with the current state of each light constant and only 1 value changed.
I am open to giving time to this project but as I am new to HA, I don’t know how to approach this problem, the TCP integration on HA only says that it supports binary sensors, I believe this could also be done using the ‘telnet’ integration, or even using node red.
For the more complicated part, storing the state of each light and then sending the string with one value changed, can it be done using node-red or python? I just want to mention that I am a beginner at this, there might be easier ways to do this than what’s in my mind. Please if someone can help me on how to proceed with this.