Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson9 - integrate KC868-Server to home assistant by MQTT
#11
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).


Attached Files
.txt   switch.txt (Size: 7.66 KB / Downloads: 190)
Reply
#12
You can see here , now format for MQTT home assistant:
https://www.kincony.com/kc868-h32b-integ...-mqtt.html
Reply
#13
note: maybe you have some "space" in string. just a format problem.
Reply
#14
can you check attach where the error

thank you


Attached Files
.txt   mqtt.txt (Size: 8 KB / Downloads: 197)
Reply
#15
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
Reply
#16
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


Attached Files Image(s)
   
Reply
#17
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: 259)
Reply
#18
thank you  for your reply 


the swatch not response 

see attach


Attached Files Image(s)
   

.txt   mqtt.txt (Size: 9.26 KB / Downloads: 173)
Reply
#19
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
Reply
#20
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: 216)

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
   
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)