I have a propritary system called ZenseHome around in the house, all wall lightswitches and outlets are ZenseHome and several ceiling outlets too.

At some point, ZenseHome added MQTT support for their system, so I created this:

Solution 1

Solution1

Pressing the Switch send a signal over 220V cable to the ZenseHome box, that post a message on a MQTT Tpoic, that Home Assistent picks up, and sends a toogle to the Hue Brige, that informs the Lamp over ZigBee..

Worked ok (smile)


Solution 2

Later I introduced Node-RED:

Solution2

Worked pretty well.


This we started seeing som smaller periods, where the light would not work for some 1 minute... I was thinking that Node-RED or Home Assistant may be hanging due to Ressouces on the Laptop running it.

Solution 3

So I simplified - at this time ZenseHome has introduced Philips Hue support:

Solution3

Strangely, this solution did not work very well, besides the hanging times, from pressing a switch until the light toogle took like 1-2 seconds, and on several switches we had to press several times...

So I am back to the solution with Node-RED.


Conclusion

My kind of conclosion is that the Hue interface in the ZenseBox is not working well, but that seems somewhat "farfetched" ...

Some of the "hanging" can for sure be pinpoint to the fact that the ZenseHome switches are + 10 years old - but there stille a significantl improvement using ZenseHome MQTT going aound the Home Assistant (Nore-RED) path.


Another option that I not have tested, i using the Hue palette (Plug in) for Node-RED.