I’ve got HA and Zoneminder talking to each other successfully, but I can’t see any camera images. In Zoneminder, I have a single camera called “dome”. In HA, I see the following entities:
- Binary sensor for Zoneminder
- camera.dome
- sensor.dome_events
- sensor.dome_status
Both dome_events and dome_status have correct values, so I know I’m getting good data from Zoneminder, but all the various Picture cards in the HA UI that I’ve attached to the camera.dome entity just show a broken image and the text “Preview of the dome camera.”
I don’t see any errors in either the HA or Zoneminder logs, just success/status messages.
Should I be using a different kind of UI card to view the camera entity, or should this be working?
Config:
zoneminder:
- host: 192.168.9.26
path: /zm/
path_zms: /zm/cgi-bin/nph-zms
ssl: false
username: <username>
password: <password>
camera:
- platform: zoneminder
sensor:
- platform: zoneminder
include_archived: false
Entries from Zoneminder’s access.log (these repeat every 30 seconds or so):
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:56 -0500] "GET /zm/api/monitors/1.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 2331 "-" "python-requests/2.24.0" "-"rt=0.027 ut=0.027 cs=-
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:56 -0500] "GET /zm/api/monitors/alarm/id:1/command:status.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 14 "-" "python-requests/2.24.0" "-"rt=0.333 ut=0.333 cs=-
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:56 -0500] "GET /zm/api/host/daemonCheck.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 12 "-" "python-requests/2.24.0" "-"rt=0.459 ut=0.459 cs=-
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:56 -0500] "GET /zm/api/monitors/daemonStatus/id:1/daemon:zmc.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 87 "-" "python-requests/2.24.0" "-"rt=0.468 ut=0.468 cs=-
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:56 -0500] "GET /zm/api/events/consoleEvents/100%20year/Archived=:0.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 23 "-" "python-requests/2.24.0" "-"rt=0.020 ut=0.020 cs=-
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:56 -0500] "GET /zm/api/states.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 81 "-" "python-requests/2.24.0" "-"rt=0.015 ut=0.015 cs=-
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:56 -0500] "GET /zm/api/states.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 81 "-" "python-requests/2.24.0" "-"rt=0.016 ut=0.016 cs=-
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:56 -0500] "GET /zm/api/monitors/daemonStatus/id:1/daemon:zmc.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 87 "-" "python-requests/2.24.0" "-"rt=0.472 ut=0.472 cs=-
192.168.9.29 - 192.168.9.26 [22/Sep/2020:18:21:57 -0500] "GET /zm/api/host/daemonCheck.json?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJab25lTWluZGVyIiwiaWF0IjoxNjAwODEyMDg3LCJleHAiOjE2MDA4MTkyODcsInVzZXIiOiJhZG1pbiIsInR5cGUiOiJhY2Nlc3MifQ.I801mAvxeS0TC52VKtwL1hTn_CQo17Ufv8tPsPUD-3o HTTP/1.1" 200 12 "-" "python-requests/2.24.0" "-"rt=0.444 ut=0.444 cs=-