homebridge-switchbot icon indicating copy to clipboard operation
homebridge-switchbot copied to clipboard

Motion Sensor: Does Not Perform as Expected

Open EricSabe opened this issue 2 years ago • 2 comments

Describe The Bug

Several Motion Sensors deployed alongside SimpliSafe motion sensors, tied together in nodered with TP-Link Kasa switches to enable room occupancy monitoring. Motion should reset the occupancy timer. SimpliSafe sensors work as expected. SwitchBot sensors do not keep the timer running.

To Reproduce

Turn on light. Move around. Find yourself in unexpected darkness after the timer runs down.

Expected behavior

Turn on light. Move around. SimpliSafe sensors consistently report motion events through HomeBridge to nodered, resetting the timer until the person leaves the area.

Relevant log output

Generating Debug Logs

Config for homebridge-switchbot

        {
            "name": "SwitchBot",
            "credentials": {
                "openToken": "encrypted",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "logging": "standard"
            },
            "platform": "SwitchBot"
        },

Screenshots

See Below

Device & Model

Motion Sensor

Node.js Version

v16.14.0

NPM Version

v8.3.1

Homebridge Version

v1.4.0

Homebridge Switchbot Plugin Version

v1.12.8

Homebridge Config UI X Plugin Version

v4.43.0

Operating System

Homebridge Docker/Alpine Linux (3.12.9)

EricSabe avatar Apr 18 '22 22:04 EricSabe

Adding screenshot of a SwitchBot Motion Sensor Log:

image

EricSabe avatar Apr 19 '22 02:04 EricSabe

To compare with these events I pipe to Syslog:

image

image

EricSabe avatar Apr 19 '22 02:04 EricSabe

not sure what you want me to do here? doesn't seem to be a plugin issue, more of an API? or what?

donavanbecker avatar Oct 12 '22 05:10 donavanbecker