KC868-A16 home assistant demo configuration.yaml by MQTT - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: "KCS" firmware system (https://www.kincony.com/forum/forumdisplay.php?fid=40) +--- Thread: KC868-A16 home assistant demo configuration.yaml by MQTT (/showthread.php?tid=2571) |
KC868-A16 home assistant demo configuration.yaml by MQTT - admin - 02-16-2023 Here is KC868-A16 integrate with home assitstant by MQTT via "KCS" v1.0.15 firmware. A16-mqtt-home-assistant.txt (Size: 9.33 KB / Downloads: 391) RE: KC868-A16 home assistant demo configuration.yaml by MQTT - igurgo - 10-17-2023 I pasted this into the yaml file: mqtt: switch: - name: output64 state_topic: "KC868_A64/D4D4DAE11DC0/STATE" command_topic: "KC868_A64/D4D4DAE11DC0/SET" payload_on: '{"output64":{"value":true}}' payload_off: '{"output64":{"value":false}}' state_on: true state_off: false After this I can control the output64 from HA. But I don't see the history and event log in HA. Уже разобрался. Спасибо! RE: KC868-A16 home assistant demo configuration.yaml by MQTT - admin - 10-18-2023 do you means you only can't see output64? output1--63 can be seen? or all output can't see history in HA? RE: KC868-A16 home assistant demo configuration.yaml by MQTT - Vittorio - 12-06-2023 If I may ask, I would like to inquire whether in a future version, the control of the buzzer will also be exposed via MQTT... it would be very useful; currently, I don't see it in MQTT Explorer. At the moment, I have added the sensors. I'm leaving the example code for anyone interested. sensor: - name: "ADC-1" unique_id: a16-kcs-adc-1 state_topic: "KC868_E16S/B8D61A5AA69C/STATE" value_template: "{{ value_json.adc1.value }}" unit_of_measurement: "Unità" - name: "ADC-2" unique_id: a16-kcs-adc-2 state_topic: "KC868_E16S/B8D61A5AA69C/STATE" value_template: "{{ value_json.adc2.value }}" unit_of_measurement: "Unità" - name: "ADC-3" unique_id: a16-kcs-adc-3 state_topic: "KC868_E16S/B8D61A5AA69C/STATE" value_template: "{{ value_json.adc3.value }}" unit_of_measurement: "Unità" - name: "ADC-4" unique_id: a16-kcs-adc-4 state_topic: "KC868_E16S/B8D61A5AA69C/STATE" value_template: "{{ value_json.adc4.value }}" unit_of_measurement: "Unità" - name: "Sensor 1 Temperature" unique_id: a16-kcs-sensor-1-temperature state_topic: "KC868_E16S/B8D61A5AA69C/STATE" value_template: "{{ value_json.sensor1.temperature }}" unit_of_measurement: "°C" RE: KC868-A16 home assistant demo configuration.yaml by MQTT - admin - 12-06-2023 the newest firmware, support control buzzer by MQTT, also support read sensor data by MQTT. here is protocol document: https://www.kincony.com/forum/showthread.php?tid=3105 RE: KC868-A16 home assistant demo configuration.yaml by MQTT - Vittorio - 12-06-2023 (12-06-2023, 06:10 AM)admin Wrote: the newest firmware, support control buzzer by MQTT, also support read sensor data by MQTT. Perfect! I hadn't read this document...Thank you very much. |