-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Blacklist some (but not all) HA config discoveries #3558
Comments
Hi @apella12! I could suggest to add a setting in order to enable/disable Configuration CC discovery. @ccutrer what do you think? About the possibility to enable/disable discoery of specific device entities, did you tried to manually set the |
See #3569 (comment) |
@apella12 : two questions. First, which version of openHAB are you running? The new configuration entities are Second, as per your log ( |
Yeah exactly |
@ccutrer @robertsLando |
1b: Indeed, |
1b) good to know tl;dr
What works now is
Because 9 & 10 are not present on my devices. We can change the json to use firmware versions Hope that helps. |
Ah, okay. So you have custom device config to specify new params (with a minValue), but not all of your devices actually support those params since they're on older firmware versions. So you are actually getting params with a current value (which is essentially garbage, since the device doesn't support that value) less than minValue. Yup, okay, got it. Nothing I can do about that. |
@robertsLando No you are good. Thanks again! |
Is your feature request related to a problem? Please describe.
I have highlighted in the OpenHAB (OH) community that ZUI can be used with OH in place of the OH Z-wave binding (and have implemented that myself). I think this would provide the OH community with additional features and ZUI with additional customers.
However, I implemented ZUI without the HA discovery because during testing several HA configs do not work within OH (The details are TL;DR for this request). Instead I used generic MQTT things (in OH lingo) directly from the zwave section of MQTT. This is okay for many OH users, but for less technical ones I had hoped for HA config discovery.
Describe the solution you'd like
Ability in the Node HASS tab to disable some of the config IDs, but not all. (This may be possible already, but all I have managed to do is disable all or none.) I'd also add that recently added configuration CC configs (number and switch) be disabled by default. Those are in the "static" category and IMO the ratio of clutter to usefulness is high. (I was changing two configurations (112 params) in a 35 node network and noticed within the HA config test environment have 600 new HA configs
Describe alternatives you've considered
Before the recent change (112 parameters) I registered and an issue with jinjava about using numbers as keys. Jinjava is what OH uses to decode the HA configs. There is also a PR to address, but it hasn't been merged for several months (don't know why, except the developers do not see as a problem). The other prior problem is with scenes (91) a null value creates a warning in a number channel, but works as a string item. Since the recent change there are numerous WARN messages because the device config files are not always right for the version of the device. (again tl;dr regarding examples). Rather than fix potentially dozens of device configs I'm suggesting the blacklist idea and that those be disabled by default.
Additional context
These probably won't mean much, but are from the OH logs.
Original issue.
Executing the JINJA-transformation failed: An error occurred while transformation. InterpretException: Error resolving expression [{22: "Window/door is open",5632: "Window/door is open in regular position",5633: "Window/door is open in tilt position"}[value_json.value] | default(value_json.value)]: TemplateStateException: Dict key must be a string or identifier, was: 22
Configuration issues (Configs 9 & 10) do not exist for my device (tried to change in ZUI, but returns "0"
The text was updated successfully, but these errors were encountered: