fuatakgun / eufy_security

Home Assistant integration to manage Eufy Security devices as cameras, home base stations, doorbells, motion and contact sensors.
936 stars 79 forks source link

Unable to change Security Modes (i.e. Home, Away) #1002

Closed mattsmithuk closed 11 months ago

mattsmithuk commented 1 year ago

Please check existing (open or closed) issues before creating a new one. (https://github.com/fuatakgun/eufy_security/issues?q=is%3Aissue+)

If this is not an issue, you can use Discussions (https://github.com/fuatakgun/eufy_security/discussions) section.

Describe the bug

Since updating, the alarm_control_panel services do not change the security mode of any of my cameras. I normally use Node-Red with the Home Assistant Websocket nodes for my automations. But nor can I get my alarm modes to change in the Developer Tools -> Services page of Home Assistant. I also can't get the eufy_security.alarm_arm_custom services to work.

This was working fine previously.

To reproduce

Steps to reproduce the behavior:

  1. Go to 'Developer Tools -> Services'
  2. Select 'Alarm Control Panel: Arm Away'
  3. Choose Target device
  4. No change in security mode

Expected behavior

Using alarm_control_panel.arm_away/home/disarm change security mode on the target device.

Additional information

Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Hardware Information;

https://pastebin.com/C2kmsvj6

2023-11-20 13:22:58.713  INFO  Eufy Security server listening on host 0.0.0.0, port 3000 
2023-11-20 13:23:00.967  INFO  Connected to station T8010N23214525C6 on host 192.168.1.138 and port 22309 
2023-11-20 13:23:00.990  INFO  Connected to station T8020P11233301CA on host 192.168.1.72 and port 15515 
2023-11-20 13:23:01.160  INFO  Connected to station T8410P3121321F89 on host 192.168.1.167 and port 20119 
2023-11-20 13:23:01.987  INFO  Connected to station T8400P312203059E on host 192.168.1.227 and port 20119 
2023-11-20 13:23:03.135  INFO  Push notification connection successfully established 

Additional context

Add any other context about the problem goes here. Mainly, share everything as log files and use screenshots as last resort.

ddorfeld commented 1 year ago

I'm also having this issue with all of my cameras - Video Doorbell 2K (Wired), SoloCam E210, Floodlight Camera.

fuatakgun commented 12 months ago

thanks for the logs but it only captures loading information of the entity.

Please get more while taking the aforementioned actions to see what is going on behind the scenes, call respective services using home assistant UI (not node red please) and share new logs

I do not want to ask because I assume you have checked all your push notification settings through eufy mobile app

mattsmithuk commented 12 months ago

I've looked again and it doesn't seem like the devices have any entities in which to target the Arm commands at. I've look at the the device pages for the cameras in the settings page and confirmed this.

Screenshot 2023-11-24 124210 Screenshot 2023-11-24 124244

fuatakgun commented 12 months ago

Can i see the device page listing all sensors? The respective entity might have been disabled, try to enable them

mattsmithuk commented 12 months ago

Is this what you meant? Of note, the Guard Mode and Current Mode diagnostics are both Unavailable Screenshot 2023-11-24 183636 Screenshot 2023-11-24 183708 Screenshot 2023-11-24 183744 Screenshot 2023-11-24 183810 Screenshot 2023-11-24 183831

fuatakgun commented 12 months ago

Just enable them

mattsmithuk commented 12 months ago

They are not disabled. They are not available at all. If I could enable them, I would have already

DerHerzog7 commented 12 months ago

Also having this issue

crom80 commented 11 months ago

I 've the same problem. Before some days a had problems to set the guard Mode at one camera. The ither camera this function was there. So I deleted the eufy integration an add a new eufy integration. After this, my support fir guard mide was gone. Its nit available anymore.

fuatakgun commented 11 months ago

@mattsmithuk , so you have checked entity settings page and they are enabled??

crom80 commented 11 months ago

@fuatakgun: Thanks for this hint. This solves my problem. The eufy show hidden entities. I ve selected the guard Mode entity and was able to activate this entity. Now I can change the guard Mode. Thanks a lot

mattsmithuk commented 11 months ago

@fuatakgun for some reason they were disabled by the integration. I've been successfully able to manually enable each of them.

fuatakgun commented 11 months ago

All diagnostic entities are disabled by default, i have asked you earlier to check them. Anyway, great to hear that it works for you now.