Skip to content
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

Force associations in specific circumstances #1092

Merged
merged 1 commit into from
Dec 30, 2018

Conversation

cdjackson
Copy link
Collaborator

@cdjackson cdjackson commented Dec 20, 2018

This will prevent associations being removed if the system needs them, and the controller is configured as master. The PR searches to see if the database has an association configured, or if the association is the ZWave Plus Lifeline group. If so, it will set the association - thus preventing the user from removing it.

This is to avoid the system becoming unusable due to either lack of knowledge by users, or, through UI problems causing associations to be removed.

It also transpired that somewhere in the system (either in the UI, or in ESH) the arrays/lists are not being parsed correctly and the array is being presented as a string (eg [node_1, node_2]). Code has now been added to handle this format!

Signed-off-by: Chris Jackson [email protected]

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/solved-fibaro-door-window-sensor-2-fgdw-002-not-sending-door-open/36389/53

@cdjackson cdjackson force-pushed the force_association branch 3 times, most recently from e341d68 to 0326bf2 Compare December 30, 2018 18:57
@cdjackson
Copy link
Collaborator Author

Updated to try and resolve incorrect parsing of arrays from elsewhere in the system!

@cdjackson cdjackson force-pushed the force_association branch 2 times, most recently from 2a80f63 to b1fb379 Compare December 30, 2018 19:07
@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/fibaro-motion-sensor-fgms001-gen5-zwaveplus/16183/165

@openhab-bot
Copy link
Collaborator

This pull request has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/zwave-habmin-association-groups-not-stored-anymore-since-zwave-update/52527/32

@cdjackson cdjackson merged commit be476ad into openhab:master Dec 30, 2018
@cdjackson cdjackson deleted the force_association branch December 30, 2018 19:44
@cdjackson cdjackson added this to the 2.5 milestone Dec 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants