elad-bar / ha-blueiris

Integration with Blue Iris Video Security Software
184 stars 43 forks source link

Area Info Gets Deleted on Reload or Restart #182

Open DarthBill13 opened 2 years ago

DarthBill13 commented 2 years ago

Upon integration reload or Home Assistant restart, all devices that have ben assigned to an area, lose their area information. If the information is manually entered, it gets deleted upon the next load of the integration. Area field is essential but not critical for using Dwain's Dashboard.

NetropyGit commented 2 years ago

Have seen the same.

CobraDunn commented 2 years ago

It looks like mutiple things get reset at restart. Any entities hidden or disabled also come back to life on restart.

kramttocs commented 1 year ago

I just gave all of my cameras (15) areas in HA. I've restarted once and they remained but will keep an eye on it.

Similar behavior has been reported but so far no pattern or way to reproduce has been identified.

CenterNZ commented 1 year ago

I also have this issue on restarts.

kramttocs commented 1 year ago

Just checked and mine have also disappeared. No doubt this has to do with the fact that the entities get deleted and recreated often. I suspect this is the cause of a lot of issues. Would like to rework that whole logic.

keithfree commented 1 year ago

+1 same here.

While you can't specify the area in customize.yaml, I have been using this approach to force the names of the BI entities that are created by the addon so those too don't need to be re-config'd when this issue pops up.

TRusselo commented 1 year ago

i would love a fix for this issue.

this is annoying image

kmccor commented 1 year ago

+1 Fresh install of HA this week and this has happened twice now. Not sure of the trigger so I've enabled debug on the integration and will feed back anything that seems useful.

TRusselo commented 1 year ago

I really wish that the dev would acknowledge that this is a known issue. And / or if there will never be a fix, please just say so. So I can remove these cards from my home assistant dashboard, instead of waiting for a fix

kramttocs commented 1 year ago

@TRusselo I've marked this as a bug. I also mentioned previously:

No doubt this has to do with the fact that the entities get deleted and recreated often. I suspect this is the cause of a lot of issues.

The original developer no longer uses BI so I try to fix/add things when I am able and have free time. Sadly, I do not have free time right now due to "life".

I am sure there is a reason for why the entities get recreated often but I do not know what it is so until I have the time to fully understand it, I am hesitant to make big changes there. Who knows, it hopefully will be as simple as checking to see if Entity X exists and skipping over it.

I welcome any PRs, thoughts, or replication steps on this project. It's a key part of my security system and I'd love to see it grow.

TRusselo commented 1 year ago

@TRusselo I've marked this as a bug. I also mentioned previously:

No doubt this has to do with the fact that the entities get deleted and recreated often. I suspect this is the cause of a lot of issues.

The original developer no longer uses BI so I try to fix/add things when I am able and have free time. Sadly, I do not have free time right now due to "life".

I am sure there is a reason for why the entities get recreated often but I do not know what it is so until I have the time to fully understand it, I am hesitant to make big changes there. Who knows, it hopefully will be as simple as checking to see if Entity X exists and skipping over it.

I welcome any PRs, thoughts, or replication steps on this project. It's a key part of my security system and I'd love to see it grow.

thank you for the update. i apologize i did not know you "mentioned previously" anything. it is not in this bug report your last post in this report says they disappeared on you. none, mention you are working on it. There was no way for me to know anything else you said.

but take your time. "life" happens again. thank you for the update