Zoneminder integration with Home Assistant [Solved]

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
pankaj13
Posts: 15
Joined: Fri Apr 24, 2020 12:57 am

Zoneminder integration with Home Assistant [Solved]

Post by pankaj13 »

Hi,
I have a Zoneminder (1.34) running and able to configure two cameras in it and can see live stream as well as record videos. I’d like to integrate Zoneminder with HA and added following items to my configuration.yaml.

Code: Select all

zoneminder:
  - host: !secret zoneminder_host
    ssl: true
    verify_ssl: false
    username: !secret zoneminder_username
    password: !secret zoneminder_password

camera:
  - platform: zoneminder
After restarting, I see only a sensor for the Zoneminder and no signs of cameras.
Please advise where to look for signs of trouble as logs seems clean and show no error.

If anyone here has experience of integrating Zoneminder with Home Assistant please help me troubleshoot.
Thanks,
Last edited by pankaj13 on Fri Sep 04, 2020 7:36 am, edited 1 time in total.
pankaj13
Posts: 15
Joined: Fri Apr 24, 2020 12:57 am

Re: Zoneminder integration with Home Assistant

Post by pankaj13 »

My ZM install is on a VM with Ubuntu 20.04 and ZM version 1.34, I tried another one with Ubuntu 18.04 and ZM 1.32. The configuration above works like a charm so solved the problem for now :D
pankaj13
Posts: 15
Joined: Fri Apr 24, 2020 12:57 am

Re: Zoneminder integration with Home Assistant [Solved]

Post by pankaj13 »

My bad, I forgot to update/close this thread :oops:
The issue was likely due to upgrading from 1.32 to 1.34 version, I did a fresh 1.34x install and everything worked fine.

Here is a snapshot of my configuration of ZM in Home Assistant.

Code: Select all

zoneminder:
  - host: !secret zm_host
    ssl: true
    verify_ssl: false
    username: !secret zm_username
    password: !secret zm_password
switch:
  - platform: zoneminder
    command_on: Modect
    command_off: Monitor
sensor:
  - platform: zoneminder
    include_archived: true
    monitored_conditions: hour
camera:
  - platform: zoneminder
Post Reply