-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Security system with characteristics, bad behaviour #388
Comments
Some comments: Security system TargetState can't be 4. That's "ALARM" - current state can be 4. What if you use these char props? {
"SecuritySystemCurrentState": {
"minValue": 1,
"validValues": [
1,
2,
3,
4
]
},
"SecuritySystemTargetState": {
"minValue": 1,
"validValues": [
1,
2,
3
]
}
} The goal would be to get the HomeKit (hap-nodejs?) system to stop emitting Any reason you don't want the "Home" state on your alarm? |
Hi |
Using my JSON - it works properly but I can confirm a similar error in my log:
That being said... the device works as expected, goes to "Away" as default startup value (current state = 1) and there is no "home" option, as expected. @Shaquu - any idea why this error is now popping up? I don't know if it's an error so much as a warning since everything continues working fine for me. @Supergiovane - is your security system working properly? I just went through some basic tests and didn't get any logs in nodered after the initial deploy and add to home app... Everything worked as it does with the security system I use in my setup. |
Hi crxporter |
this error is repeated with TargetTemperature
on
|
To answer questions from @crxporter Regarding error. Probably it means HomeKit is trying to set 0 (by default) but it is not set due to ranges so it stays with previous value. @twocolors Same about you. |
"Error" could be a strong word, perhaps it's just a "warning" or simply "information"? Has anyone had any broken functionality from this? |
@Shaquu or else , some magic ...
log
|
The latest update seems to have solved the issue. |
Seems it is not resolved yet. |
I'm gonna be honest - I "fixed" mine by adding I have this line: CurrentAmbientLightLevel: input.object.newValue + 0.0001 |
@Shaquu Do you know when the homebridge/HAP-NodeJS#902 PR might be merged, I'm also seeing my logs flooded with these Thanks! |
Possibly once I rewrite the PR :) I will do my best to do so soon |
No worries and no pressure @Shaquu - it's open source |
Should be resolved in #481 |
### Added - Support for new advertiser [AVAHI](homebridge/HAP-NodeJS#918) - Support for new advertiser [RESOLVED](homebridge/HAP-NodeJS#965) - Added `msg.hap.reachable` parameter to get device reachable state (related to NO_RESPONSE) ### Fixed - Accessory could not be recovered from NO_RESPONSE using single Characteristic - Make unsupported Characteristic error more descriptive [#456](#456) - FFmpeg No such file or directory [#495](#495) - allChars: properties have spaces in names [#496](#496) - Wait for host to return from unpublish/destroy before exiting, set published flag on destroy - Security system with characteristics, bad behaviour [#388](#388) ### Changed - Updated hap-nodejs to [0.9.7](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.9.7) (bug fixes) - Updated hap-nodejs to [0.9.8](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.9.8) (bug fixes) - Updated hap-nodejs to [0.10.0](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.0) (features) - Updated hap-nodejs to [0.10.1](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.1) (changes) - Updated hap-nodejs to [0.10.2](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.2) (bug fixes) - Updated hap-nodejs to [0.10.3](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.3) (bug fixes) - Updated hap-nodejs to [0.10.4](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.4) (bug fixes) - Updated hap-nodejs to [0.11.0](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.11.0) (features and bug fixes)
First of all, thank you again for this great set of node!!
Describe the bug
The security system node behaves bad if you set the characteristics.
If you set the characteristics (see "to reproduce"), the node gives an error in the node-red log:
The bad thing, is that the node outputs a SecuritySystemTargetState = 1 (ARM AWAY) to the flow, arming the security system,
To Reproduce
Put a security system node ti the flow and set these characteristics in the config window.
Expected behavior
No error on noce-red log and no output SecuritySystemTargetState = 1
Thank you!!
The text was updated successfully, but these errors were encountered: