Home Assistant : Q&A, Tips & Tricks, Your Configs

gbyleveldt

Expert Member
Joined
Apr 30, 2009
Messages
1,579
It is supposed to be 10m at least but it depends on your coordinator as well, and then line of sight, walls, wifi etc.

I ended up having a couple of sonoff ZBR3's around the place and have coverage over a fairly big area in my house.
Man, I didn't even think of using the ZBR3 as a repeater. They cheap as well; I'll grab some of those if I still have issues
 

gbyleveldt

Expert Member
Joined
Apr 30, 2009
Messages
1,579
ZHA, I don't think you can use zigbee2mqtt as the sonoff bridge uses wifi to connect.
Just FYI. I got the ZBBridge this afternoon and couldn't help myself. I flashed it with Tasmota and the Zigbee chip update and used it with zigbee2mqtt without issue. Zigbee2mqtt has an option to set the link to a TCP port as opposed to a serial port.

This is miles better than using the cheap CC2531 dongle that I used before and I'm glad I was forced to since I moved HA into a VM (and didn't want to expose USB ports on the host). I'll check how reliable it works and add a repeater or two if required
 

MidnightZA

Expert Member
Joined
Mar 9, 2013
Messages
2,452
Just FYI. I got the ZBBridge this afternoon and couldn't help myself. I flashed it with Tasmota and the Zigbee chip update and used it with zigbee2mqtt without issue. Zigbee2mqtt has an option to set the link to a TCP port as opposed to a serial port.

This is miles better than using the cheap CC2531 dongle that I used before and I'm glad I was forced to since I moved HA into a VM (and didn't want to expose USB ports on the host). I'll check how reliable it works and add a repeater or two if required

Apparently you can use the CC2531 as a repeater. Can you test that perhaps?
 

gbyleveldt

Expert Member
Joined
Apr 30, 2009
Messages
1,579
Apparently you can use the CC2531 as a repeater. Can you test that perhaps?
Yessir, I have two CC2531’s; one I used as a coordinator and the other as repeater/router. So it does work as a repeater if you flashed it that way. With the upgrade to the ZBBridge it would appear I don’t need one anymore for my current setup. I do, however, have a few more zigbee devices inbound so will use the repeater again if needed.
 

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
12,478
Just FYI. I got the ZBBridge this afternoon and couldn't help myself. I flashed it with Tasmota and the Zigbee chip update and used it with zigbee2mqtt without issue. Zigbee2mqtt has an option to set the link to a TCP port as opposed to a serial port.

This is miles better than using the cheap CC2531 dongle that I used before and I'm glad I was forced to since I moved HA into a VM (and didn't want to expose USB ports on the host). I'll check how reliable it works and add a repeater or two if required
Thank you for this.

I was using zigbee2tasmota mostly and it is rock solid stable for devices that work...but it is annoying. Since I built rules to automatically add devices into HA it was great but...sometimes when I replace a battery I need to pair again and then the device comes in with a new name and I have to manually fix the mess in HA.

It actually looks like zigbee2mqtt might just be more stable and closer to what I want when I moved away from ZHA.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
Finally... ordered from banggood on the 11th Aug, shipped 19th and got the sms this morning.
Buffalo Intl Logistics will be delivering a parcel to you today. Thank You for using Buffalo.
Not bad I would say.
 

Veroland

Executive Member
Joined
Aug 24, 2005
Messages
6,304
Just FYI. I got the ZBBridge this afternoon and couldn't help myself. I flashed it with Tasmota and the Zigbee chip update and used it with zigbee2mqtt without issue. Zigbee2mqtt has an option to set the link to a TCP port as opposed to a serial port.

This is miles better than using the cheap CC2531 dongle that I used before and I'm glad I was forced to since I moved HA into a VM (and didn't want to expose USB ports on the host). I'll check how reliable it works and add a repeater or two if required
Great! Thanks for this.

So far in my opinion ZHA seems to handle the mesh better than zigbee2mqtt, or is it maybe the bridge?

When I was running zigebee2mqtt if I added a device to a repeater it stayed connected to that repeater but now with ZHA if will connect to the best one or multiple ones after a while.
 

gbyleveldt

Expert Member
Joined
Apr 30, 2009
Messages
1,579
Thank you for this.

I was using zigbee2tasmota mostly and it is rock solid stable for devices that work...but it is annoying. Since I built rules to automatically add devices into HA it was great but...sometimes when I replace a battery I need to pair again and then the device comes in with a new name and I have to manually fix the mess in HA.

It actually looks like zigbee2mqtt might just be more stable and closer to what I want when I moved away from ZHA.
I also moved away from ZHA when I added the ZBBridge yesterday. What I really like about zigbee2mqtt is the fact that I can specify the zigbee channel it’s supposed to use. I was concerned to have zigbee and WiFi channels close together in the case of the ZBBridge.
 

furpile

Expert Member
Joined
Jul 14, 2014
Messages
4,283
Finally... ordered from banggood on the 11th Aug, shipped 19th and got the sms this morning.

Not bad I would say.
Lucky. I ordered on 9 August and it still shows as cleared. Seems to be a bunch of people here with stuff in the same shipment waiting for it to clear.
 

gbyleveldt

Expert Member
Joined
Apr 30, 2009
Messages
1,579
Great! Thanks for this.

So far in my opinion ZHA seems to handle the mesh better than zigbee2mqtt, or is it maybe the bridge?

When I was running zigebee2mqtt if I added a device to a repeater it stayed connected to that repeater but now with ZHA if will connect to the best one or multiple ones after a while.
It’ll be interesting to verify that. I’m not meshing at the moment but plan to do so once I get more zigbee stuff
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
Lucky. I ordered on 9 August and it still shows as cleared. Seems to be a bunch of people here with stuff in the same shipment waiting for it to clear.
Have a look at the order, seems for mine that they didn't have stock and was showing that it will only ship when stock as arrived. There should be a date in orange if I remember correctly.
 

furpile

Expert Member
Joined
Jul 14, 2014
Messages
4,283
Have a look at the order, seems for mine that they didn't have stock and was showing that it will only ship when stock as arrived. There should be a date in orange if I remember correctly.
The order was shipped, and I paid the customs fee. But it seems the whole shipment is waiting for somebody else to pay their tax so that it can be cleared. There is a Buffalo thread where a few people have this issue that ordered on the same date.

 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
The order was shipped, and I paid the customs fee. But it seems the whole shipment is waiting for somebody else to pay their tax so that it can be cleared. There is a Buffalo thread where a few people have this issue that ordered on the same date.

Eish.. good luck.
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
I'm about to lose it.

How the hell do I access the bind mount location for something like the Plex docker running inside Hass.io?

I want to migrate my other install to the Plex add-on but cannot for the life of me figure out where on the system it lives.
 

gbyleveldt

Expert Member
Joined
Apr 30, 2009
Messages
1,579
How you running your HA instance? In a VM somewhere? I never tried the Plex addon in HA, I run it on a dedicated media VM with a few other things like Deluge and Spotify and then mount a directory inside that VM to an SMB share. This was the least painful method for me.
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
How you running your HA instance? In a VM somewhere? I never tried the Plex addon in HA, I run it on a dedicated media VM with a few other things like Deluge and Spotify and then mount a directory inside that VM to an SMB share. This was the least painful method for me.

Recently moved it to a Chromebox.

Because of the I7 in there I figured it would be a good idea to run Plex off there for the extra horsepower compared to my very old and struggling HP Microserver N36L running UnRAID.

Problem is you seem to have no access to the Docker bind mounting folders so doing the migration is an issue and I really don't want to start fresh.

Once I can figure that out I'd do an SMB/CIFS mount to the NAS which I see is now supported in HA natively.
 

gbyleveldt

Expert Member
Joined
Apr 30, 2009
Messages
1,579
Recently moved it to a Chromebox.

Because of the I7 in there I figured it would be a good idea to run Plex off there for the extra horsepower compared to my very old and struggling HP Microserver N36L running UnRAID.

Problem is you seem to have no access to the Docker bind mounting folders so doing the migration is an issue and I really don't want to start fresh.

Once I can figure that out I'd do an SMB/CIFS mount to the NAS which I see is now supported in HA natively.
Not sure if your issue is the same I had. I'm running a few VMs on Truenas and the issue I had was that the VMs couldn't see the Truenas host storage. I have multiple nics on my host, so I just binded a spare nic to the VM running Plex, plugged that nic into the switch as well and managed to access the host storage that way. It's not elegant but it works. There's a way to do that with binding the VM nics to the host nic and get access that way, but I couldn't get it to work. I suspect your issue is similar.
 

w1tw0lf

Expert Member
Joined
Sep 29, 2009
Messages
1,192
Recently moved it to a Chromebox.

Because of the I7 in there I figured it would be a good idea to run Plex off there for the extra horsepower compared to my very old and struggling HP Microserver N36L running UnRAID.

Problem is you seem to have no access to the Docker bind mounting folders so doing the migration is an issue and I really don't want to start fresh.

Once I can figure that out I'd do an SMB/CIFS mount to the NAS which I see is now supported in HA natively.

Can you not mount a nfs share to a folder on the host that can be accessed via the plex addon ? Would suggest not in config folder as it might get backed up when doing a snapshot.

From looking at what mounts in the plex add on, you should be able to mount a nfs share to a folder in "/usr/share/hassio/media". Which is mounted as the media folder for the plex add on.

Doing it on the server I use for downloads, but modify the docker container to access the folder.
 

SauRoNZA

Honorary Master
Joined
Jul 6, 2010
Messages
47,848
Not sure if your issue is the same I had. I'm running a few VMs on Truenas and the issue I had was that the VMs couldn't see the Truenas host storage. I have multiple nics on my host, so I just binded a spare nic to the VM running Plex, plugged that nic into the switch as well and managed to access the host storage that way. It's not elegant but it works. There's a way to do that with binding the VM nics to the host nic and get access that way, but I couldn't get it to work. I suspect your issue is similar.

No nothing like that.

This is purely related to the containers running in HA and how they are managed with privileges to secure the host system.
 
Top