question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

E1 Zoom: 'enable' in "GetAlarm" response is set to 1602

See original GitHub issue

Hey there,

I was wondering why the motion detection for my E1 Zoom is not working in Home Assistant, neither does en/disabling it work (also made a post here: https://community.home-assistant.io/t/reolink-dev-cant-get-motion-detection-to-work-e1-zoom/217271).

I dug a bit and logged the response of get_settings and turns out that data["value"]["Alarm"]["enable"] is set to 1602 for my E1 Zoom!?

So an easy fix was replacing the check here: https://github.com/fwestenberg/reolink/blob/master/custom_components/reolink_dev/ReolinkPyPi/camera.py#L113 with if (data["value"]["Alarm"]["enable"] >= 1):. This fixed the motion detection in HA: binary_sensor is triggered and the motion detection switch is also set to on.

However, what still doesn’t work is disabling the motion detection and that’s where I’m stuck a bit:

I logged the response of set_motion_detection and it looks fine:

[
   {
      "cmd" : "SetAlarm",
      "code" : 0,
      "value" : {
         "rspCode" : 200
      }
   }
]

But when get_settings is called right after, data["value"]["Alarm"]["enable"] is still set to 1602… Is something wrong with my E1 Zoom? Any other people with that camera with the same issue?

Bought the camera a few days ago, device info attached as screen shot from the Reolink app: Screenshot_20200810_220436_com mcu reolink_2

Also attached an example response of get_settings: get_settings.txt

Any ideas?

Greetings,

Andy!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
fwestenbergcommented, Dec 10, 2020

Please check v0.8. Should be fixed!

1reaction
pipipcommented, Nov 25, 2020

I have the same problem with my E1 Zoom. Thank you for your investigation and update posts. Weired thing: it used to work for me

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configuration - E1 Zoom - Reolink Support
Its 3X optical zoom enables you to zoom in for astonishing details or zoom out for maximum coverage. To know how to control...
Read more >
Reolink E1 Zoom SETUP + REVIEW (iOS App, Desktop Client ...
In todays video we are having a look at the Reolink E1 Zoom. I will be breaking down the cameras features, talking about...
Read more >
Reolink Unboxing, Setup and Installation | E1 Zoom PTZ ...
This video shows you the E1 Zoom camera what's in the box, easy setup in Reolink App, and installation.Reolink E1 Zoom is a...
Read more >
Reolink E1 Zoom rebooting · Issue #236 - GitHub
It seems that when using this integration with E1 Zoom, the camera heats up and starts rebooting. When the device is disabled from...
Read more >
ftp://ftp.hikvisioneurope.com/Technical%20Material...
#define NET_DVR_LANE_NOT_READY (VCA_ERROR_INDEX + 12) // Lane not ready. ... 1193 //Get alarm host enable status #define NET_DVR_SET_ALARM_CAMCFG 1194 //Set ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found