Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

States (device_enabled) not updated on Iobroker after made change on Apps #146

Closed
bricevalenza opened this issue Jul 16, 2021 · 12 comments
Closed

Comments

@bricevalenza
Copy link

Hi,

is it normal that when an action is done on the android application (Deactivate a camera for example), the information is not updated on the IoBroker side? (on: eufy-security.1.T84XXXXXXXXXX.cameras.T84XXXXXXXXXX.device_enabled)

The action to activate / deactivate the camera works well on IoBroker.

Test on Pan&tilt camera.

Thanks.

@DM-81
Copy link

DM-81 commented Jul 16, 2021

Hi, i have the same issue with IOS. When changes are made in App then, status in iobroker will not change.

If changes are been made manually in Iobroker, the cam is only accepting the first order : deactivate, but im not able to start the cam then.

Also 2k Pan&tilt camera.

Please let me know if debug / screens are needed.
Greetings Dennis

@lightgoleft
Copy link

Same issue. Not only by App, but the state is not updated when setting within iobroker itself.

e.g. eufy-security.0.TXXX.station.current_mode will not change with setting eufy-security.0.TXXX.station.guard_mode.

And it only happens to certain device. My 2k indoor cam has this problem, but 2k outdoor cam w/ base station works fine.

@lightgoleft
Copy link

It looks like on some devices, the info doesn't support push, so status update relies on pulling from server. After reducing the polling interval, the status update seems "timely".

@lightgoleft
Copy link

device_enabled is not the case. It never update its status from p2p/server.

@bropat
Copy link
Owner

bropat commented Jul 28, 2021

@lightgoleft

I am currently working on a new version of the adapter that will use the latest version of the driver. Some of the cited problems are already fixed there.
I will report here as soon as the new version is released and ask you to run the tests again.

@lightgoleft
Copy link

lightgoleft commented Jul 29, 2021 via email

bropat added a commit that referenced this issue Aug 13, 2021
…tates will be dropped and recreated (Note: some states where renamed)

Supports Admin 5
Added new adapter setting "Accept incoming invitations" to automatically accept device invitations
Added new adapter setting "Alarm sound duration (sec)" used for triggering alarm sound on supported devices/stations (#76)
Added enable/disable led setting for camera 1 products
Added motion detection sensitivity setting for camera 1 products and wired doorbell
Added motion detection type setting for camera 1 products
Added motion audio recording setting for camera 1 products and wired doorbell
Added ringtone volume setting for wired doorbell
Added enable/disable indoor chime setting for wired doorbell (#100)
Added notification ring setting for wired doorbell
Added notification motion setting for wired doorbell
Added video streaming quality setting for wired doorbell
Added video recording quality setting for wired doorbell
Added video HDR setting for wired doorbell
Added video distortion correction setting for wired doorbell
Added video ring recording setting for wired doorbell
Added notification type setting for camera 1 products, solo cameras and wired doorbell
Added chirp volume setting for entry sensor
Added chirp tone setting for entry sensor
Added pan an tilt functionality to supported indoor cameras (#129)
Added error detection if stopping or starting stream that isn't running or already running
Added new setting "acceptInvitations" to "EufySecurity" to accept invitations automatically
Added floodlight camera light switch (#133)
Added motion detection sensitivity for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells (#133)
Added motion detection type for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells (#133)
Added motion tracking for indoor camera pan & tilt cameras
Added video stream quality setting for indoor cameras, solo cameras, floodlight cameras and battery doorbell (#133)
Added video recording quality setting for indoor cameras
Added WDR setting for battery doorbells
Added microphone mute setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells (#133)
Added audio recording setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells (#133)
Added enable/disable speaker setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products (#133)
Added speaker volume setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells (#133)
Added power source setting for camera 2 products cameras, eufy cameras and eufy E cameras
Added power working mode setting for solo cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras
Added power custom working mode recording clip length setting for solo cameras, floodlight cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras (#133)
Added power custom working mode recording retrigger interval setting for solo cameras, floodlight cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras (#133)
Added power custom working mode recording ends if motion stops setting for solo cameras, floodlight cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras (#133)
Added video streaming quality setting for indoor cameras, solo cameras, floodlight cameras, 2c pro cameras and battery doorbells (#133)
Added video recording quality setting for indoor 2k cameras and 2c pro cameras
Added motion detection sensitivity setting for indoor cameras, floodlight cameras and camera 2 products (#133)
Added enable/disable motion tracking setting for indoor pan & tilt cameras
Added motion detection type setting for indoor cameras, solo cameras, floodlight cameras, camera 2 products and battery doorbells (#133)
Added enable/disable WDR setting for battery doorbells
Added ringtone volume setting for battery doorbells
Added enable/disable chime indoor setting for battery doorbells (#100)
Added enable/disable chime homebase setting for battery doorbells (#100)
Added chime homebase ringtone volume setting for battery doorbells
Added chime homebase ringtone type setting for battery doorbells
Added notification type setting for solo cameras, floodlight cameras, camera 2 products, battery doorbells, eufy cameras and eufy E cameras (#133)
Added enable/disable person notification setting for indoor cameras
Added enable/disable pet notification setting for indoor cameras
Added enable/disable all other motion notification setting for indoor cameras
Added enable/disable all sound notification setting for indoor cameras
Added enable/disable crying notification setting for indoor cameras
Added enable/disable motion notification setting for battery doorbells
Added enable/disable ring notification setting for battery doorbells
Added trigger alarm sound for camera 2 products, indoor cameras, solo cameras (incl. new) and floodlight cameras (#76)
Added reset alarm sound for camera 2 products, indoor cameras, solo cameras (incl. new) and floodlight cameras (#76)
Added trigger alarm sound for homebase 1+2 (#76)
Added reset alarm sound for homebase 1+2 (#76)
Added alarm tone setting for homebase 1+2
Added alarm volume setting for homebase 1+2
Added prompt volume setting for homebase 1+2
Added time format setting for homebase 1+2
Added enable/disable switch mode app notification setting for homebase 1+2
Added enable/disable switch mode geofence notification setting for homebase 1+2
Added enable/disable switch mode schedule notification setting for homebase 1+2
Added enable/disable switch mode keypad notification setting for homebase 1+2
Added enable/disable start alarm delay notification setting for homebase 1+2
Added new floodlight, solo and outdoor cameras (untested!)
Added brightness light setting for 2c/2c pro cameras, new solo cameras and new outdoor cameras
Added enable/disable light setting for 2c/2c pro cameras, new solo cameras and new outdoor cameras
Added battery charging state for keypad devices
Added wifi rssi state for keypad devices
Added nightvision setting for devices supporting the "light" nightvision mode
Added enable disable "switch mode with access code" for station with registered keypad
Added enable disable "auto end alarm" for station with registered keypad
Added enable disable "turn off alarm with button" for station with registered keypad
Fixed issue #98
Fixed issue #140
Fixed issue #146
Fixed issue #117
Many small bugfixes
Updated versions of the package dependencies
@bropat
Copy link
Owner

bropat commented Aug 13, 2021

@bricevalenza, @lightgoleft, @DM-81

Please test latest version (0.6.0) and let me know:

Note: If you change a setting of a device in the app, it will only be visible in the adapter after the polling interval (default: 10 min.).

@lightgoleft
Copy link

@bropat
I tried the new version. But it got some serious problem:

  1. device_enabled never get updated in iobroker when changed by phone app. Tried the indoor cam and outdoor Cam2.
  2. the base station set guard_mode doesn't work at all. No local push (it used to be this mode on eufy basestation 2). No cloud pulling (eufy indoor cam).
  3. It seems not pulling from cloud at all. I only see local push connection established within the log. Missing "Refresh data from cloud and schedule next refresh."

@bropat
Copy link
Owner

bropat commented Aug 16, 2021

@lightgoleft
Please try to delete all object states of the adapter and restart it (this should fix everything):

image

Regarding point 3, this message is no longer written in the logs ;)

If not please set the adapter in debug mode and then send me the logs by mail.
You can find the mail address here.

@bropat
Copy link
Owner

bropat commented Aug 19, 2021

@lightgoleft Version 0.6.1 fixes this problem by restoring all states.

@lightgoleft
Copy link

lightgoleft commented Aug 19, 2021 via email

@bropat
Copy link
Owner

bropat commented Sep 18, 2021

@lightgoleft
Is there any news about this?

@bropat bropat closed this as completed Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants