Closed pbvdven closed 1 year ago
All the things you tried are what should be suggested, at the end of the day it is going to come down to some hardware issue somewhere.
I never had an interference issue or power issue with my server, as long the coral and conbee were away from each other.
also you'd want to use the shielded usb cable with the conbee not with the coral (after all, the conbee is the device that you want shielded from the interference.
both are on shielded extension cables now both on opposite sides of the room and still having same issues it did not get any better.
i didn't believe i have power issues i use dell poweredge t150. i just tried the powered usb hub because yea if you ask advice you should try whats suggested if reasonable of course.
the zigbee network works fine with every other usb device bluetooth and zwave-stick only not with the coral. i dropped the z-wave and bluetooth because i didnt use them. so now only devices plugged in are coral and conbee stick and aslong as frigate is not running it works fine the coral can be plugged in then there is no problem but if i start frigate container it stops working not everything on zigbee but mostly all or with delays.
in that case, maybe the USB controller on the host is not fast enough to handle both devices and is getting some message interference. Have you seen if all the usb ports on the host are run by the same controller? Trying different ports that belong to different controllers would be a good thing to try.
that i also tried one on dev/usb/001/002 and the other on dev/usb/002/004 i dont know for sure but i assume that means different controllers
/001/ and /002/ should mean different controllers. Not really sure then, what powered hub configurations did you try? Have you tried coral on the device directly and the zigbee on the hub?
yes i tried different combination coral on the hub conbee on the hub same controller different controller coral directly conbee on the hub.
but that could be a thing i didn't think of that. i didn't setup anything special on frigate side so i have 8 cameras all person detection and one coral maybe its to heavy?
all that would do is affect the coral, for example the coral would cut out and frigate would stop. anything affecting another hardware device / service is going to be either a hardware or OS issue.
The conbee is also a USB 2 device I believe, have you plugged it into a USB 2 port?
yes conbee is USB2 and on a USB 2 port. i just now tried the usb3 instead of usb2 cable because its better quality on USB2 port for the conbee and coral plugged in the pc without extension. im now checking how thats going
where is the powered hub in that mix?
not using it i try now with because it down already
i didn't use powered hub yet because its working for the moment frigate is running and lights still go on and off door senors work but that is the case sometimes after reboot of frigate. but i have hope so lets wait a little and see maybe that better quality usb3 extension on the conbee did the trick. thanks for helping
ok it failed again i waited a while before i send that it works but the hole evening it stopt almost directly so this seems to be better but it failed now lights wont go of and remotes dont react. ill put the powered hub between the pc and conbee now
I would suggest doing more than just trying and seeing how the lights work, odds are your zigbee software has logs which explain why a failure happened and may give helpful info
yes ill try if i can find some readable logs from zha
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I am having this same issue using a coral m.2 card, with a nortek zigbee/zwave controller. When frigate is running zwave devices get disconnected and i cannot re-interview devices. Once Frigate is shutdown i can re-interview devices flawlessly.
I have homeassistant running both Frigate and ZWaveJS in a VM with 6cores 12threads, 8GB of Ram. This didnt seem to be an issue when I only had 3 Cameras Running through Frigate, I now have 7 Cameras. Cpu Usage hovers around 40% with frigate. Personally I am leaning towards it being a cpu issue as the source from the cameras are all 4k, and the detection runs at 720p so downscaling is required.
I am having this same issue using a coral m.2 card, with a nortek zigbee/zwave controller.
When frigate is running zwave devices get disconnected and i cannot re-interview devices. Once Frigate is shutdown i can re-interview devices flawlessly.
I have homeassistant running both Frigate and ZWaveJS in a VM with 6cores 12threads, 8GB of Ram.
This didnt seem to be an issue when I only had 3 Cameras Running through Frigate, I now have 7 Cameras.
Cpu Usage hovers around 40% with frigate. Personally I am leaning towards it being a cpu issue as the source from the cameras are all 4k, and the detection runs at 720p so downscaling is required.
As far as cpu usage goes, yes resizing is a problem. It will work better in 0.12 when you use ffmpeg presets for hardware acceleration
I am having this same issue using a coral m.2 card, with a nortek zigbee/zwave controller.
When frigate is running zwave devices get disconnected and i cannot re-interview devices. Once Frigate is shutdown i can re-interview devices flawlessly.
I have homeassistant running both Frigate and ZWaveJS in a VM with 6cores 12threads, 8GB of Ram.
This didnt seem to be an issue when I only had 3 Cameras Running through Frigate, I now have 7 Cameras.
Cpu Usage hovers around 40% with frigate. Personally I am leaning towards it being a cpu issue as the source from the cameras are all 4k, and the detection runs at 720p so downscaling is required.
As far as cpu usage goes, yes resizing is a problem. It will work better in 0.12 when you use ffmpeg presets for hardware acceleration
Im using 0.12 for about a week now and the issue i had with the conbee2 and usb coral seems fixed. My zigbee network stays stable for now even after several reboots from frigate or the host. The cpu runs a lot lower also on 0.12. Im also using NVidia. But didn't changed anything 0.11 had i issues a lot some times it was stable for few days but eventually i would fail. Really hoping this issue is fixed with 0.12 looks like it for now🥳
I did some further testing I moved to frigate 0.12, with 5-4K camera streams and 2-2K camera streams Frigate pushes the homeassistant to 30-35% cpu load for the ffmpeg process. When we're at all those streams zwave devices hop off the mesh and cannot be pinged. As soon as frigate is stopped they work instantly. When testing with 1-4K camera stream it all runs fine (~5% cpu), with all 7 cameras using their substreams for detection (480p - highest substream option), it all runs fine as well ( ~7% cpu)
I currently do not have a gpu for hardware acceleration but have a Ryzen 7 3800x powering the system.
At least in my case i do not believe its a frigate issue, its more likely some issue with either my virtualization or home assistant's ability to handle zwave when cpu load is higher. I will probably do some more testing to try and narrow it down.
I am having this same issue using a coral m.2 card, with a nortek zigbee/zwave controller.
When frigate is running zwave devices get disconnected and i cannot re-interview devices. Once Frigate is shutdown i can re-interview devices flawlessly.
I have homeassistant running both Frigate and ZWaveJS in a VM with 6cores 12threads, 8GB of Ram.
This didnt seem to be an issue when I only had 3 Cameras Running through Frigate, I now have 7 Cameras.
Cpu Usage hovers around 40% with frigate. Personally I am leaning towards it being a cpu issue as the source from the cameras are all 4k, and the detection runs at 720p so downscaling is required.
As far as cpu usage goes, yes resizing is a problem. It will work better in 0.12 when you use ffmpeg presets for hardware acceleration
Im using 0.12 for about a week now and the issue i had with the conbee2 and usb coral seems fixed. My zigbee network stays stable for now even after several reboots from frigate or the host. The cpu runs a lot lower also on 0.12. Im also using NVidia. But didn't changed anything 0.11 had i issues a lot some times it was stable for few days but eventually i would fail. Really hoping this issue is fixed with 0.12 looks like it for now🥳
This morning i had the issues with 0.12 the zigbee network became unreliable again. I don't really know how i can identify the problemen but i believe it has something to do with the cpu instead of interference with the coral.
I use a dell t3630 Intel Xeon E3-1240 V5 4-CORE 3.5Ghz 32gb with nvidia k620 and usb coral.
Debian 11 with home assistant supervised and running frigate in docker not as addon.
I never had issues before I started using frigate. I also had plex on it but moved it before starting with frigate to my windows server but with plex the cpu got much higher then with frigate and then I didn't had these issues. Maybe this is not all related but i really have no clue where to start looking to identify the problem. Maybe someone could point me in the right direction?
i moved my frigate to another pc its next to the one with home assistant installed. but still i have the same issues when frigate is running eventually my zigbee network goes down when i stop the container it almost works instantly even when frigate is on the other machine. i stopt the ha integration then the problem still exist i disabled mqtt in frigate and stopt the addon in home assistant and still no change. but when i stop the frigate container on the other machine it starts working again. so the problem is probably interference but i already use a 3m shielded extension for my zigbee stick. so im out of options please some help i cant be the only one with this issue?
2 years late - I ended up in exactly the same scenario as OP. Zigbee network (Conbee II coordinator) working perfectly for years. I've added a coral TPU to the frigate instance and in the moment I started Frigate the zigbee network died. I went through a lot of troubleshooting and the final conclusion is a problematic internal USB hub when one device shifts the hib in USB 3.0 mode while the conbee adapter still tried some USB2.0 protocol (on a legacy NUC unit). By putting a USB 2.0 HUB in between the USB3.0port of the computer and the Conbee II coordinator all problem are gone, everything works perfect again.
Just wanted to share my experience.
Well same here. I have wifi cameras so I never thought of any other issue than interference. I tried setting all wifi router to channel 1 or 6 and set conbii channel to 24. The network became a bit better but still not fully functional. My hardware is a mac mini i5 flashed into Ubuntu running HA and Frigate in docker-compose.
Describe the problem you are having
frigate breaks my zha conbee network
Im running home assistant supervised latest version all worked great i used blueiris in the past no issues at all. never even looked at my home assistant zigbee network i had conbee directly plugged in to usb3 with 80 devices no issues.
now i switched to frigate with coral usb it works great but the moment i start frigate my zigbee network starts to fail sometimes it takes a moment but then door sensors wont report lights cant be turned on or off. this is from the moment i stated with frigate at first i didn't know so i rebooted started checking zha sometimes after reboot it worked for day or 2 and then started again. so i bought new usb extension for my conbee a usb powered hub because someone suggested that could be the issue. i switchend usb ports. nothing would help.
i found out that frigate or the usb coral creates the issue because as soon as i stop frigate container my zigbee network works flawless again. now with this new info i googled and someone suggested it has to do with interference of usb3 or the coral and i should create a greater distance between the two. so i bought new quality shielded cables usb 3 extension for the coral so now i have coral on usb 3 with extension 3m one side of the room then conbee 2 on extension usb2 3m other side of the room. it feels kinda stupid haha and does not work because still as soon as i start frigate home assistant zha zigbee network start to fail when i stop frigate all works fine again. ow yes someone said the coral produces a lot of noise so i wrapped it in tin foil and of course no luck so im out of ideas and hoping someone as a solution.
Version
frigate:0.11.1
Frigate config file
docker-compose file or Docker CLI command
Relevant log output
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Any other information that may be helpful
No response