E16S home assistant - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-E16S/E16P (https://www.kincony.com/forum/forumdisplay.php?fid=26) +--- Thread: E16S home assistant (/showthread.php?tid=7155) |
E16S home assistant - janami - 11-30-2024 Ahoj všichni, Na mini PC mám přes PROXMOX nainstalovanou desku KC868-E16S a Home Assistant. Jaký komunikační protokol bych měl použít, abych zajistil stabilní připojení? Rozhodně nechci žádné bezdrátové možnosti. Mohl by mi prosím někdo napsat podrobný návod jak to nastavit? A jaký firmware mám nahrát do KC868-E16S? Děkuju. RE: E16S home assistant - admin - 11-30-2024 here is ESPHome yaml for KC868-E16S using ethenret (not by wifi) https://www.kincony.com/forum/showthread.php?tid=2125 RE: E16S home assistant - janami - 12-15-2024 I use kc868-e16s with home assistant by MQTT. My Home Assistant is on mini PC (HAOS) Core 2024.12.3 Supervisor 2024.11.4 Operating System 14.0 Frontend 20241127.8 I can read status of inputs, but I have a problem controlling the outputs – it’s not working. Where am I making a mistake? Here is my configuration.yaml mqtt: switch: - name: 'output-1' unique_id: output-1 state_topic: 'server/C82E18C85694/state' command_topic: 'server/C82E18C85694/set' payload_on: '{"relay1":{"on":1}}' payload_off: '{"relay1":{"on":0}}' value_template: '{{ value_json.relay1.on }}' state_on: 1 state_off: 0 binary_sensor: - name: "input-1" unique_id: "input-1" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input1.value }}" payload_on: true payload_off: false - name: "input-2" unique_id: "input-2" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input2.value }}" payload_on: true payload_off: false - name: "input-3" unique_id: "input-3" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input3.value }}" payload_on: true payload_off: false - name: "input-4" unique_id: "input-4" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input4.value }}" payload_on: true payload_off: false - name: "input-5" unique_id: "input-5" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input5.value }}" payload_on: true payload_off: false - name: "input-6" unique_id: "input-6" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input6.value }}" payload_on: true payload_off: false - name: "input-7" unique_id: "input-7" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input7.value }}" payload_on: true payload_off: false - name: "input-8" unique_id: "input-8" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input8.value }}" payload_on: true payload_off: false - name: "input-9" unique_id: "input-9" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input9.value }}" payload_on: true payload_off: false - name: "input-10" unique_id: "input-10" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input10.value }}" payload_on: true payload_off: false - name: "input-11" unique_id: "input-11" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input11.value }}" payload_on: true payload_off: false - name: "input-12" unique_id: "input-12" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input12.value }}" payload_on: true payload_off: false - name: "input-13" unique_id: "input-13" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input13.value }}" payload_on: true payload_off: false - name: "input-14" unique_id: "input-14" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input14.value }}" payload_on: true payload_off: false - name: "input-15" unique_id: "input-15" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input15.value }}" payload_on: true payload_off: false - name: "input-16" unique_id: "input-16" state_topic: "KC868_E16S/C82E18C85694/STATE" value_template: "{{ value_json.input16.value }}" payload_on: true payload_off: false RE: E16S home assistant - admin - 12-16-2024 your topic for OUTPUT is wrong. You should use: state_topic: 'KC868_E16S/C82E18C85694/state' command_topic: 'KC868_E16S/C82E18C85694/set' now mistake is : state_topic: 'server/C82E18C85694/state' command_topic: 'server/C82E18C85694/set' RE: E16S home assistant - janami - 12-16-2024 (12-16-2024, 12:15 AM)admin Wrote: your topic for OUTPUT is wrong. You should use: I edit topic, but still not working: mqtt: switch: - name: "output-1" unique_id: "output-1" state_topic: 'KC868_E16S/C82E18C85694/state' command_topic: 'KC868_E16S/C82E18C85694/set' payload_on: '{"relay1":{"on":1}}' payload_off: '{"relay1":{"on":0}}' value_template: '{{ value_json.relay1.on }}' state_on: 1 state_off: 0 Any idea? Do I have the outputs set correctly on the KC868-E16S? thanks J RE: E16S home assistant - admin - 12-16-2024 Code: mqtt: |