The next thing I would like to do is update the state of the switch in HA when I control it from an APP on my android device. I’m able to send a TCP packet with packet sender, containing “0x24” and returning 2 bytes “01 00”, the first corresponds with relays being powered and the 2nd corresponds with active digital outputs.
Is there any way to send this tcp packet and correctly interpret the return, updating the switch? Or a more convenient way?