Posts: 18
Threads: 1
Joined: Jul 2022
Reputation:
0
Input is working, but my mqtt doesn't work.. HA does not find entities on A32 that it could manage. Do you have a text file with configuration.yaml that is correct to add mqtt switch and input/ sensors?
Posts: 18
Threads: 1
Joined: Jul 2022
Reputation:
0
02-21-2023, 10:58 PM
(This post was last modified: 02-21-2023, 11:00 PM by Wojtek.)
Ok, I configured the operation of one device with KCS A32. Home Assistant works fine with mqtt, but I have a problem because I have 2 A32 devices. I can't configure the second device because the entity names are the same as in the first A32 device. How to solve the entity naming problem? maybe you need to do some modification of the software in KCS so that you can change names in the mqtt protocol. I have no idea how to do it.?
Posts: 9,146
Threads: 1,204
Joined: Oct 2020
Reputation:
237
why use same entity name? this can define by yourself. every A32 board have different SN. you just copy your first A32 config code , replace with SN to create new mqtt topic. 100pcs of A32 also can integrate to home assistant.
Posts: 18
Threads: 1
Joined: Jul 2022
Reputation:
0
yes, i replace SN. in the configuration.yaml file should I change name or unique_id to create diferent entity name?
Posts: 9,146
Threads: 1,204
Joined: Oct 2020
Reputation:
237
- name: 'output-1'
unique_id: output-1
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
command_topic: 'server/8ae082ec66f37db231cf2b8f/set'
payload_on: '{"relay1":{"on":1}}'
payload_off: '{"relay1":{"on":0}}'
value_template: '{{ value_json.relay1.on }}'
state_on: 1
state_off: 0
just modify every channel of "unique_id" and "name". let them different.
Posts: 12
Threads: 6
Joined: Feb 2025
Reputation:
0
hello i try to add kc868-a32 mqqt to HA but in config file i got errors..
mqtt:
switch:
- name: 'output-1'
unique_id: output-1
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
command_topic: 'server/8ae082ec66f37db231cf2b8f/set'
payload_on: '{"relay1":{"on":1}}'
payload_off: '{"relay1":{"on":0}}'
value_template: '{{ value_json.relay1.on }}'
state_on: 1
state_off: 0
bad indentation of a sequence entry (141:8)
138 | - topic: "Esp32-rolety/connected"
139 |
140 | #Kincony hc868-a32
141 | mqtt:
--------------^
configuration.yaml.
is any example working with 14.02 HA?
It could be syntax error on yaml now, but i am weak on the yaml files.