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

[Bug]: Home Status Always OFF #197

Closed
mannyd209 opened this issue Aug 24, 2021 · 35 comments · Fixed by #201 or #209
Closed

[Bug]: Home Status Always OFF #197

mannyd209 opened this issue Aug 24, 2021 · 35 comments · Fixed by #201 or #209
Assignees
Labels
bug Something isn't working

Comments

@mannyd209
Copy link

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

@mannyd209 mannyd209 added the bug Something isn't working label Aug 24, 2021
@lenoxys
Copy link
Collaborator

lenoxys commented Aug 24, 2021

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
Copy link
Author

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
Copy link
Collaborator

lenoxys commented Aug 24, 2021

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

@mannyd209
Copy link
Author

mannyd209 commented Aug 24, 2021

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 added a commit that referenced this issue Aug 24, 2021
 Rewriting Arming/Alarm Event for Station #197
@lenoxys
Copy link
Collaborator

lenoxys commented Aug 24, 2021

can you test on rc7 ?

@lenoxys lenoxys self-assigned this Aug 24, 2021
@mannyd209
Copy link
Author

Does my config look correct?

F8DD5C49-C87F-4964-BCE0-4617C6632139

@lenoxys lenoxys linked a pull request Aug 24, 2021 that will close this issue
@lenoxys
Copy link
Collaborator

lenoxys commented Aug 24, 2021

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
Copy link
Author

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

@lenoxys
Copy link
Collaborator

lenoxys commented Aug 24, 2021

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

@mannyd209
Copy link
Author

mannyd209 commented Aug 25, 2021

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
Copy link
Collaborator

lenoxys commented Aug 25, 2021

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

@mannyd209
Copy link
Author

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
Copy link
Collaborator

lenoxys commented Aug 25, 2021

Is it when you switch the mode on the keypad ?

@mannyd209
Copy link
Author

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
Copy link
Author

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
Copy link
Collaborator

lenoxys commented Aug 25, 2021

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
Copy link
Author

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

@lenoxys
Copy link
Collaborator

lenoxys commented Aug 25, 2021

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
Copy link
Collaborator

lenoxys commented Aug 25, 2021

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

@mannyd209
Copy link
Author

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

@lenoxys
Copy link
Collaborator

lenoxys commented Aug 25, 2021

Do you have other iOS devices ?

@mannyd209
Copy link
Author

Yes several.

@lenoxys
Copy link
Collaborator

lenoxys commented Aug 25, 2021

All of them are same behavior ?

@mannyd209
Copy link
Author

Yes all of the other devices are the same.

@lenoxys
Copy link
Collaborator

lenoxys commented Aug 26, 2021

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

@mannyd209
Copy link
Author

What would you like me to share?

@lenoxys
Copy link
Collaborator

lenoxys commented Aug 26, 2021

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

@mannyd209
Copy link
Author

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

@lenoxys
Copy link
Collaborator

lenoxys commented Aug 26, 2021

I mean the alarm

@mannyd209
Copy link
Author

How would you like me to share it?

lenoxys added a commit that referenced this issue Sep 15, 2021
* Fix workflow

* Fix workflow

* Fix workflow

* Fix workflow

* Fix issue when guest account is shared with one device acting as hub and device

* [DEV] 0.3.8

* Fix security issue from a lib

* [DEV] 0.3.9

* Smart Lock Implementation but eufy security lib doesn't implement the ability to action the lock

* [DEV] 0.3.10

* Create codeql-analysis.yml

* Push notification handling

* Fix typing

* Fix function name

* [DEV] 0.3.11

* Create dev_codeql-analysis.yml

* Cleanning code

* Boolean feedback

* [DEV] 0.3.12

* SmartLock more debug and more lock scenario

* [DEV] 0.3.13

* Fix SmartLock

* Fix SmartLock

* Fix SmartLock

* [DEV] 0.3.14

* Update package.json

* Create README.md

* Update README.md

* Implement new UI for settings and ability to use Eufy Account with OTP

* [DEV] 0.3.15

* Fix config value which are set to string format instead of integer and can cause issue in alarm mapping

* Missing one parameter if you want to custom arming mode

* [DEV] 0.3.16

* Fix default value

* Implemented on dev branch

* Avoiding build and check if it's concerning md file

* Avoid to go further if we're not able to connect first

* Fix lint error

* Fix lint error

* Fix lint erro

* Removing the disarmed config since it's was conflicting with the off one

* [DEV] 0.3.17

* Doorbell is a camera device and should be herited from the camera object.

* Fixing the issue #144
Forcing Disarmed(63) instead of Off (6)
Using the StatusLowBattery instead of the level one

* Fixing the method availability

* Fix lint issue

* Removing extra debug

* [DEV] 0.3.18

* Ignoring Hub or Device through config including the wizard

* fix const

* [DEV] 0.3.19

* Update dev_npm_publish.yml

* Update dev_npm_publish.yml

* Fixing the issue of duplicate when sharing only one device without the station

* Migration to homebridge 1.3.4
Fix issue

* Fix issue

* Fix eslint issue

* [DEV] 0.3.20

* Fix issue on the first time user run the wizard

* [DEV] 0.3.21

* Improving debug

* [DEV] 0.3.22

* Better handling device acting as station
Testing the PR for push notification on Lock device

* Fix comma for lint issue

* [DEV] 0.3.23

* [DEV] 0.3.24

* Trying to fix issue #158

* [DEV] 0.3.25

* Avoiding exception throw on Camera Device
Handling device flagged as station but aren't (half functionnality available)

* [DEV] 0.3.26

* Displaying the plugin version in log
Removing debug log which display too much information

* Fix lint issue

* [DEV] 0.3.27

* Fix issue on single device without station
Fix typo

* Fix lint issue

* [DEV] 0.3.28

* Update README.md

* Changing supported version on node and homebridge as per recommendation from homebridge team

* Fix supported version

* Fix issue reported by @donavanbecker

* [DEV] 0.3.29

* Fix issue while first onboarding

* [DEV] 0.3.30

* Upgrading the lib dep
Wrong debug message

* Fixing issue on ci workflow

* [DEV] 0.3.31

* Increase compatibility with new devices

* [DEV] 0.3.32

* [DEV] 0.3.33

* Update CHANGELOG.md

* Renaming convention

* [BETA] 0.3.34

* Delete codeql-analysis.yml

* Create test.yml

* Update package.json

* Update README.md

* Splitting the UI into distinct file

* Delete test.yml

* Revert

* Switching to beta branch

* [BETA] 0.3.35

* [BETA] 0.3.36

* Create publish_release.yml

* Update publish_release.yml

* Update and rename publish_release.yml to next_publish_release.yml

* Update next_publish_release.yml

* Rename next_publish_release.yml to publish_release.yml

* [RC] 1.0.0-rc.0

* Update publish_release.yml

* Update CHANGELOG.md

* Update publish_release.yml

* Updating dep lib

* Updating dep lib

* [rc] 1.0.0-rc.1

* [latest] 1.0.0-latest.0

* Update publish_release.yml

* [latest] 1.0.0-rc.0

* [latest] 1.0.0-rc.1

* Update publish_release.yml

* [latest] 1.0.0-rc.2

* Create UnPublish.yml

* Delete UnPublish.yml

* Update CHANGELOG.md

* Update lib

* Fixing issue #190
As per @bropat notice, we need to clean function reference which will be deprecated soon (bropat/eufy-security-client#40)

* Displaying error if no station nor devices has been retreive

* Update CHANGELOG.md

* As per @bropat notice, we need to clean function reference which will be deprecated soon (bropat/eufy-security-client#40)

* Removing duplicate code

* Improve debug when dealing with multiple station

* Update dependency

* [rc] 1.0.0-rc.3

* - Better debug output for UI and BACKEND
- Fixing #195

* Lint issue

* Lint issue

* [rc] 1.0.0-rc.4

* Improving Debug enabling options, Insame available only while setting to 2 in Config json

* Trying to fix #185

* [rc] 1.0.0-rc.5

* Fix #195

* Update npm lib

* [rc] 1.0.0-rc.6

* Update npm lib

* Clean useless lib call

* Rewriting Arming/Alarm Event for Station #197

* [rc] 1.0.0-rc.7

* Working on FFMPEG

* Enable audio

* Clean useless dep

* Clean useless reference

* Update CHANGELOG.md

* [rc] 1.0.0-rc.8

* Cleaning Ignored Devices which was already exist

* Update publish_release.yml

* Avoiding issue on IgnoreDevice while switching eufy account
When snapshot isn't available instead of trow an error, warn and display a message in HomeKit

* Fix UI glitch

* [rc] 1.0.0-rc.9

* On certains conditions, the resync green button can disapear
Fixing the event type 6 trigger when off is triggered by keypad or Off on the Eufy App

* [rc] 1.0.0-rc.10

* Better cleaning cached devices which no longer exist
Export Interface into dedicated file

* Fix issue on the ignore list
Better clean cached devices

* Update publish_release.yml

* [rc] 1.0.0-rc.11

* Update publish_release.yml

* As per FFMPEG team, libfacc has been removed since 2016. I can see on the log that this was creating a lot issue while streaming. Switching for the supported one.

* [rc] 1.0.0-rc.12

* [rc] 1.0.0-rc.13

* Lib update

* Fix

* - Update lib + Removing debug parameter

* Update CHANGELOG.md

* Reflecting homebridge branding guidelines
@github-actions
Copy link

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 github-actions bot added the Stale label Sep 26, 2021
@github-actions
Copy link

github-actions bot commented Oct 1, 2021

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

@lenoxys
Copy link
Collaborator

lenoxys commented Dec 29, 2021

try the new beta version

@lenoxys lenoxys reopened this Dec 29, 2021
@schliemann
Copy link
Collaborator

Will try tonight.

@github-actions github-actions bot removed the Stale label Dec 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
3 participants