ha-blueiris icon indicating copy to clipboard operation
ha-blueiris copied to clipboard

Camera rename, camera component error in HA

Open tylerwatt12 opened this issue 2 years ago • 5 comments

After renaming a camera in BI, the old camera name still shows in the "options for blue iris" page of the BI Integration. I am unable to deselect the old camera name, and unable to change any settings because when I hit save, i get an error:

User input malformed: LivingRoom is not a valid option for dictionary value @ data['allowed_camera']

Where LivingRoom is the old camera name.

I know resetting the plugin would probably fix this, but I wanted to bring it to your attention.

Screen Shot 2022-07-05 at 11 41 07 AM Screen Shot 2022-07-05 at 11 41 17 AM

tylerwatt12 avatar Jul 05 '22 15:07 tylerwatt12

Thanks. I've seen this one myself but haven't tracked it down.

https://github.com/elad-bar/ha-blueiris/issues/157#issuecomment-1063346286

kramttocs avatar Jul 05 '22 15:07 kramttocs

I'm curious what you did? Did you regenerate config files or reinstall the integration? I'm having a similar problem with same error message.

shawnhaywood avatar Jul 26 '22 15:07 shawnhaywood

I am having this issue as well:

I have several groups that were no longer in Blue Iris after a recent crash. I was able to add those back in Blue Iris, but the camera name changes are still there.

The issue seems to be that we're not able to remove "orphaned" items. They show in the line in the config, but not in the drop down.

navydavid avatar Sep 28 '22 13:09 navydavid

I HAVE found a workaround for the issue: The easy way is to delete the integration and start over, but I found that kind of annoying as I've got a lot of automations on them in addition there's a bunch of HA clean up that would have to occur.

The workaround:

  1. I changed one settings and clicked submit. It told me where it was upset. (CameraName) is not a valid entry.
  2. I went into Blue Iris and CREATED that camera, just cloning it of off another camera temporarily.
  3. Restart HA (you can probably just reload integrations)
  4. You'll have to do this process a few times, each time you'll find where the "problem object is" sometimes, it's cause you cloned camera doesn't have an audio feed, so you'll need to enable it. Go back and start over.
  5. Eventually, you'll be allowed to save the config.
  6. THEN you'll to UNMANAGE in HA all the objects you created. (In each section.)
  7. Verify that there's no more issues (you can change something on the fly)
  8. Then delete everything you don't want in Blue Iris.
  9. Then re-validate.

navydavid avatar Sep 28 '22 15:09 navydavid

Thanks. I've seen this one myself but haven't tracked it down.

#157 (comment)

See https://github.com/home-assistant/frontend/issues/10608, which also features a nice workaround (editing /config/.storage/core.config_entries).

peter--s avatar Oct 08 '22 06:10 peter--s

https://github.com/elad-bar/ha-blueiris/releases/tag/v1.0.15

kramttocs avatar Dec 05 '22 07:12 kramttocs