H32B Pro No integration possible in Home assistant - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=1) +--- Forum: KC868-HxB series Smart Controller (https://www.kincony.com/forum/forumdisplay.php?fid=2) +--- Thread: H32B Pro No integration possible in Home assistant (/showthread.php?tid=6939) |
H32B Pro No integration possible in Home assistant - kenny H - 10-29-2024 Hello I'm struggling with the integration of the H32B Pro controller into Home assistant via MQTT on Ethernet. So I followed all the steps like in your video (https://www.youtube.com/watch?v=wMkQccSFY3A&t=406s ) But I cannot see any entity of the relay inputs/Outputs. Instead in the log files I get fault messages on the configuration code: Logger: homeassistant.config Source: config.py:1300 Invalid config for 'mqtt' at configuration.yaml, line 13: 'broker' is an invalid option for 'mqtt', check: mqtt->0->broker, please check the docs at https://www.home-assistant.io/integrations/mqtt Invalid config for 'mqtt' at configuration.yaml, line 13: 'password' is an invalid option for 'mqtt', check: mqtt->0->password, please check the docs at https://www.home-assistant.io/integrations/mqtt Invalid config for 'mqtt' at configuration.yaml, line 13: 'port' is an invalid option for 'mqtt', check: mqtt->0->port, please check the docs at https://www.home-assistant.io/integrations/mqtt Invalid config for 'mqtt' at configuration.yaml, line 13: 'username' is an invalid option for 'mqtt', check: mqtt->0->username, please check the docs at https://www.home-assistant.io/integrations/mqtt In the file editor I added the configuration code with the Broker IP adress of the Raspberry pie 5 it's running on, and filled in the correct UID. Here is what I filled in: /homeassistant/configuration.yaml mqtt: broker: 192.168.0.25 port: 1883 username: mqtt password: 123 switch: - name: 'output-1' unique_id: output-1 state_topic: 'relay32/582284c1f1ea0c0db02022b1/state' command_topic: 'relay32/582284c1f1ea0c0db02022b1/set' payload_on: '{"relay1":{"on":1}}' payload_off: '{"relay1":{"on":0}}' value_template: '{{ value_json.relay1.on }}' state_on: 1 state_off: 0 .... I installed the Mosquitto broker and the MQTT integration I can't see what Im missing here RE: H32B Pro No integration possible in Home assistant - admin - 10-29-2024 because new home assistant version have use new MQTT syntax. these days when i have free time, make a config sample code for you. RE: H32B Pro No integration possible in Home assistant - kenny H - 10-29-2024 (10-29-2024, 10:22 AM)admin Wrote: because new home assistant version have use new MQTT syntax. these days when i have free time, make a config sample code for you. Okay thank you, looking forward to it ! RE: H32B Pro No integration possible in Home assistant - admin - 10-29-2024 you can see here about "home assistant RC 2022.6 mqtt config update for configuration.yaml": https://www.kincony.com/forum/showthread.php?tid=1998 also you need to delete these from you code: ---------------------------- broker: 192.168.0.25 port: 1883 username: mqtt password: 123 ---------------------------- RE: H32B Pro No integration possible in Home assistant - kenny H - 10-30-2024 I followed your steps, and applied the new mqtt config syntaxx like in te link you provided, and it worked. I also added the binary sensor inputs succesfully. Thank you! RE: H32B Pro No integration possible in Home assistant - admin - 10-30-2024 ok, good. |