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

Channel error on double roller shutter rocker: BUSCH-JAEGER 6213/2.1 #18

Open
ML19821 opened this issue Sep 10, 2023 · 4 comments
Open
Labels
bug Something isn't working

Comments

@ML19821
Copy link

ML19821 commented Sep 10, 2023

I have a double rocker:
BUSCH-JAEGER 6213/2.1
image

I use it as:

  • Roller shutter sensor
  • light dimming sensor
  • Roller shutter actuator

Currently the thing has the following channels, but for the light dimming channel i get the following errors:
UNINITIALIZED UNINITIALIZED (HANDLER_INITIALIZING_ERROR): Cannot read field "channelId" because the return value of "org.openhab.binding.freeathomesystem.internal.datamodel.FreeAtHomeDatapointGroup.getOutputDatapoint()" is null

image

If possible, I would also like to intercept a double click on the shutter sensor and the light dimming sensor.

The Json file from Swagger is attached.
response_1694350296885.json.txt

@ML19821 ML19821 added the bug Something isn't working label Sep 10, 2023
@andrasU
Copy link
Owner

andrasU commented Dec 31, 2023

Currently I do not see the root cause of this issue. I need to dig deeper an dunderstand. Did you have maybe a log-file for this case?

@ML19821
Copy link
Author

ML19821 commented Dec 31, 2023

Does this help you?
image

@andrasU
Copy link
Owner

andrasU commented Jan 1, 2024

I found the root of the issue.

Thr root cause is the datapoint for your dimming button is reporting 16 - AL_RELATIVE_SET_VALUE_CONTROL, however the dimming buttons shall report 17 - AL_ABSOLUTE_SET_VALUE_CONTROL
The 17 is handled in the binding the 16 is not yet implemented.

Additionally. Based on the ABB-BJ documentation this configuration with the paringID 16 can dim only in defined steps. Which is represented in 3 bits therefore:
0: stop
1: 100%
2: 50%
3: 25%
4: 12.5%
5: 6.25%
6: 3.125%
7: 1.5625%

In your json file is the value 8 which would mean that the dimming in that case was 0%:stop.

To be able to make a proper implementsation could you give me a hint how did you configured in your sysap and please send me two json outputs with 0% and max dimming.

Thank you

@ML19821
Copy link
Author

ML19821 commented Jan 1, 2024

@andrasU Thanks for your efforts.

I configured it on SysApp like this:
image
image

And here are three jsons, with the lights off, the lights on and dimmed to min and max.
OFF_response_1704129223969.json.txt
MIN_response_1704129266262.json.txt
MAX_response_1704129317763.json.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants