Hi all,
I would like to dim the lights of my pergola but can’t figure out the setting to do that. After trying different settings in the .things and .item conf files. my concern is if it is supported.
Actually my TaHoma hub did detect the main light device along with a “LightVar_Wh_io” device, even if I only have one LED receiver. I suppose that one is to turn on/off the light on a channel and the second one to dim that light on another channel.
Try creating a sitemap, add your items and see if that works as PaperUI is not for control but system configuration. I recommend starting with BasicUI.
Also what do you see in the logs when trying to dim the lights?
Thanks for prompt reply! I’ve created the sitemap, but the outcome doesn’t change. I can turn on and off the light but still it can’t be dimmed, the values are completely ignored. This is what I have on the log file:
020-08-18 18:41:36.512 [vent.ItemStateChangedEvent] - PergolaLightSwitch changed from OFF to ON
2020-08-18 18:41:39.398 [ome.event.ItemCommandEvent] - Item 'PergolaLuce' received command 45
2020-08-18 18:41:39.402 [nt.ItemStatePredictedEvent] - PergolaLuce predicted to become NULL
2020-08-18 18:41:44.889 [ome.event.ItemCommandEvent] - Item 'PergolaLuce' received command 74
2020-08-18 18:41:44.895 [nt.ItemStatePredictedEvent] - PergolaLuce predicted to become NULL
2020-08-18 18:42:08.354 [ome.event.ItemCommandEvent] - Item 'PergolaLuce' received command 9
2020-08-18 18:42:08.360 [nt.ItemStatePredictedEvent] - PergolaLuce predicted to become NULL
That’s my suspicion as well, dimming is not supported since I’ve tried many different combinations. But here we would need a comment from the developer @Ondrej_Pecta of the Tahoma/Connexxon binding to share some more details…
you are right, the dimming is not supported. I have some switches but none of them support dimming so I can’t simply add the support.
Can someone having them please PM me with the trace log of your discovery?
There should be the getSetup response containing the detailed info about these switches and commands they accept.
I can add the support afterwards.
Thanks
Ondrej
Hi Ondrej!
Thanks for your quick reply Good you have confirmed that it’s not supported since I had the doubt that my configuration was wrong somewhere.
I’ve enable tracing of you binding with:
and got the following attached log file. The operation I’ve done is to turn on the lights, dim the light down and then turn them off. I hope this is enough to understand where to support dimming. That would be awesome!
Great log!
Sorry, but the important info is still missing, I really need to see the trace log during the discovery phase.
Can you please force the discovery of SomfyTahoma binding and send me the log?
please remove your lights and let them autodiscover once more.
Now the dimmer ones should be detected as “dimmerlight” with and an extra channel for setting the intensity. Hope we will move further
On my sitemap I’ve added a slider attached to the “PergolaLightD” item but when using it it doesn’t change the intensity even when the log files shows the different values.
I think I have found the problem.
You cannot have two different things bound to a single device. The new thing dimmerlight replaces your former onoff light;
So I suggest
Hi,
I’ve applied your suggestions. Now, when I keep only the dimmerlight thing, it doesn’t show up anymore in the Thing list in PaperUI. I’ve noticed from the log file that the dimmerlight thing is completly ignored.
Regardless of that, I can use it from my sitemap, but nothing happens at all. Now not even the light is turning on but I suppose that is due of the fact that the thing to operate on is not there…
I hope the thing appears in the paperUI thing. If not, can you comment out the dimmerlight in your .things file and let it auto discover and add it manually?
I have the light binding back and also notice that, when I only use the slider to increase or decrease the light intensity, it turns on or off the light. So there’s no need to use a switch to first turn the light on and then vary the intensity. Awesome!
Hi Ondrej,
I’m noticing some odd behavior on the dimmerlight thing, it toggles from online to offline and back continuously, which doesn’t happen with the awning thing I have:
2020-09-11 15:16:48.538 [hingStatusInfoChangedEvent] - 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' changed from OFFLINE (COMMUNICATION_ERROR): unavailable to ONLINE
2020-09-11 15:16:48.547 [me.event.ThingUpdatedEvent] - Thing 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' has been updated.
2020-09-11 15:17:49.459 [hingStatusInfoChangedEvent] - 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): unavailable
2020-09-11 15:17:49.465 [me.event.ThingUpdatedEvent] - Thing 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' has been updated.
2020-09-11 15:18:19.821 [hingStatusInfoChangedEvent] - 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' changed from OFFLINE (COMMUNICATION_ERROR): unavailable to ONLINE
2020-09-11 15:18:19.839 [me.event.ThingUpdatedEvent] - Thing 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' has been updated.
2020-09-11 15:19:20.565 [hingStatusInfoChangedEvent] - 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): unavailable
2020-09-11 15:19:20.571 [me.event.ThingUpdatedEvent] - Thing 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' has been updated.
2020-09-11 15:19:40.789 [hingStatusInfoChangedEvent] - 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' changed from OFFLINE (COMMUNICATION_ERROR): unavailable to ONLINE
2020-09-11 15:19:40.806 [me.event.ThingUpdatedEvent] - Thing 'somfytahoma:dimmerlight:124adb98:4e4bbb37-c738-47be-8fd4-106f3ff66e11' has been updated.
Note that Thing update log refers to some property of the Thing changing, not the same as a status change like online/offline.
It’ll make the Thing reinitialize, which in turn will provoke status activity.
It’s the kind of uhh thing that can happen when an updated binding is used with a Thing defined with a previous version, like the channels don’t match etc.
Worth deleting your Thing and recreating. Using the same UID should re-link to existing other stuff.