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

IC ST-DIM300 from IC Isenbügel - dimmer not handled correctly #11

Closed
Jobo504 opened this issue Feb 12, 2024 · 13 comments
Closed

IC ST-DIM300 from IC Isenbügel - dimmer not handled correctly #11

Jobo504 opened this issue Feb 12, 2024 · 13 comments

Comments

@Jobo504
Copy link

Jobo504 commented Feb 12, 2024

Hello,
IC ST-DIM300 seems not to be recognized correctly as a dimmer inside the integration.
The device is switchable and dimmable inside the integration ("Steuerelemente") but if used as light in a Lovelace card, it is only displayed as unknwon and is not controllable.
(Hint: All OEM Digitalstrom switches like e.g. EG-TKM300 and dimmers are running flawlessly)

Regards
Jochen

@Jobo504 Jobo504 changed the title IC ST-DIM300 from IC Isenbügel - dimmer not handed correctly IC ST-DIM300 from IC Isenbügel - dimmer not handled correctly Feb 12, 2024
@Mat931
Copy link
Owner

Mat931 commented Feb 21, 2024

Are you sure this is not a problem with your Lovelace card? Can you provide more details?

@Jobo504
Copy link
Author

Jobo504 commented Feb 22, 2024

Hello, yes I am nearly sure, that it is not a problem of the Lovelace-card, since I am using the standard "lights" card with the same configuration for all my other devices (e.g. GE-TKM210, GE-KM200, GE-TKM300).
But I am not really sure which more details I can provide to narrow the topic down.
So I just try to describe a little bit better the behavior:
The lights-card shows the devices as not available and I can't switch or dim it directly.
Bildschirmfoto 2024-02-22 um 17 39 13

But if I press the 3 dots in the right top corner of the "lights" Lovelace Card I can switch the lamp on with the power-button and I also can dim it.
But I can't switch off the lamp by the power-button (no reaction of this button anymore).
Bildschirmfoto 2024-02-22 um 17 40 15

All other devices can be switched on and off by pressing this power-button in my other "lights" lovelace-cards
So maybe it has something to do with the "off-state" definition of the IC Isenbügel device?

One further difference is the display inside the integration entities. All my other lights (examplary "Arbeitszimmer Deckenleuchte) are displayed as switch in opposite to the IC-Isenbügel device (Stehlampe Wohnzimmer) displayed with two flash-symbols for on and off (see pictures)
<i
Bildschirmfoto 2024-02-22 um 17 32 27
Bildschirmfoto 2024-02-22 um 17 33 12

@Mat931
Copy link
Owner

Mat931 commented Feb 23, 2024

Oh I see, there is a problem reading the state of the light from DS. Can you send me debug logs? Before you disable the debug logging please turn the light on and off and wait for about 10 minutes.

@Jobo504
Copy link
Author

Jobo504 commented Feb 23, 2024 via email

@Jobo504
Copy link
Author

Jobo504 commented Feb 23, 2024

home-assistant_digitalstrom_2024-02-23T16-44-11.409Z.log

@Mat931
Copy link
Owner

Mat931 commented Feb 23, 2024

I don't see a get_devices message in the log. Maybe you forgot to reload the integration or restart HA. And can you tell me the DSUID of the light? Thanks

@Jobo504
Copy link
Author

Jobo504 commented Feb 23, 2024

sorry, next try:
dSUID: 302ed89f43f00000000045000052df8f00 (Wohnzimmer Stehlampe)

home-assistant_digitalstrom_2024-02-23T18-07-43.234Z.log

@Mat931
Copy link
Owner

Mat931 commented Feb 23, 2024

Okay, that looks better. My integration tries to read the current brightness of the lamp from the following path: apartment/zones/zone0/devices/302ed89f43f00000000045000052df8f00/status/outputs/brightness/targetValue
but this path probably doesn't exist for your dimmer device. Can you go to the dSS configurator and check what the correct path for reading the brightness is?
a

@Jobo504
Copy link
Author

Jobo504 commented Feb 23, 2024

Bildschirmfoto 2024-02-23 um 20 03 24 Bildschirmfoto 2024-02-23 um 20 04 30

@Jobo504
Copy link
Author

Jobo504 commented Feb 23, 2024

I just checked again the devices chapter , it seems that the IC Isenbügel dimmer and IC Isenbügel switch have an additional [0] in the path:
so apartment/zones/zone0/devices/302ed89f43f00000000045000052df8f00[0]... instead of
apartment/zones/zone0/devices/302ed89f43f00000000045000052df8f00
or even[1]

Maybe it's worth a try to reset/remove this dimmer from dss and connect it again to see if there is still this [0] int the path. I will try that tomorrow...

Bildschirmfoto 2024-02-23 um 20 19 42 Bildschirmfoto 2024-02-23 um 20 19 57

@Mat931
Copy link
Owner

Mat931 commented Feb 23, 2024

Okay, should be fixed. Please install the 'main' version of the integration in HACS until v0.0.9 is released and tell me if the dimmer works.

@Jobo504
Copy link
Author

Jobo504 commented Feb 23, 2024

thanks, that works
BUT: I just reseted all my devices via the reset-button in the system maintenance tab of dss and it looks like now the [0] disappeared and we are talking about the regular path again for the IC-Isenbügel devices. I don't know why this happened originally only to these devices.
In consequence your bugfix in the main version is not needed any more btw. needs to be reverted..
Sorry for the trouble I caused but you pointed me in the right direction where to look. Thanks!

@Mat931
Copy link
Owner

Mat931 commented Feb 23, 2024

Okay, reverted. Still would be interesting to know if this could happen again and how to detect it.

@Mat931 Mat931 closed this as completed Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants