homebridge-plugin-eufy-security icon indicating copy to clipboard operation
homebridge-plugin-eufy-security copied to clipboard

Receiving doorbell rings instead of motion alerts

Open Stichoza opened this issue 4 years ago • 5 comments

I know it's too much to ask while repo is at its 4th commit, but I'll open this issue anyways.

Describe The Bug: The plugin registers motion alerts as doorbell rings. There is separated setting for motion alerts (which I have disabled in Home app for the doorbell) it

To Reproduce: Just walking past the doorbell and I get a notification "someone rang the doorbell".

Expected behavior: It should send "Someone is at your front door" kinda thing.

Screenshots:

Environment:

  • Plugin Version: v0.1.1
  • Homebridge Version: v1.1.6
  • Node.js Version: v14.15.1
  • NPM Version: v6.14.8
  • Operating System: hb-service

Stichoza avatar Dec 02 '20 10:12 Stichoza

Yes, same issue here.

pashmore1971 avatar Dec 02 '20 13:12 pashmore1971

I think we can differentiate messages here: https://github.com/birkir/homebridge-plugin-eufy-security/blob/d331befaf6d2e89742a3fa94c20180c832d5e62f/src/platform.ts#L90

Example log:

Screen Shot 2020-12-02 at 22 52 16

Yet I couldn't find code 3100 in ParamType:

https://github.com/birkir/homebridge-plugin-eufy-security/blob/d331befaf6d2e89742a3fa94c20180c832d5e62f/src/eufy-types.ts#L29

Stichoza avatar Dec 02 '20 18:12 Stichoza

I added the filter 👍

birkir avatar Dec 05 '20 14:12 birkir

I added the filter 👍

Thanks. But now the HomePod isn't ringing anymore.

karesake avatar Dec 06 '20 14:12 karesake

@birkir, I just saw the commit, the code I mentioned (3100) was for detected motions, not for doorbell rings. I'll debug the code and try to see which code is for button press.

Stichoza avatar Dec 06 '20 21:12 Stichoza