Smart Home Automation Forum
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)

Pages: 1 2 3 4 5 6


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - Almhlws - 12-10-2022

Failed to restart Home Assistant

The system cannot restart because the configuration is not valid: Invalid config for [mqtt]: [name:] is an invalid option for [mqtt]. Check: mqtt->mqtt->switch->2->name:. (See /config/configuration.yaml, line 17).


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 12-11-2022

You can see here , now format for MQTT home assistant:
https://www.kincony.com/kc868-h32b-integrate-home-assistant-by-mqtt.html


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 12-11-2022

note: maybe you have some "space" in string. just a format problem.


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - Almhlws - 12-16-2022

can you check attach where the error

thank you


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 12-17-2022

when using home assistant 2022.12.x version, mqtt syntax is updated.

delete these lines in your yaml file:

broker: 192.168.100.172
port: 1883
username: atawiali
password: P@ssw0rd


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - Almhlws - 12-17-2022

still not working

The system cannot restart because the configuration is not valid: Invalid config for [mqtt]: [name:] is an invalid option for [mqtt]. Check: mqtt->mqtt->switch->2->name:. (See /config/configuration.yaml, line 22).


see attach


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 12-17-2022

here is my config file for KC868-Server work with home assistant 2022.12.5

.txt   KC868-Server-home-assistant-MQTT_config_202212.txt (Size: 9.26 KB / Downloads: 289)


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - Almhlws - 12-17-2022

thank you  for your reply 


the swatch not response 

see attach


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 12-17-2022

1. check your mosquitto MQTT broker whether work well.
2. check your KC868-Server's ethernet setting, whether filled the correct MQTT IP,Port,Username,Password


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - Wojtek - 01-18-2023

I propably have a problem to configure mqtt broker.

my yaml configuration file, corrected version, adapted to update home assistant

.txt   konfiguracja mqtt serwer nowsza 19.01.2023.txt (Size: 9.26 KB / Downloads: 237)

my password and username on configuration mqtt broker    

my configuration on ethernet kincony server setings before save
   

my configuration on ethernet kincony server setings after save new long password, mayby too long pasword is a problem ?
   

Allways status is unknowned, when i make entities switch i try to change status on / off in HA, it return to status on 2 sec later, in KC server nothing happens, the red leds on the pcb do not light up