Lesson9 - integrate KC868-Server to home assistant by MQTT - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: Home automation training courses (https://www.kincony.com/forum/forumdisplay.php?fid=18) +--- Thread: Lesson9 - integrate KC868-Server to home assistant by MQTT (/showthread.php?tid=1781) |
RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - sebagarayco - 01-26-2024 Hi, I'm stuck with KC868-Server configured in MQTT mode using Home Assistant mosquitto broker. When I suscribe to the topic I see one first message but then I don't see any other messages when I press the WALL SWITCH mosquitto_sub -h <IP ADDRESS> -u mqtt -P <PASSWORD> -t server/acf25f1d39adfbeXXXXXXXXX/state {"relay1":{"on":0},"relay2":{"on":0},"relay3":{"on":0},"relay4":{"on":0},"relay5":{"on":0},"relay6":{"on":0},"relay7":{"on":0},"relay8":{"on":0},"relay9":{"on":0},"relay10":{"on":0},"relay11":{"on":0},"relay12":{"on":0},"relay13":{"on":0},"relay14":{"on":0},"relay15":{"on":0},"relay16":{"on":0},"input1":{"on":0},"input2":{"on":0},"input3":{"on":0},"input4":{"on":0},"input5":{"on":0},"input6":{"on":0},"input7":{"on":0},"input8":{"on":0},"analog1":{"value":0},"analog2":{"value":0},"analog3":{"value":0},"analog4":{"value":0}} If I change SW trigger output to DISABLE I no longer can turn on or off with wall switch. If I change SW trigger output to ENABLE I can turn on or off with wall switch Also noticed that it takes some extra time than working in TCP mode. MQTT is slower (?) I would appreciate some help. Thank you RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 01-27-2024 If I change SW trigger output to DISABLE: will feedback mqtt message to broker, because this mode, manager INPUT by home assistant. If I change SW trigger output to ENABLE: INPUT work with OUTPUT directly without home assistant. suggest you use this mode for your switch panel, so that if home assistant is broken, switch panel also can work well. RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - MariusM - 10-14-2024 can you help with updated tutorial how to config kc868 server with mqtt by home assistant? i tried all the ways but still not showing any entities on HA. version 2024.10.2 RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 10-14-2024 post your config yaml at here. RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - MariusM - 10-15-2024 (10-14-2024, 10:12 PM)admin Wrote: post your config yaml at here. attached the code. I think that something is missing from my mosquito confuguration . RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 10-16-2024 set mqtt user name and password for mosquito and set in KC868-Server's webpage. RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - MariusM - 12-14-2024 Can you help, after power loss , the server is not connecting back . the switches are not working. i reset the server again and after start up the inputs are working for a moment and then stop to work . Also i'm not able to connect on IP adress. RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 12-15-2024 i don't understand, can you explain in details. or you can take a video send to us. RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - MariusM - 12-20-2024 (12-15-2024, 01:13 AM)admin Wrote: i don't understand, can you explain in details. or you can take a video send to us. somehow the ip adress of server has changed. i checked now and its all ok. RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 12-20-2024 ok |