Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
H32B Pro No integration possible in Home assistant
#1
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
   
   
   
   
Reply


Messages In This Thread
H32B Pro No integration possible in Home assistant - by kenny H - 10-29-2024, 02:11 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)