this post was submitted on 13 Jun 2023
23 points (100.0% liked)
homeassistant
12045 readers
10 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Awesome, thanks. That's a great starting point.
Also, it'll be nice to free up some wifi spectrum. My devices are all on an isolated 2.4 GHz network and that band gets quite noisy.
If you have an mqtt server running already, you may want to check out zigbee2mqtt as an alternative to ZHA. Here's the supported adapters list, most of them are USB dongles that you'll have to plug into your home assistant machine.
Yeah, that's probably the direction I'm going to start looking. Pretty much every device I run uses MQTT to communicate with HA, including some custom buttons I keep around the house.
The only sticking point is going to be reconfiguring my HA server to speak to a USB device. It's currently Dockerized, and I've got little experience passing through USB devices that aren't serial adapters. Not a deal breaker, but definitely a speedbump.
I've tried a few different USB zigbee coordinators, but the one I ended up sticking with is the 2652 based coordinator from tubeszb that is Ethernet or USB. I had issues with the USB passthrough to the vm whenever I had to restart the vm, so using that one over Ethernet fixed all my issues.
Yeah, ethernet would be my preferred bridging mechanism. Thanks for the recommendation. Will look into some bridges from TubesZB.
Passing through a USB device might be as easy as adding
--device /dev/your/usb/device
to yourdocker run
command-line, first making sure the permissions on that device are such that they can be read by the container. (Or use thedevices:
equivalent if you're using Compose.)