arnecls / homebridge-bosch-alert-system

Homebridge plugin for the Bosch Smart Home alerting system
Apache License 2.0
7 stars 1 forks source link

Bosch camera are not disarmed when alarm is set to off #2

Open spectrazureus opened 2 years ago

spectrazureus commented 2 years ago

Describe The Bug:

When disabling the alarm in iOS Home, all works fine but the camera from Bosch (tight to the alarm system) still continue to detect motion, looks like they are still 'armed'

To Reproduce:

Set to Away in HomeKit, the Bosch alarm, then after alarm is 'full protection' mode, then set it to off, all fine so far, but Bosch camera still continue to act as 'armed' and the lens doesn't retract into the camera body. If we do the same with Bosch app or remote, the camera are disarmed and lens is going down into the camera body.

Expected behavior:

the camera should be disarmed like the alarm itself Logs:

Show the Homebridge logs here, remove any sensitive information.

Plugin Config:

Show your Homebridge config.json here, remove any sensitive information.

standard config, nothing special, generated certificates by homebridge, pairing successful and control is working fine except the camera remaining armed, need to disarm them manually.

Environment:

arnecls commented 8 months ago

Thanks for the report. As you might already have guessed, I don't look into here that often. I don't have an external camera, so I sadly cannot test this behavior.

It sounds like an issue from the Bosch side though, as everything else is properly disarmed. If this is not already solved, the solution would probably look like this

  1. List all cameras
  2. Set the state to disabled

Sadly I don't see any API endpoint to get information on which cameras are affected by an alarm, so I this is an "all or nothing" approach.