fdegier / homebridge-jablotron-alarm

Homebridge plugin for connecting Jablotron JA-100 alarm systems to Homekit.
The Unlicense
26 stars 6 forks source link

API response not recognised by the plugin #95

Closed jirihelmich closed 10 months ago

jirihelmich commented 1 year ago

Describe The Problem: The log displays the below and hence it's a bit hard to debug further even from the user perspective:

To Reproduce:

Note that the section is not set as Away, and the log displays only the below.

Logs:

5/27/2023, 3:52:28 PMJablotron BridgeJablotronSetting section state: section_2 => 1
5/27/2023, 3:52:28 PMJablotron BridgeJablotronSwitching section section_2 (using section_2) to new state: set
5/27/2023, 3:52:30 PMJablotron BridgeJablotron[object Object]
5/27/2023, 3:52:30 PMJablotron BridgeJablotronError: bypass_dialog_default
5/27/2023, 3:52:30 PMJablotron BridgeERROR[Jablotron Bridge C250@Upstairs@Upstairs@Security System Target State] SET handler returned write response value, though the characteristic doesn't support write response

Environment:

fdegier commented 1 year ago

Hello, thanks for reporting.

The problem is bypass_dialog_default which is not supported. It means you have a window open or something.

In the next release, support will be added.

jirihelmich commented 1 year ago

Thanks!

Seems you are right, it works now for a section that is OK. Though, this is the log it produces anyway:

5/29/2023, 10:38:57 PMJablotron BridgeJablotronSetting section state: section_3 => 1
5/29/2023, 10:38:57 PMJablotron BridgeJablotronSwitching section section_3 (using section_3) to new state: set
5/29/2023, 10:38:57 PMJablotron BridgeJablotron[object Object]
5/29/2023, 10:38:57 PMJablotron BridgeJablotronSwitching section section_3 (using section_3) to new state: set
5/29/2023, 10:39:01 PMJablotron BridgeERROR[Jablotron Bridge C250@Garage@Garage@Security System Target State] SET handler returned write response value, though the characteristic doesn't support write response

However, this time, the section is armed.