-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration keeps appending "_2" to the end of the entities #149
Comments
Hey @PMaxx-Gaming , |
I've been using the integration for a year or so, and it's been happening for at least the past few months, I'm not really sure though. I haven't changed anything and can't figure out what seems to be causing it; I haven't had any issues with BI itself, just this integration. |
Thanks. I am not sure what would cause this but I'll look at how the entities are created and maybe something will stand out. Odd that I haven't seen it and I've been poking around with the integration pretty heavy the past couple of weeks. |
Looks similar to #111 |
Will do. It seems to just happen randomly; sometimes restarting HA and then reloading the integration gets the feeds back on my dashboard, but I've had to reinstall the integration to get them back in the past. I just noticed the duplicates yesterday and realized that's why they weren't showing on my dashboard when this issue would pop up (because the working cameras had "_2" on the name, and my dashboard feeds did not). |
Yes, that looks like the same issue |
Oddly enough I noticed this happened to me this evening. Will keep looking at this one as that is pretty annoying especially if one sets the BI profile as part of their HA alarm system. |
I did a little digging this morning and noticed that I had "Stream not found" errors twice in my HA logs last night and at some point lost all of my camera feeds due to the duplicate issue. I checked my BI logs and roughly 60 seconds before the stream errors in HA my Blue Iris logs say "APP - Restarted after unexpected shutdown". This happened both times I had errors in HA |
Also, I just noticed the duplicate ("_2") streams have a different session ID and access token from the previously working streams (the ones without "_2"). |
Good info. I added some logging to my test build last night but of course mine didn't show the issue. You are seeing the BI log message about the unexpected shutdown in the BI Status > Logs window? |
Status > Messages > Open File (I have log to file enabled) |
I've been having same issue for a while now. Any help would be grateful. If i can assist with anything let me know thanls |
Hey Paul, |
Thanks for speedy reply I will try recreate issue today. i thought it was every time i restarted HA, like after updates etc, but not so sure now after a couple of forced restarts today. i have totally re installed blueiris components in HACS/HA this morning to see if this makes any difference. Paul Belfast |
Hey Paul, Do note that this has the changes from 1.0.11 (released today) in it which has an important note about the integration/server name. Thanks! |
Hi Kramttocs Done that this morning, After re-installing everything from scratch yestermorning, i couldn't reproduce error. I tried many HA restarts but still couldn't get it to rename entities. dunno if it was cause i re-setup hacs and integrations. Ill keep you upto date with how this performs with new files installed. Again thanks for your time!! paul |
I ended up having to reinstall the integration last night because all of my BI entities suddenly became unavailable, and no matter how many times I reloaded the integration and restarted Home Assistant, I couldn't get my Blue Iris entities to work |
Didn't happen to get a log, did you? Someone else reported similar so am concerned there is something going on with the changes in 1.0.11. |
I didn't, sorry. It was right before I went to sleep, but it happened before I installed the new update.
|
OK, keep me updated. 1.0.11 wasn't supposed to be a breaking change that required a reinstall. |
My logs keep filling up with "Stream not found" errors and when I look at my entities in developer tools I'll see that all of my cameras have duplicate entities with the original one not working and the duplicate (with "_2" appended to the name) being tied to the integration.
This forces me to restart HA, reload the integration and then rename all of my cameras to remove the "_2" from the entity.
This happens more than once per day.
The text was updated successfully, but these errors were encountered: