@khabi
I just installed 0.34.4 and have zoneminder configured as such in configuration.yaml
:
zoneminder:
host: garage
path: /zm/
ssl: False
username: admin
password: secret
…
sensor 6:
platform: zoneminder
Zoneminder is running, and I can see my cameras right now through the control panel. I followed the directions here to authenticate using curl and get the cookie file, and am able to get the JSON back from monitor 1 as you recommended above:
{
"monitor": {
"Monitor": {
"Id": "1",
"Name": "Back",
"ServerId": "0",
"Type": "Ffmpeg",
"Function": "Monitor",
"Enabled": "1",
"LinkedMonitors": "",
"Triggers": "",
"Device": "\/dev\/video0",
"Channel": "0",
"Format": "255",
"V4LMultiBuffer": false,
"V4LCapturesPerFrame": "1",
"Protocol": "",
"Method": "rtpRtsp",
"Host": "",
"Port": "80",
"SubPath": "",
"Path": "rtsp:\/\/admin:[email protected]\/Streaming\/channels\/1",
"Options": "",
"User": "",
"Pass": "",
"Width": "2688",
"Height": "1520",
"Colours": "3",
"Palette": "0",
"Orientation": "0",
"Deinterlacing": "0",
"RTSPDescribe": false,
"Brightness": "-1",
"Contrast": "-1",
"Hue": "-1",
"Colour": "-1",
"EventPrefix": "Event-",
"LabelFormat": "%m\/%d\/%Y %H:%M:%S",
"LabelX": "0",
"LabelY": "0",
"LabelSize": "1",
"ImageBufferCount": "50",
"WarmupCount": "25",
"PreEventCount": "25",
"PostEventCount": "25",
"StreamReplayBuffer": "1000",
"AlarmFrameCount": "1",
"SectionLength": "600",
"FrameSkip": "0",
"MotionFrameSkip": "0",
"AnalysisFPS": "0.00",
"AnalysisUpdateDelay": "0",
"MaxFPS": "0.00",
"AlarmMaxFPS": "0.00",
"FPSReportInterval": "1000",
"RefBlendPerc": "0",
"AlarmRefBlendPerc": "0",
"Controllable": "0",
"ControlId": "0",
"ControlDevice": null,
"ControlAddress": null,
"AutoStopTimeout": null,
"TrackMotion": "0",
"TrackDelay": "0",
"ReturnLocation": "-1",
"ReturnDelay": "0",
"DefaultView": "Events",
"DefaultRate": "100",
"DefaultScale": "100",
"SignalCheckColour": "#0000c0",
"WebColour": "red",
"Exif": false,
"Sequence": "1"
}
}
}
The hass log shows this:
16-12-12 21:37:23 INFO (MainThread) [homeassistant.loader] Loaded zoneminder from homeassistant.components.zoneminder
...
16-12-12 21:37:24 INFO (MainThread) [homeassistant.loader] Loaded sensor.zoneminder from homeassistant.components.sensor.zoneminder
16-12-12 21:37:24 INFO (MainThread) [homeassistant.bootstrap] Setting up zoneminder
16-12-12 21:37:25 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=zoneminder>
16-12-12 21:37:25 INFO (MainThread) [homeassistant.bootstrap] Setting up sensor
16-12-12 21:37:25 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.zoneminder
However, on the “States” page, I see no device related to zoneminder.
Any ideas?