Control of Fibaro dimmer from OpenHAB not working as expected.

305 views
Skip to first unread message

Steve

unread,
Feb 14, 2015, 8:14:28 AM2/14/15
to ope...@googlegroups.com
Hello,

I am having some problems controlling a Fibaro dimmer from OpenHAB 1.6.2 (and previously 1.6.1).  As there are lots of people using them, I am sure I've just made a configuration mistake somewhere.

I've configured the dimmer with OpenHAB in association group 3 and when I control it using the physical switches the state of the item in OpenHAB is correctly updated. I can see in the zwave binding log events being generated when the switch is used and the state updated in OpenHAB.

However when I try to control the dimmer from OpenHAB using the increase/decrease buttons on a slider, the dimmer is only ever set to 5% or 0%. If I it turn on tracing in the zwave binding I can see a trace message saying that INCREASE is being converted to 5 and then a command is then sent to the dimmer. There is no further traffic from the dimmer, for example events with the current dimmer state that are generated by the physical switch.

The item configuration is:
Dimmer TestMiddleAsDimmer "Test Middle Dimmer [%d%%]" (GroupTest) {zwave="6"}

And the sitemap configuration is:
Slider item=TestMiddleAsDimmer

I've tried various additional parameters for the zwave binding in the item definition, including setting command=SWITCH_MULTILEVEL, but nothing seems to make any difference.

Does anybody have any suggestions of what to try?

Thanks,
Steve.

Chris Jackson

unread,
Feb 14, 2015, 8:21:23 AM2/14/15
to ope...@googlegroups.com
What UI are you using? There is an issue which shows up with the increase/decrease commands, and I think this is worse on the classic UI (in fact it may only occur on the classic UI). Is that what you’re using?

Steve

unread,
Feb 14, 2015, 10:06:55 AM2/14/15
to ope...@googlegroups.com
Hi,

Yes, I've been using the classic UI.

I've just tried to use GreenT and HABDroid to control the dimmer and I can set the level to any value.

I am now seeing a slightly different problem, which I am guessing could be related to the original problem.

When I move the slider in GreenT the bulb brightness changes as expected, however the value I've got in the item text does not update.  I can see the events in the OpenHAB log saying that the item received the command (eg 50), followed by the state has been updated (eg to 50).

Thanks,
Steve.

Chris Jackson

unread,
Feb 14, 2015, 10:19:56 AM2/14/15
to ope...@googlegroups.com

When I move the slider in GreenT the bulb brightness changes as expected, however the value I've got in the item text does not update.  I can see the events in the OpenHAB log saying that the item received the command (eg 50), followed by the state has been updated (eg to 50).

I think this is a more general issue where items aren’t updating correctly through the REST API -:

Chris

Steve

unread,
Feb 14, 2015, 4:51:56 PM2/14/15
to ope...@googlegroups.com
Thanks Chris for you help.

I had a play about with some rules (attached for future reference) and now have the dimmer working in the classic UI.

Steve.
default.rules

Thomas Eichstädt-Engelen

unread,
Feb 14, 2015, 5:08:09 PM2/14/15
to ope...@googlegroups.com
Hi Steve,

@sja applied some fixes to the Classic-UI on Friday. You could have a try with the latest Snapshot build and see if the error still exists (5% INCREASE) still exists. Regarding the UI Update … this could indeed be due to #765.

Thanks,

Thomas E.-E.



--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/5b481189-2a0b-4c90-abe5-7563fd264919%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages