Zoneminder camera Unique ID

I use zoneminder integration with latest HA (2022.11.1)
The configuration.yaml:

zoneminder:
  - host: xxx.xxx.xx.xxx
    path: /zm/
    path_zms: /zm/cgi-bin/nph-zms
    username: !secret zoneminder_user
    password: !secret password
    ssl: true
    verify_ssl: false

camera:
  - platform: zoneminder

In the dashboard I get this message:
This entity (‘camera.zzz’) does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.

How can I solve it?

1 Like

Hello, I’m new to Home-assistant and I’m having the same exact problem as you, have you been able to solve it?.


The link that is given by the message has a section that reads:

In case your entity has no unique ID and therefore cannot be changed through the UI, there are some manual customization options directly through YAML files.

And that article in the link seems to cover how to setup some attributes via the YAML config but it doesn’t show unique IDs in the examples. My config is very similar to yours and it also doesn’t explicitly include any camera, so I’m not sure how would that even work.

I couldn’t solve it.
I use an alternative solution. Here is how I solved it.