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 - admin - 01-19-2023

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.


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

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 !


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 01-19-2023

you are welcome.


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - Mauscom - 02-28-2023

I have forgotten my server login and am not able to change mqtt settings.  How do you reset the username and password?


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 03-01-2023

user: admin
password you can use: jingkong


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - ARSHAD - 04-10-2023

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.


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 04-11-2023

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".


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - ARSHAD - 04-11-2023

(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


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - admin - 04-11-2023

take a video send to whatsapp. and upload your configure.yaml file.


RE: Lesson9 - integrate KC868-Server to home assistant by MQTT - ARSHAD - 04-11-2023

(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