Closed karesake closed 3 years ago
Have you mapped Eufy off mode to Homekit off mode?
export enum GuardMode { UNKNOWN = -1, AWAY = 0, HOME = 1, DISARMED = 63, SCHEDULE = 2, GEO = 47, CUSTOM1 = 3, CUSTOM2 = 4, CUSTOM3 = 5, OFF = 6}
Its correctly Set. HomeBase switchs to „Off“ but no response in HomeKit.
Whether I use "63" or "6".
Can you post your logs when changing modes?
Yes. Away and Home Mode are working great. The HomeBase switch to the right mode and HomeKit also. Only the off Mode not.
I will try and test it tonight.
Tested. I can can confirm this is the case for me, too.
"username": "username",
"password": "password",
"hkHome": 1,
"hkAway": 0,
"hkNight": 3,
"hkOff": 63,
"platform": "EufySecurity"
@PeterAlexander75 hkOff should be "6" to work with eufy off.
Set to 6, rebooted homebridge, same result.
Might be a problem with the eufy-security-client then.
Code 6 is triggered when disabled by Keypad instead of 63. Confirmed on my lab. I'm pushing the change.
@lenoxys Can you elaborate on what in your PR fixed the event not being triggered. I can see you added "this.eufyStation.connect()". I thought the station already had a connection when the connection is established in the platform startup?
Hhaaa I forget to remove this line I was trying p2p. I will push the tentative to fix the motion on doorbell and remove this one
Perfect and awesome work you did. But how did you fix the off mode?
Line 164 in SecuritySystemPlatformAccessory.ts
case 6: // 6 is triggered when disabled by Keypad
return this.convertMode(63);
Code 6 mean disarmed means everything is desactivated. while 63 it's desactivated but you can still enable thing.
I get it now. Thought it was already mapped there. Apparantly not. Great work 👍🏻
Tested and solved. Please close.
@samemory please close this.
Hi there,
Found a little Problem. We use the KeyPad to switch the Security Modes. The "Away" und "Home" Mode works great but if I click the "Off" Button, only the Eufy HomeBase switch to "off" mode - no reaction in HomeKit.
To change the plugin settings does not work.