Differences in protocols between H32B and 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: Development (https://www.kincony.com/forum/forumdisplay.php?fid=4) +--- Thread: Differences in protocols between H32B and H32B Pro? (/showthread.php?tid=5428) |
Differences in protocols between H32B and H32B Pro? - lulu01 - 03-30-2024 Hello, I want to use a H32B and a H32B Pro with Home assistant. For the H32B, I used this unofficial integration: https://github.com/fiLLLip/hass-components-sha. It uses the RELAY-SET- and RELAY-READ- commands; you can see the code here https://github.com/fiLLLip/hass-components-sha/blob/master/custom_components/kincony-sha/__init__.py. This works very well. The same code does not work for H32B Pro. Only about 50% of clicks on switches work, and I often get error messages such as 'Failed to call service switch/turn_on. 'NoneType' object has no attribute 'group''. Is this normal? Do the H32B and the H32B Pro use different protocols? I found the page for the protocol used in H32B, is it not supposed to work the same on the Pro? Thank you! RE: Differences in protocols between H32B and H32B Pro? - admin - 03-30-2024 Hello, H32B and H32B Pro have same TCP protocol. But we suggest you use MQTT for H32B Pro is better. MQTT is more stable than TCP. here is how to integrate to home assistant by MQTT: https://www.kincony.com/kc868-h32b-integrate-home-assistant-by-mqtt.html RE: Differences in protocols between H32B and H32B Pro? - lulu01 - 03-31-2024 Thanks for the reply. |