![]() |
Getting Started with H32B Pro - 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: Getting Started with H32B Pro (/showthread.php?tid=3351) |
Getting Started with H32B Pro - dharma - 09-30-2023 I'm trying this video to connect to the PLC via wifi, but do you have a similar video for H32B Pro controller? Basically, I have now connected the controller with 23v 5A DC power supply and trying to get it connected to wifi and then to bring the contoller to my Home Assistant app and take things from there, but I don't see the controller wifi active yet. https://www.youtube.com/watch?v=2AViXMH8yHM RE: Getting Started with H32B Pro - admin - 09-30-2023 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? RE: Getting Started with H32B Pro - dharma - 10-03-2023 (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 RE: Getting Started with H32B Pro - admin - 10-03-2023 This is the new version of config yaml syntax, remove all mqtt broker code in yaml. RE: Getting Started with H32B Pro - dharma - 10-03-2023 (10-03-2023, 01:10 PM)admin Wrote: This is the new version of config yaml syntax, remove all mqtt broker code in yaml. I edited the code to this one. Now, no error and I can see relay32B-1 entity in my Home Assistant now, but it doesn't work - it does not switch the relay. Btw, I can control the relay with Tuya app and also from the relay board webpage, so the board is working well, but still no success integrating it with HA. mqtt: switch: - 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.relay01.on }}’ state_on: 1 state_off: 0 RE: Getting Started with H32B Pro - admin - 10-03-2023 do you have installed mosquito mqtt broker in your home assistant? how you set in your h32b controller's webpage? take a screen photo upload to here. RE: Getting Started with H32B Pro - dharma - 10-04-2023 (10-03-2023, 10:55 PM)admin Wrote: do you have installed mosquito mqtt broker in your home assistant? Okay, here are the screenshots. RE: Getting Started with H32B Pro - admin - 10-05-2023 There is a problem with all your punctuation marks, for example: your lines: payload_on: ‘{“relay1”:{“on”:1}}’ it should be: payload_on: '{"relay1":{"on":1}}' do you see the “ ---> " ‘ ----> ' RE: Getting Started with H32B Pro - dharma - 10-05-2023 (10-05-2023, 12:27 AM)admin Wrote: There is a problem with all your punctuation marks, for example: Yes, that was exactly the issue..... Thanks a lot for resolving this sir. RE: Getting Started with H32B Pro - admin - 10-05-2023 ok |