j-b-n / domoticz_reolink

Domoticz plugin for use with Reolink cameras.
GNU General Public License v3.0
2 stars 0 forks source link


Domoticz plugin for Reolink cameras

Description

This plugin allows you to integrate your Reolink device (cameras) into Domoticz.

The first version is only tested on Reolink Video Doorbell WiFi and might not work for other cameras!

Prerequisites

Installation

Install by navigating to your Domoticz plugin folder (example: /home/pi/domoticz/plugins).

git clone https://github.com/j-b-n/domoticz_reolink
sudo python3 -m pip install -r requirements.txt --upgrade

Update

Update an installed plugin by enter in the plugin install folder (example: /home/pi/domoticz/plugins/domoticz_reolink).

git pull
sudo python3 -m pip install -r requirements.txt --upgrade

Please note!

The first approach using async_io in the plugin.py file is not stable enough on my test system. I have changed to a different approach where the communication with the Reolink camera is handled in a separated subprocess (ie camera.py). You can test the communication with the camera using capera.py with --standalone thus using the same process that Domoticz is using but in standalone mode.

I will continue to explore a solution that only utilizes plugin.py.

Frequently Asked Questions (FAQ)

I get this error message: "Unit creation failed, Domoticz settings prevent accepting new devices."

You need to allow Domoticz to create new devices. That is either "Allow for 5 minutes" or toggle "Accept new Hardware Devices" to on.

Acknowledgment

This plugin use reolink_aio created by @starkillerOG found here https://github.com/starkillerOG/reolink_aio. I also used code and inspiration from Zigbee for Domoticz

Author