When I change the switch state in KBOX Smart application, the relay state is not updated in Node Red panel.
I can of course poll the TCP process (tcp request node) but I would have to do it regularly for all relays so that their states in Node Red agree with reality...
Please put a node (file) that shows the real state of all 32 relays in Node Red.
you can place a "TCP IN" in Node-Red. Not need regularly for query all relay state. Because when you KBOX have turn ON/OFF any relay, the feedback message will also send to Node-Red, (Although it is not Node-Red sending turn ON/OFF relay commands) so you just according the feedback message to update relay state on Node-Red.
Which controller model you have used?
KBOX iPhone or android app?
Controller firmware updated to version 3.3 and synchronization of switch status between Node-Red, Google Home and KBOX Smart applications works without any problems.
In the attachment there is an example file for others - working node for 2 switches, which can be easily expanded for 8, 16, 32 switches. After import to Node-Red you need to change IP of the Kincony controller and insert correct token for Google Home (
https://node-red-google-home.herokuapp.com/) in NORA node.
Unfortunately, unable to sync yet with the Kincony Smart Home App (cloud app).
thanks for share your json file.
About the synchronization state with Kincony Smart Home App (cloud app) , this will be update in our next version firmware. when relay control by cloud server phone app, it will also feedback the command use for other device update the relay state.