Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lesson9 - integrate KC868-Server to home assistant by MQTT
#21
do you see the "Note" of network setting webpage, "Mqtt Broker Username" and "Mqtt Broker Password" need <10 letters, now yous is too long, just change it.
such as "Mqtt Broker Username" = "mqtt" "Mqtt Broker Password"= "123" i think will be ok.
Reply
#22
It helped to create an additional person in home assistance, the new person has access to login, you need to set a short password and the same password and username can be used as the mqtt broker name in the Kincony server settings. thanks !
Reply
#23
you are welcome.
Reply
#24
I have forgotten my server login and am not able to change mqtt settings.  How do you reset the username and password?


Attached Files Image(s)
   
Reply
#25
user: admin
password you can use: jingkong
Reply
#26
Hello Sir,

i have done MQTT setting as per training like (username and password). Now from ESPHome (HomeAssistant - phone app) status of output is off 
but in Server light is showing ON 

Trying to off but not working please hep - i have attached all photo of configuration.


Attached Files Image(s)
           

.txt   Kincoy-Relay-output.txt (Size: 9.28 KB / Downloads: 170)
Thanks & Regards,
Arshad Abbas
Smile
Reply
#27
you are using KC868-server, so topic: ‘relay32/a76735003767977252b3c64d/state’ replace with ‘server/a76735003767977252b3c64d/state’
topic: ‘relay32/a76735003767977252b3c64d/set’ replace with ‘server/a76735003767977252b3c64d/set’
NOT "relay32".
Reply
#28
(04-11-2023, 12:06 AM)admin Wrote: you are using KC868-server, so topic: ‘relay32/a76735003767977252b3c64d/state’  replace with ‘server/a76735003767977252b3c64d/state’
topic: ‘relay32/a76735003767977252b3c64d/set’ replace with ‘server/a76735003767977252b3c64d/set’
NOT "relay32".

Example of config:-

mqtt:
  switch:
  - name: ‘output-1’
    unique_id: output-1
    state_topic: ‘server/a76735003767977252b3c64d/state’
    command_topic: ‘server/a76735003767977252b3c64d/set’
    payload_on: ‘{“relay1”:{“on”:1}}’
    payload_off: ‘{“relay1”:{“on”:0}}’
    value_template: ‘{{ value_json.relay1.on }}’
    state_on: 1
    state_off: 0
   
i have changed the configuration file for all the 16 output but not working -- Output Light status is showing "ON" - trying to make it "off" not working
Thanks & Regards,
Arshad Abbas
Smile
Reply
#29
take a video send to whatsapp. and upload your configure.yaml file.
Reply
#30
(04-11-2023, 11:18 AM)admin Wrote: take a video send to whatsapp. and upload your configure.yaml file.

Hello Sir,

I have uploaded the config.yaml file - please check and shared video


Attached Files
.txt   configuration-yaml-file.txt (Size: 9.11 KB / Downloads: 169)
Thanks & Regards,
Arshad Abbas
Smile
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)