Dimmer 2 broken in last few updates

Has anyone else notice that the Fibaro dimmer 2 isn't bean working correctly? I thought it was just the custom driver but i have swapped over to @mike.maxwell built in one and the level state doesn't respond. If I hit configure it will grab the correct level again, but that will then break the switch inputs.

logs

can you enable debug logging then send a level command, post this, thanks

I have just managed to fix his one. I couldn't find anything wrong with it so i excluded it and factory reset it and joined it again and your driver worked :thinking: the others are still doing it though so something has changed but not sure why a factory reset was the only thing that fixed this one, rather than just going to your driver. There is definitely something wrong with the custom driver dimmer part now though, but need it for the button events.

Mike was there anything changed in 2.2.0 that could have caused a break?

@mike.maxwell
Awhile back I believe you mentioned adding button presses / support for the secondary input to the default driver? It would be nice to use all the features of this device with a default driver. Is this something you can include on the next update. Thanks

2 Likes

@BorrisTheCat the custom ericm driver is now showing errors and the s2 isn't working for me anymore... Used to work perfectly.

Anyone heard from ericm on what he suspects may be the cause?

@bobbyD Any ideas? Has there been an update that has caused these bugs? Is it easy to add s2 control to the default Fibarro Dimmer driver?

What exactly do you mean here? You mean that if you dim up/down from the physical switch, Hubitat doesn't see the change? I just tested this on a few of my switches, and it seems to work fine. I see the new level update on the device page, as well as in the logs (with debugging enabled). Below are some logs from when I tested dimming from my physical switch (momentary pushbutton type). Setting the level from the dashboard also seems to still work for me, too.

dev:1302020-05-24 16:51:38.588 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[9, 44], size:2, scaledSensorValue:234.8)
dev:1302020-05-24 16:51:33.490 debugSwitchMultilevelReport(value:99)
dev:1302020-05-24 16:51:33.488 debugSwitchMultilevelReport(value:99)
dev:1302020-05-24 16:51:33.084 debugBasicSet: BasicSet(value:99) : Endpoint: null
dev:1302020-05-24 16:51:33.056 debugBasicSet: BasicSet(value:99) : Endpoint: null
dev:1302020-05-24 16:51:32.303 debugSwitchMultilevelReport(value:99)
dev:1302020-05-24 16:51:32.299 debugSwitchMultilevelReport(value:99)
dev:1302020-05-24 16:51:31.572 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[5, 3], size:2, scaledSensorValue:128.3)
dev:1302020-05-24 16:51:21.552 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[0, 188], size:2, scaledSensorValue:18.8)
dev:1302020-05-24 16:51:16.888 debugSwitchMultilevelReport(value:33)
dev:1302020-05-24 16:51:16.885 debugSwitchMultilevelReport(value:33)
dev:1302020-05-24 16:51:16.488 debugBasicSet: BasicSet(value:33) : Endpoint: null
dev:1302020-05-24 16:51:16.454 debugBasicSet: BasicSet(value:33) : Endpoint: null
dev:1302020-05-24 16:51:14.521 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[6, 135], size:2, scaledSensorValue:167.1)
dev:1302020-05-24 16:51:09.186 debugSwitchMultilevelReport(value:83)
dev:1302020-05-24 16:51:09.182 debugSwitchMultilevelReport(value:83)
dev:1302020-05-24 16:51:08.779 debugBasicSet: BasicSet(value:83) : Endpoint: null
dev:1302020-05-24 16:51:08.748 debugBasicSet: BasicSet(value:83) : Endpoint: null
dev:1302020-05-24 16:51:08.489 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[4, 138], size:2, scaledSensorValue:116.2)
dev:1302020-05-24 16:50:56.449 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[3, 145], size:2, scaledSensorValue:91.3)
dev:1302020-05-24 16:50:54.040 debugSwitchMultilevelReport(value:60)
dev:1302020-05-24 16:50:54.037 debugSwitchMultilevelReport(value:60)
dev:1302020-05-24 16:50:53.906 debugBasicSet: BasicSet(value:60) : Endpoint: null
dev:1302020-05-24 16:50:53.865 debugBasicSet: BasicSet(value:60) : Endpoint: null
dev:1302020-05-24 16:50:53.822 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[8, 200], size:2, scaledSensorValue:224.8)
dev:1302020-05-24 16:50:43.956 debugSwitchMultilevelReport(value:99)
dev:1302020-05-24 16:50:43.951 debugSwitchMultilevelReport(value:99)
dev:1302020-05-24 16:50:43.819 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[7, 0], size:2, scaledSensorValue:179.2)
dev:1302020-05-24 16:50:43.347 debugBasicSet: BasicSet(value:99) : Endpoint: null
dev:1302020-05-24 16:50:43.325 debugBasicSet: BasicSet(value:99) : Endpoint: null
dev:1302020-05-24 16:50:43.054 debugBasicSet: BasicSet(value:0) : Endpoint: null
dev:1302020-05-24 16:50:43.018 debugBasicSet: BasicSet(value:0) : Endpoint: null

And a switch that has the Scene Activation enabled:

dev:1372020-05-24 16:42:42.957 debugSensorMultilevelReport: SensorMultilevelReport(precision:1, scale:0, sensorType:4, sensorValue:[0, 72], size:2, scaledSensorValue:7.2)
dev:1372020-05-24 16:42:38.958 debugSwitchMultilevelReport(value:11)
dev:1372020-05-24 16:42:38.954 debugSwitchMultilevelReport(value:11)
dev:1372020-05-24 16:42:38.346 debugBasicSet: BasicSet(value:11) : Endpoint: null
dev:1372020-05-24 16:42:38.245 debugBasicSet: BasicSet(value:11) : Endpoint: null
dev:1372020-05-24 16:42:37.933 infobuttonEvent() Button:1, Value:released
dev:1372020-05-24 16:42:37.930 infoSwitch configured as Momentary
dev:1372020-05-24 16:42:37.919 debugConfiguration for preference "Switch Type" is set to 0
dev:1372020-05-24 16:42:37.915 debugdimmingDuration: 0
dev:1372020-05-24 16:42:37.911 debugsceneId: 13
dev:1372020-05-24 16:42:37.907 debugSceneActivationSet: SceneActivationSet(dimmingDuration:0, sceneId:13)
dev:1372020-05-24 16:42:37.544 infobuttonEvent() Button:1, Value:released
dev:1372020-05-24 16:42:37.530 infoSwitch configured as Momentary
dev:1372020-05-24 16:42:37.522 debugConfiguration for preference "Switch Type" is set to 0
dev:1372020-05-24 16:42:37.518 debugdimmingDuration: 0
dev:1372020-05-24 16:42:37.515 debugsceneId: 13
dev:1372020-05-24 16:42:37.511 debugSceneActivationSet: SceneActivationSet(dimmingDuration:0, sceneId:13)

I don't know why I'm getting a lot of double log entries, though. (And I am still getting that new parse error that we're seeing in the logs).

Both that and even if you changed it in the driver it wouldn't change. But after a exclude and factory reset then join it worked again with the built-in driver (it joined using it so there must be something special it does). Then changed back to erics and not working again, but originally I changed it to the built in thinking that would fix it, that's why I created this post as it didn't.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.