Posts: 33
Threads: 6
Joined: Oct 2021
Reputation:
0
Hello admin
, I'm trying to configure the H32B pro and the kc 868 server to work using the mqtt protocol over wifi in front of home assistants, and it doesn't work when I configure the mqtt over ethernet, it works when I configure the same parameters (server, port, username and password) It doesn't connect on wifi (when I set it up on wifi, I cancel the mqtt on the ethernet)
Posts: 7,642
Threads: 930
Joined: Oct 2020
Reputation:
191
01-01-2025, 10:14 PM
(This post was last modified: 01-01-2025, 10:15 PM by admin.)
1. suggest use ethenret for mqtt. wifi have some limit with home assistant, when the data package large, it will have issue.
2. do you have enabled "esp32 development mode" before using Apple HomeKit firmware for ESP32?
Posts: 7,642
Threads: 930
Joined: Oct 2020
Reputation:
191
if you using H32B Pro controller, use Tuya app work by internet. it use by tuya wifi module. (tuya module not listed in config webpage)
second is use ethernet work mode = MQTT, integrate to home assistant.
So that can work with internet and local network at the same time. you NOT need to use esp32 wifi module.
Posts: 7,642
Threads: 930
Joined: Oct 2020
Reputation:
191
i don't know your system structure. KC868-Server also can integrate to home assistant by MQTT using "Ethernet". we never suggest to use wifi.
Posts: 33
Threads: 6
Joined: Oct 2021
Reputation:
0
Hello admin
thank you for the answer in addition to this and another one regarding mqtt. You can get an example of a yaml file in Home Assistant. How do you set up a shutter using mqtt when the shutter uses 2 relays one for opening and one for closing
Posts: 7,642
Threads: 930
Joined: Oct 2020
Reputation:
191
shutter not need set by MQTT, just set INTERLOCK group for controller by setting webpage. so that let two relay will not ON at the same time to protect motor.