![]() |
|
KC868-H32B ethernet port problem - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: KC868-HxB series Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=2) +--- Thread: KC868-H32B ethernet port problem (/showthread.php?tid=6405) |
KC868-H32B ethernet port problem - stybyk - 08-14-2024 Hello, I had problem to integrate KC868-32B by MQTT, ethernet webpage loaded up, and i was able to control relays over webpage but it was not listen to MQTT. Then i decided to try new firmware, but when i upgraded from V446 into V447, ethernet interface webpage disapear, and device is no longer active in the DHCP, it is not getting IP, but ethernet port green is lighting and orange is slowly flashing. I connected box into my WIFI but then i am not able to control relays anyhow. ( I want primary to get MQTT). Any suggestion how to repair ethernet, and what could be wrong when i just made firmware upgrade / downgrade back doesnt help. RE: KC868-H32B ethernet port problem - lulu01 - 08-14-2024 Did you check if it didn't take its original, by default static IP address? I think it's 192.168.1.200 https://www.kincony.com/how-to-use-kc868-hxb-relay-controller.html RE: KC868-H32B ethernet port problem - admin - 08-14-2024 if you download firmware back to V4.46 , ethernet whether work well? RE: KC868-H32B ethernet port problem - stybyk - 08-15-2024 https://www.kincony.com/how-to-use-kc868-hxb-relay-controller.html Helped a lot - i had it in the TCP-SERVER mode. Only yellow led was lighting. Hold until yellow and white - DHCP + UDP and it works !! uff i was scared that it is broken totally.
RE: KC868-H32B ethernet port problem - stybyk - 08-15-2024 Ok then i will use it back to my original problem, not working MQTT. Please help me what i am doing wrong. My MQTT server is running on mosquitto in docker 10.10.10.101 - MQTT messages are working when i subscribe topic on different devices. ![]() But relay box is without reaction. Here you can see my msg and topic setup in the node-red
RE: KC868-H32B ethernet port problem - stybyk - 08-16-2024 Hello, MQTT solution: There is manual on the webpage, which i copied and replaced UID string: https://www.kincony.com/kc868-h32b-integrate-home-assistant-by-mqtt.html Problem was quotation marks: In the manual there are quotation marks : payload_on: ‘{“relay1”:{“on”:1}}’ payload_off: ‘{“relay1”:{“on”:0}}’ Which does not work But i write them manualy: payload_on: "{"relay1":{"on":1}}" payload_off: "{"relay1":{"on":1}}" Then then it started to work: root mqtt broker definition moved from .yaml into gui > But now what I am fighting with state, home assistant is unable to read state from the example. mqtt: - switch: unique_id: id_mqtt-relay-1 name: "mqtt-relay-1" state_topic: "relay32/091be9d88a5a21ae54aaf363/state" command_topic: "relay32/091be9d88a5a21ae54aaf363/set" payload_on: ‘{"relay1":{"on":1}}’ payload_off: ‘{"relay1":{"on":0}}’ value_template: ‘{{ value_json.relay1.on }}’ state_on: 1 state_off: 0 Please share how to update value_template for state in HA 2024.8.1 I am fighting several hours now, and only one think what i have is just that relay control, but status is unknow. So i dont know if it is open or cloded. RE: KC868-H32B ethernet port problem - lulu01 - 08-16-2024 Hello, copy-paste of YAML code in HTML pages is always a problem, that's why the quotes were not correct. You will find attached a sample of my own configuration for a H32B Pro, for both a sensor and a switch. I put in almost all configuration options including a custom icon, a device to regroup the entities etc. You can compare with your own configuration. Once this is done, don't forget to enable the "MQTT feedback all channels" option in the MQTT settings of the Kincony web interface - see the last messages in the thread here https://www.kincony.com/forum/showthread.php?tid=5725 RE: KC868-H32B ethernet port problem - admin - 08-17-2024 payload_on: ‘{“relay1”:{“on”:1}}’ Your quotation marks are problem. please download TXT file and copy from HTML webpage. |