samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

[Bug]: Home Status Always OFF #197

Closed mannyd209 closed 2 years ago

mannyd209 commented 3 years ago

What happened?

The Status on the Home Screen of Apple HomeKit only shows OFF at all times, it never updates with the current Security System status. Currently in the photo attached my security system is in Home Mode but the status is saying it’s Off. Can this be looked into? Thanks

584A2462-7419-4BFF-9592-EB5E11281980

Plugin Version

v1.0.x (Supported)

HomeBridge Version

v1.3.x (Supported)

NodeJS Version

v14 (Supported)

Operating System

Docker

Relevant log output

No response

lenoxys commented 3 years ago

Hello,

I will need some log from HomeBridge UI.

Please refer to that documentation : https://github.com/samemory/homebridge-eufy-security/wiki/Basic-Troubleshooting

mannyd209 commented 3 years ago

What part of the Debug Code do you need? There is a lot there. LoL

I see this though:

[8/24/2021, 12:04:57 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Current System state: 0

0 must = Off so does 1 = On

lenoxys commented 3 years ago

While debug on, just change the alarm mode and paste here the output

mannyd209 commented 3 years ago

When I toggled the alarm Off this is the Debug Code I got:


[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home GET SecuritySystemCurrentState
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Connected to Eufy API
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Eufy Guard Mode:  { value: 1, timestamp: 1629782403000 }
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home GET SecuritySystemTargetState
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Connected to Eufy API
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Eufy Guard Mode:  { value: 1, timestamp: 1629782403000 }
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Current System state: 0
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home GET SecuritySystemCurrentState
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Connected to Eufy API
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Eufy Guard Mode:  { value: 1, timestamp: 1629782403000 }
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home GET SecuritySystemTargetState
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Connected to Eufy API
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Eufy Guard Mode:  { value: 1, timestamp: 1629782403000 }
[8/24/2021, 12:38:20 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Current System state: 0
[8/24/2021, 12:38:21 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home GET SecuritySystemCurrentState
[8/24/2021, 12:38:21 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Connected to Eufy API
[8/24/2021, 12:38:21 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Eufy Guard Mode:  { value: 1, timestamp: 1629782403000 }
[8/24/2021, 12:38:21 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Current System state: 0
[8/24/2021, 12:38:22 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Station Raw Property Changes: 1151 63 1629833902601
[8/24/2021, 12:38:22 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Received onStationCurrentModePushNotification - currentMode 63 homekitCurrentMode 3
[8/24/2021, 12:38:22 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Station Property Changes: currentMode { value: 63, timestamp: 1629833902601 }
[8/24/2021, 12:38:26 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Station Raw Property Changes: 1224 63 1629833906994
[8/24/2021, 12:38:26 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Received onStationGuardModePushNotification - guardmode 63 homekitGuardMode 3
[8/24/2021, 12:38:26 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Station Property Changes: guardMode { value: 63, timestamp: 1629833906994 }
[8/24/2021, 12:38:26 PM] [EufySecurity-1.0.0-rc.4] DEBUG: Duarte’s Home Handle Station Raw Property Changes: 1147 1629833905 1629833906994```
lenoxys commented 3 years ago

can you test on rc7 ?

mannyd209 commented 3 years ago

Does my config look correct?

F8DD5C49-C87F-4964-BCE0-4617C6632139

lenoxys commented 3 years ago

We removed hkdisarmed until 1.1.0. Can you test this one ?


        {
            "platform": "EufySecurity",
            "username": "xxxxxxxxxxxxxxx",
            "password": "xxxxxxxxxxxxxxx",
            "enableCamera": true,
            "pollingIntervalMinutes": 30,
            "hkHome": 1,
            "hkAway": 0,
            "hkNight": 3,
            "hkOff": 63,
            "enableDetailedLogging": 0,
            "ignoreStations": [],
            "ignoreDevices": []
        }
mannyd209 commented 3 years ago

The problem I'm having is hKOff: 63 is disarming my alarm not turning it off. Whats the value for OFF?

lenoxys commented 3 years ago

We removed off for now. We plan it in 1.1.0. Until then, you can still use custom mode

mannyd209 commented 3 years ago

So with OFF removed, when I turn off my alarm from Homekit, my Eufy Keypad shows noting is set and then when I set any mode from my Keypad, the alarm is tripped and my siren comes on as if I just triggered my alarm. When the OFF was still on in previous versions the Keypad worked as it should and never triggered my alarm.

lenoxys commented 3 years ago

haa got it. I'm pushing the rc10 so no more alarm triggered.

mannyd209 commented 3 years ago

Thanks, that 10rc fixed the triggered issue. Now we just need to get the Home Status issue fixed. Still shows always OFF in the status no matter what mode you are in.

lenoxys commented 3 years ago

Is it when you switch the mode on the keypad ?

mannyd209 commented 3 years ago

It doesn’t matter where you switch the mode from, it just always shows the Status on the Home app as OFF no matter what mode you switch it to and no matter from where you switch it from.

C0CD8929-0C20-46AC-89A6-FE29E483BF97

mannyd209 commented 3 years ago

It’s just on the HOME page in Apple HomeKit, cause on the Alarm (room) page it shows it correct.

A2651EB2-D749-4993-8C36-06026A44B0F9

lenoxys commented 3 years ago

ok home page should reflect the room one. I suggest to clear the cached.

In homebridge settings > Remove Single Cached Accessory > Select the Duarte's Home accessory and remove it > Restart HB.

mannyd209 commented 3 years ago

I just did that and still the same. Any other suggestions?

lenoxys commented 3 years ago

I don't know. Clear the whole accessory cache of HB ? But you will loose all the settings and all the devices will go to a single room and I'm not sure it will fix the issue.

lenoxys commented 3 years ago

disabling the favorite on this object and close home app and enable favorite again.

mannyd209 commented 3 years ago

I disabled the favorites and then close the home app and rebooted my phone and the Homebridge. Still the same 😩

lenoxys commented 3 years ago

Do you have other iOS devices ?

mannyd209 commented 3 years ago

Yes several.

lenoxys commented 3 years ago

All of them are same behavior ?

mannyd209 commented 3 years ago

Yes all of the other devices are the same.

lenoxys commented 3 years ago

Can you share it again, I'd like to see if I can reproduce your issue on my env ?

mannyd209 commented 3 years ago

What would you like me to share?

lenoxys commented 3 years ago

your camera again. I will have a look this evening (CEST). If you don't mind.

mannyd209 commented 3 years ago

My camera isn’t the issue. I’m confused.

lenoxys commented 3 years ago

I mean the alarm

mannyd209 commented 3 years ago

How would you like me to share it?

lenoxys commented 3 years ago

eufy-plugin-test@secugrator.com

https://support.eufylife.com/s/article/Share-Your-eufySecurity-Devices-With-Your-Family

github-actions[bot] commented 2 years ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 2 years ago

This issue was closed because it has been stalled for 5 days with no activity.

lenoxys commented 2 years ago

try the new beta version

schliemann commented 2 years ago

Will try tonight.