Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT over wifi not work
#1
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)
Reply
#2
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?
Reply
#3
(01-01-2025, 10:14 PM)admin Wrote: 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?

1.I use the Internet to work in the following way that you recommended:
https://youtu.be/UumHtpZiURY
in basic mode so as not to depend on a server or an application or in the case of Home Assistant server failure
if there is a way to work in this mode and also receive feedback to the home assistance server I would love to understand how
2.I did not install Apple Home Kit. Is it required to work with mqtt and Home Assistant?
Reply
#4
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.
Reply
#5
(01-02-2025, 11:24 AM)admin Wrote: 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.

But I also have the kc 868 server and it doesn't support tuya so I have another 16 relays that I will have a problem with
Reply
#6
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.
Reply
#7
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
Reply
#8
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.
Reply
#9
(01-05-2025, 01:02 AM)admin Wrote: 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.

I did this, but how do I reflect and control the shutter using Home Assistant so that it can be opened and closed and also allow opening or closing according to percentages
Reply
#10
use delay time.
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)