Announcement

Collapse
No announcement yet.

ONVIF to MQTT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    ONVIF to MQTT

    Here recently installed a Hikvision video doorbell. Have RTSP, JPG and ONVIF working fine with it. Some one wrote an ONVIF to MQTT plugin for it to detect the PIR sensor on the device. I use this in conjunction with the hard wired alarm panel zone doorbell sensor. It's been working great now.

    I am running this in Docker per git hub instructions ==> hxxps://github.com/dmitrif/onvif2mqtt

    Noticing lately a few package delivery folks do not ring the doorbell so utilize the PIR sensor to trigger alerts.

    Here are my steps installing it.

    1 - docker pull dfarkov/onvif2mqtt:latest
    2 - cd /opt
    3 - git clone dmitrif/onvif2mqtt
    4 - mkdir /opt/onvif2mqtt/config
    5 - cd /opt/onvif2mqtt
    6 - nano config.dev.yml
    7 - cp config.dev.yml /opt/onvif2mqtt/config/config.yml
    8 -
    docker run -d --name="onvif2mqtt" -v /opt/onvif2mqtt:/config -v /etc/localtime:/etc/localtime:ro --net=host --restart always dfarkov/onvif2mqtt

    Click image for larger version

Name:	mqttexplorer.jpg
Views:	109
Size:	11.0 KB
ID:	1396591
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb- Mono 6.12.X
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro - Mono 6.12.X
    HS4 Pro - V4.1.7.0 - Ubuntu 18.04/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb - Mono 6.12.x
    HS4 Lite -

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant
Working...
X