News for hackers. Stuff that matters.
Re:How I wrote my own Smart Home software by vincnetas on Monday June 05, 2023 @01:36AM (#36192745)
If looking for lightweight solution with zigbee (usb dongle) one can also take a look at Zigbee2MQTT [0]. This library is used by HomeAssistant under the hood, but it can be used independently as a standalone app and let one interact with zigbee devices using MQTT json messages. And it supports a lot of devices : "Currently 2971 devices are supported from 379 different vendors"

[0] https://www.zigbee2mqtt.io

Re:How I wrote my own Smart Home software by dementik on Monday June 05, 2023 @01:55AM (#36192871)
I think HA is using ZHA under the hood for Zigbee communications.
Re:How I wrote my own Smart Home software by vincnetas on Monday June 05, 2023 @02:40AM (#36193159)
My mistake, zigbee2mqtt is one off third party options to add zigbee to HA. But still, quite nice project.
Re:How I wrote my own Smart Home software by dementik on Monday June 05, 2023 @07:27AM (#36194882)
Yep, Z2M seems to be very reliable way to handle zigbee devices. Also it feels little more vendor-lock free (considering HA as vendor here).
Re:How I wrote my own Smart Home software by babas on Monday June 05, 2023 @02:34AM (#36193130)
It can use both. ZHA is included in base HA. Z2M is an optional addon. Z2M has better support for obscure devices in my experience. I Also strongly prefer the management interface in z2m.