Page 2 of 2

Re: Python Plugin: Reolink

Posted: Monday 29 January 2024 22:19
by JBN
Exactly, three sensors are created for a doorbell.

Ah, I seem to have removed the checks for some of the needed settings. I will readd them in a coming version, sorry for the inconvenience.

Re: Python Plugin: Reolink

Posted: Wednesday 31 January 2024 22:42
by Rik60
JBN wrote: Monday 29 January 2024 22:19 Exactly, three sensors are created for a doorbell.

Ah, I seem to have removed the checks for some of the needed settings. I will readd them in a coming version, sorry for the inconvenience.
I saw that there was an update, so i have updated the plugin. I still have 1 sensor insteat of 3. Is that correct?

Re: Python Plugin: Reolink

Posted: Thursday 01 February 2024 8:09
by JBN
Since you have a doorbell cam you should see 3. I assume you have checked the Devices-tab?

If not, what happens if you remove and then re-add the plugin?

Re: Python Plugin: Reolink

Posted: Thursday 01 February 2024 11:55
by Rik60
I have removed the plugin and reinstalled. Restarted domoticz service, rebooted the pi. Updated Domoticz to the latest version (2024.3 to 2024.4) Domoticz is accepting new devices. The only device that is created is the motion sensor. There are no other created devices in the device list

Re: Python Plugin: Reolink

Posted: Thursday 01 February 2024 20:35
by JBN
Rik60 wrote: Thursday 01 February 2024 11:55 I have removed the plugin and reinstalled. Restarted domoticz service, rebooted the pi. Updated Domoticz to the latest version (2024.3 to 2024.4) Domoticz is accepting new devices. The only device that is created is the motion sensor. There are no other created devices in the device list
I found a bug. Hopefully it is fixed now! So update and try again.

Re: Python Plugin: Reolink

Posted: Thursday 01 February 2024 21:17
by Rik60
JBN wrote: Thursday 01 February 2024 20:35
Rik60 wrote: Thursday 01 February 2024 11:55 I have removed the plugin and reinstalled. Restarted domoticz service, rebooted the pi. Updated Domoticz to the latest version (2024.3 to 2024.4) Domoticz is accepting new devices. The only device that is created is the motion sensor. There are no other created devices in the device list
I found a bug. Hopefully it is fixed now! So update and try again.
Thanks, i did the update and have 3 devices now. But the Person and Doorbell stay off if a person is detected and the doorbell button is pressed. I do receive the Reolink messages on my phone, so the doorbell did detect it.
Thanks sofar for your time

Re: Python Plugin: Reolink

Posted: Thursday 15 February 2024 12:24
by Rik60
Still have problems with 2 out of 3 devices. Only the Motion is working, the two others not.
If i look in the data received from the video doorbell it is detecting Motion, PeopleDetect and Visitor but the plugin is only reacting on Motion? Is the plugin (reolink_utils -> rule) only responding on the first finding rule?
Attached is a textfile, 1 line received from the doorbell. I have split the line to make it more readable

Re: Python Plugin: Reolink

Posted: Saturday 17 February 2024 12:31
by JBN
Hi, I think I spotted the bug. It should be fixed in latest commit ie update the plugin.

I have used the XML-file from Rik60 as verification test and that message parses OK.

Re: Python Plugin: Reolink

Posted: Saturday 17 February 2024 14:37
by dyter
Finaly, I update my synology to DVA1622 and AI reolink future is supported by this.
So I created directely rules webhook in Surveillance Station to domoticz
Thanks JBN for your time for this plugin

Re: Python Plugin: Reolink

Posted: Sunday 18 February 2024 11:32
by Rik60
I have tested the plugin after a new plugin install, it works fine now
Thanks

Re: Python Plugin: Reolink

Posted: Tuesday 07 May 2024 18:27
by dorenberg
Hi all, I hope you can help me. I am having issues with installing this plugin.

First attempt was on my 2021.1 Domoticz which has python 3.7.3. Installation not possible. Tried installing Python 3.9 but nothing.
Next attempt was a fresh Raspberry image (debian 12 bookwurm). Now on domoticz 2024.4 with Python 3.11.

Tried installing it, but nothing. Tried installing python 3.9, and still nothing. I am getting the following error.
Schermafbeelding 2024-05-07 182717.png
Schermafbeelding 2024-05-07 182717.png (26.72 KiB) Viewed 2367 times
Somebody?

Re: Python Plugin: Reolink

Posted: Tuesday 07 May 2024 21:40
by JBN
Hi, I have not seen that error message before. A Google gave this link https://stackoverflow.com/questions/756 ... -use-pip-3

You can read that page to see if something helps. I think this might solve this issue (and seems at least easy to revert if not):
sudo mv /usr/lib/python3.11/EXTERNALLY-MANAGED /usr/lib/python3.11/EXTERNALLY-MANAGED.old

Re: Python Plugin: Reolink

Posted: Wednesday 08 May 2024 15:09
by dorenberg
Yes that worked. Everything installed and it works perfect. Thanks!!!

Re: Python Plugin: Reolink

Posted: Wednesday 08 May 2024 15:37
by waltervl
You can also use pip's argument --break-system-packages

Code: Select all

pip install package_name --break-system-packages
(From the same link)

Re: Python Plugin: Reolink

Posted: Wednesday 11 December 2024 13:44
by LoloB
I have the camera E1 Outdoor Pro. Domoticz 2024.7.

I have the following errors:

2024-12-11 13:08:17.010 Status: Cam01Ext: Started.
2024-12-11 13:08:17.009 Status: Cam01Ext: Entering work loop.
2024-12-11 13:08:17.232 Status: Cam01Ext: Initialized version 0.0.2, author 'jbn'
2024-12-11 13:08:20.040 Error: Cam01Ext: Call to function 'onMessage' failed, exception details:
2024-12-11 13:08:20.056 Error: Cam01Ext: Traceback (most recent call last):
2024-12-11 13:08:20.056 Error: Cam01Ext: File "/home/pi/domoticz/plugins/domoticz_reolink/plugin.py", line 343, in parse_json_message
2024-12-11 13:08:20.056 Error: Cam01Ext: self.camera_startup(json_obj)
2024-12-11 13:08:20.056 Error: Cam01Ext: File "/home/pi/domoticz/plugins/domoticz_reolink/plugin.py", line 160, in camera_startup
2024-12-11 13:08:20.056 Error: Cam01Ext: create_device(self.DEVICENAME[_device], self.CAMERADEVICES[self.DEVICENAME[_device]])
2024-12-11 13:08:20.056 Error: Cam01Ext: ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-11 13:08:20.056 Error: Cam01Ext: KeyError: 'Animal'
2024-12-11 13:08:20.056 Error: Cam01Ext:
2024-12-11 13:08:20.056 Error: Cam01Ext: During handling of the above exception, another exception occurred:
2024-12-11 13:08:20.056 Error: Cam01Ext:
2024-12-11 13:08:20.056 Error: Cam01Ext: Traceback (most recent call last):
2024-12-11 13:08:20.056 Error: Cam01Ext: File "/home/pi/domoticz/plugins/domoticz_reolink/plugin.py", line 442, in onMessage
2024-12-11 13:08:20.056 Error: Cam01Ext: _plugin.onMessage(Connection, Data)
2024-12-11 13:08:20.056 Error: Cam01Ext: File "/home/pi/domoticz/plugins/domoticz_reolink/plugin.py", line 373, in onMessage
2024-12-11 13:08:20.056 Error: Cam01Ext: self.parse_json_message(message["Data"])
2024-12-11 13:08:20.056 Error: Cam01Ext: File "/home/pi/domoticz/plugins/domoticz_reolink/plugin.py", line 357, in parse_json_message
2024-12-11 13:08:20.056 Error: Cam01Ext: Domoticz.Error("Logging error: " + str(err)
2024-12-11 13:08:20.056 Error: Cam01Ext: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-12-11 13:08:20.056 Error: Cam01Ext: TypeError: can only concatenate str (not "bytes") to str

could you help me?

Re: Python Plugin: Reolink

Posted: Sunday 15 December 2024 13:31
by JBN
Thanks for the report. None of my cameras have support for detection of animals (dog_cats). I hope I have fixed this now so please update the plugin.

If not please PM me with the logs of Domoticz for the startup of the plugin.

Re: Python Plugin: Reolink

Posted: Monday 16 December 2024 20:38
by Jeaste
I have installed the plugin correctly (i think). The devices were added and i do not have any errors in my log. However when i push the button for the doorbell on my domoticz nothing happens, i would suspect the doorbell would rang?

I am using it with a Reolink POE Doorbell version 1. What could be the problem? I tried using the Onvif port and the HTTP port, but it makes no difference.

Re: Python Plugin: Reolink

Posted: Sunday 05 January 2025 13:08
by JBN
I am sorry for the late reply. I have done a slight change to the plugin and it might have caused issues. I have the same doorbell (it's the reason I wanted the module for myself).

What happens if you update the plugin and try again? If it doesn't work please PM me the logs from the module and we can try to find the solution together.

Re: Python Plugin: Reolink

Posted: Friday 17 January 2025 13:49
by dorenberg
It seems that I have the same issue since begin December. Push notifications via Domoticz on the doorbell do not work anymore. Motion is still detected.

Re: Python Plugin: Reolink

Posted: Saturday 18 January 2025 12:12
by JBN
Interesting, it works for me. But I am starting to think about reolink_aio version and Python version combinations.
You have Python 3.11 with a later reolink_aio version I guess?

But can you also restart your camera and see if that helps?