Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting Started with H32B Pro
#3
(09-30-2023, 11:26 PM)admin Wrote: sorry, i don't understand your question. which model board you are using? what software you want use by wifi?  do you want integrate to home assistant by MQTT via wifi?

Okay, the board I'm trying to use i H32B Pro and software is Home Assistant.  I'm trying to integrate the board via MQTT, but I'm getting this error.


Configuration invalid!
Invalid config for [mqtt]: The 'broker' option near /config/configuration.yaml:16 has been removed, please remove it from your configuration @ data['mqtt'][0]. Got None. (See /config/configuration.yaml, line 16).

I have put the following lines in the configuration.yaml file.

mqtt:

  broker: 192.168.1.150
  port: 1883
  username: ******
  password: '*******'

  switch:
    - platform: mqtt
      name: ‘relay32B-1’
      unique_id: relay32B-1
      state_topic: ‘relay32/4b734209672e642732529f28/state’
      command_topic: ‘relay32/4b734209672e642732529f28/set’
      payload_on: ‘{“relay1”:{“on”:1}}’
      payload_off: ‘{“relay1”:{“on”:0}}’
      value_template: ‘{{ value_json.relay1.on }}’
      state_on: 1
      state_off: 0
Reply


Messages In This Thread
Getting Started with H32B Pro - by dharma - 09-30-2023, 09:16 AM
RE: Getting Started with H32B Pro - by admin - 09-30-2023, 11:26 PM
RE: Getting Started with H32B Pro - by dharma - 10-03-2023, 12:17 PM
RE: Getting Started with H32B Pro - by admin - 10-03-2023, 01:10 PM
RE: Getting Started with H32B Pro - by dharma - 10-03-2023, 04:56 PM
RE: Getting Started with H32B Pro - by admin - 10-03-2023, 10:55 PM
RE: Getting Started with H32B Pro - by dharma - 10-04-2023, 02:59 AM
RE: Getting Started with H32B Pro - by admin - 10-05-2023, 12:27 AM
RE: Getting Started with H32B Pro - by dharma - 10-05-2023, 01:21 AM
RE: Getting Started with H32B Pro - by admin - 10-05-2023, 01:22 AM

Forum Jump:


Users browsing this thread: