I have a problem on my Node-red with relay H32B Pro, when i connect to relay and debug it alway run message "RELAY-STATE-255,0, 1,0,0, OK" at every 2 second.
Can you tell me what wrong?
maybe you are query relay or some relay state changed. if you use KC868-H32B Pro, highly recommended use MQTT integrate to Node-Red, that will be very easy and stable. it use json format mqtt message. every relay state changed will auto upload mqtt message to you.
OK, i will try MQTT.
but Can you tell me how to fix it?
Because i was try to change my relay H32b pro to mqtt (LAN) already but it got error.
and WIFI i use esp32 development for homekit.
Because i was try to change my relay H32b pro to mqtt (LAN) already but it got error. what error?
when i connect to relay and debug it alway run message "RELAY-STATE-255,0, 1,0,0, OK" at every 2 second. can you take video, i don't know how you let it auto send command.
02-21-2023, 01:26 AM (This post was last modified: 02-21-2023, 01:27 AM by admin.)
1. suggest you "TCP OUT" for a testing. this week when i have time will test with "TCP IN" node, then feedback to you.
2. MQTT borker usually use 1883 port, not 5555. check your mqtt broker setting. about the information for webpage, just after reboot, wait for a moment, if blank, use the browser's refresh button is ok, because it need time to read config information for webpage.
here is video tour , how to integrate relay controller to Node-Red by mqtt: https://youtu.be/841Hv7iPdk8
Dear Sir
1/ for "TCP Out" is ok, but "TCP in" is have message pop up every 2second. Can not stop.
2/ MQTT, i was try 1883 already, (sorry in my video port not change) but still error, blank configure data page, even refresh or close window and open also, it still error.
1. yes. usually we use TCP OUT, but TCP in we using for get status of relay and update the button status.
2. How can i re-firmware again? Do you have video for this H32B Pro?