(EDGE Driver-Mc): Z-Wave Edge Drivers and others with FIBARO devices:

I have this working now by sending separate numeric values for hue and saturation.

Unrelated to SharpTools, I’ve noticed with this driver that when you switch RGB to on the dimmer value jumps to 100% (also happens when turning on White). The setHue or setSaturation commands effectively also turn on RGB meaning every time you issue a setHue or setSaturation command the dimmer jumps to 100%. Is there something I’m not understanding? Is this by design, a limitation of the device or code, or is this a bug?

Hi @Nezmo,

Does it really raise the level to 100% in the bulb or does it only show 100% in the app?

could you send my a log of the command of new hue received? in order to see the reports multilevel endpoints received in the driver.
The code omit reports multilevel from end points 1 to 5.

In the logs you sent 2 days ago receive level 14% from endpoint 2 and 99% (100%) from endpoints 2, 3 and 0. In this case emit 100% due to value received from endpoint 0

It physically changes the bulb to 100% as well as changing to 100% in the app.

A ran a test as follows:

  1. Set dimmer in the app to 20%
  2. Turned off the device in the app (using the main On/Off)
  3. Turned on RGB in the app

The device turned on and jumped to 100%.

Logs from test below:

2022-09-11T17:27:55.358136778+00:00 TRACE Z-Wave Bulb Mc  Received event with handler capability
2022-09-11T17:27:55.366272778+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> received command: {"args":{},"capability":"switch","command":"on","component":"rgb","positional_args":{}}
2022-09-11T17:27:55.370756111+00:00 TRACE Z-Wave Bulb Mc  Found CapabilityCommandDispatcher handler in zwave_bulb -> Fibaro RGBW Controller
2022-09-11T17:27:55.377064403+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> sending Z-Wave command: {args={color_components={{color_component_id="RED", value=255}, {color_component_id="GREEN", value=0}, {color_component_id="BLUE", value=0}}}, cmd_class="SWITCH_COLOR", cmd_id="SET", dst_channels={}, encap="AUTO", payload="\x03\x02\xFF\x03\x00\x04\x00", src_channel=0, version=1}
2022-09-11T17:27:55.410191070+00:00 TRACE Z-Wave Bulb Mc  Z-Wave command(a23c9d05) queued for radio transmission: CC:Switch Color, CID:0x05
2022-09-11T17:27:55.419816195+00:00 PRINT Z-Wave Bulb Mc  value >>>>>   255
2022-09-11T17:27:55.428555695+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> emitting event: {"attribute_id":"switch","capability_id":"switch","component_id":"main","state":{"value":"on"}}
2022-09-11T17:27:55.563996361+00:00 TRACE Z-Wave Bulb Mc  Z-Wave command(a23c9d05) transmit status: TRANSMIT_COMPLETE_OK
2022-09-11T17:27:55.589906903+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled
2022-09-11T17:27:55.679318945+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled
2022-09-11T17:27:57.430209570+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> sending Z-Wave command: {args={color_component_id="RED"}, cmd_class="SWITCH_COLOR", cmd_id="GET", dst_channels={}, encap="AUTO", payload="\x02", src_channel=0, version=1}
2022-09-11T17:27:57.443347862+00:00 TRACE Z-Wave Bulb Mc  Z-Wave command(02bba9db) queued for radio transmission: CC:Switch Color, CID:0x03
2022-09-11T17:27:57.446338987+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled
2022-09-11T17:27:57.563013112+00:00 TRACE Z-Wave Bulb Mc  Z-Wave command(02bba9db) transmit status: TRANSMIT_COMPLETE_OK
2022-09-11T17:27:57.622055653+00:00 TRACE Z-Wave Bulb Mc  Received event with handler unnamed
2022-09-11T17:27:57.627075528+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> received Z-Wave command: {args={color_component_id="RED", value=210}, cmd_class="SWITCH_COLOR", cmd_id="REPORT", dst_channels={}, encap="NONE", payload="\x02\xD2", src_channel=0, version=1}
2022-09-11T17:27:57.639776403+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb -> Fibaro RGBW Controller
2022-09-11T17:27:57.643111862+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> emitting event: {"attribute_id":"switch","capability_id":"switch","component_id":"rgb","state":{"value":"on"}}
2022-09-11T17:27:57.656029112+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> emitting event: {"attribute_id":"hue","capability_id":"colorControl","component_id":"rgb","state":{"value":0}}
2022-09-11T17:27:57.667758903+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> emitting event: {"attribute_id":"saturation","capability_id":"colorControl","component_id":"rgb","state":{"value":100}}
2022-09-11T17:27:57.678776862+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled
2022-09-11T17:27:58.152726695+00:00 TRACE Z-Wave Bulb Mc  Received event with handler unnamed
2022-09-11T17:27:58.168228903+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> received Z-Wave command: {args={value=99}, cmd_class="SWITCH_MULTILEVEL", cmd_id="REPORT", dst_channels={2}, encap="NONE", payload="c", src_channel=2, version=1}
2022-09-11T17:27:58.180039903+00:00 TRACE Z-Wave Bulb Mc  Received event with handler unnamed
2022-09-11T17:27:58.185266778+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> received Z-Wave command: {args={value=99}, cmd_class="BASIC", cmd_id="REPORT", dst_channels={}, encap="NONE", payload="c", src_channel=0, version=1}
2022-09-11T17:27:58.190934195+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb -> Fibaro RGBW Controller
2022-09-11T17:27:58.193985945+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled
2022-09-11T17:27:58.201565112+00:00 TRACE Z-Wave Bulb Mc  Received event with handler unnamed
2022-09-11T17:27:58.207109862+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> received Z-Wave command: {args={value=99}, cmd_class="SWITCH_MULTILEVEL", cmd_id="REPORT", dst_channels={1}, encap="NONE", payload="c", src_channel=1, version=1}
2022-09-11T17:27:58.212774028+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb
2022-09-11T17:27:58.216133945+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> emitting event: {"attribute_id":"switch","capability_id":"switch","component_id":"main","state":{"value":"on"}}
2022-09-11T17:27:58.227147528+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb
2022-09-11T17:27:58.231515445+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> emitting event: {"attribute_id":"level","capability_id":"switchLevel","component_id":"main","state":{"value":100}}
2022-09-11T17:27:58.242793862+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb
2022-09-11T17:27:58.246895362+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> sending Z-Wave command: {args={scale=2}, cmd_class="METER", cmd_id="GET", dst_channels={}, encap="AUTO", payload="\x10", src_channel=0, version=3}
2022-09-11T17:27:58.259573695+00:00 TRACE Z-Wave Bulb Mc  Z-Wave command(f64ad7bb) queued for radio transmission: CC:Meter, CID:0x01
2022-09-11T17:27:58.262586070+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled
2022-09-11T17:27:58.273011403+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb -> Fibaro RGBW Controller
2022-09-11T17:27:58.275989070+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled
2022-09-11T17:27:58.363877320+00:00 TRACE Z-Wave Bulb Mc  Z-Wave command(f64ad7bb) transmit status: TRANSMIT_COMPLETE_OK
2022-09-11T17:27:58.412703862+00:00 TRACE Z-Wave Bulb Mc  Received event with handler unnamed
2022-09-11T17:27:58.422876028+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> received Z-Wave command: {args={delta_time=0, meter_type="ELECTRIC_METER", meter_value=6.6, precision=1, previous_meter_value=0.0, rate_type="IMPORT", scale="WATTS", size=2}, cmd_class="METER", cmd_id="REPORT", dst_channels={}, encap="NONE", payload="\x21\x32\x00\x42\x00\x00\x00\x00", src_channel=0, version=3}
2022-09-11T17:27:58.436798070+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb
2022-09-11T17:27:58.440484445+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> emitting event: {"attribute_id":"power","capability_id":"powerMeter","component_id":"main","state":{"unit":"W","value":6.6000000000000005}}
2022-09-11T17:27:58.451276070+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb
2022-09-11T17:27:58.454867445+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled
2022-09-11T17:28:00.291561862+00:00 TRACE Z-Wave Bulb Mc  Received event with handler unnamed
2022-09-11T17:28:00.297364237+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> received Z-Wave command: {args={precision=1, scale="WATTS", sensor_type="POWER", sensor_value=7.9, size=2}, cmd_class="SENSOR_MULTILEVEL", cmd_id="REPORT", dst_channels={}, encap="NONE", payload="\x04\x22\x00\x4F", src_channel=0, version=1}
2022-09-11T17:28:00.310395820+00:00 TRACE Z-Wave Bulb Mc  Found ZwaveDispatcher handler in zwave_bulb
2022-09-11T17:28:00.313959154+00:00 INFO Z-Wave Bulb Mc  <ZwaveDevice: c5786932-377b-4657-be95-19313c95bc76 [BE] (Study Bookshelf LEDs)> emitting event: {"attribute_id":"power","capability_id":"powerMeter","component_id":"main","state":{"unit":"W","value":7.9}}
2022-09-11T17:28:00.327317029+00:00 DEBUG Z-Wave Bulb Mc  Fibaro Light device thread event handled

Hi @Nezmo

In the log I do not see that the driver sends any command to the device with level 99 0r 100.

The driver receives the rgb: on command from the app and performs:

  • Send command SWITCH_COLOR , SET Red:255, Green:0, Blue:0
  • Send command SWITCH_COLOR , GET
  • Receive thedevice response and emit
    • RGB switch: on
    • Hue: 0
    • Saturation: 100
  • Then it receives 3 level messages: 99 and in this case it executes the one that comes from the BASIC_REPORT of endpoint 0 and emits the value level 100.

This makes me suppose that it is the device itself that sets the level to 100% and the only thing the driver does is emit the value received from the device.

I don’t know if the parameter settings could change this behavior

I unfortunately do not have an android device in hand to test. But that screenshot of yours @Mariano_Colmenarejo , is that from the “if” section or the “then”? on the If side I get the options too:

But on the then side I get:


So in essence there seems to be more options in the “if” side, which is kind of strange…

And another thing I see is that I can’t use the Switch 1 in any scenes…

This is a issue with the las IOs app

My screenshot is the Then part

My scanes works fine for Switch 1

2 Likes

Okay thank you.

I don’t see anything in parameters or the documentation for the device. An anomaly I guess.

From automations or shapTools you can send the setHue, setSaturation and setLevel command too

Right. I am doing exactly that. Not in the test I did above as that was just turning on RGB. But from SharpTools I send setHue, setSaturation and setLevel. The level command gets overridden to 100.

@Mariano_Colmenarejo Great work! Do you have plans to include the Dimmer 1 (FDG-211)? Thanks.

The Fibaro dimmer is already supported by ST official edge driver.
Install ZWAVE Switch
From here:

That’s good news. In the Smartthings FAQ they say “This device will no longer be supported in the SmartThings app.” so I assumed the official driver would not work.

Hello @Mariano_Colmenarejo.
2 Questions for you:

  • Is it normal that when we swype in a Device using “Window Treatment MC” Driver, the data is not refreshed?
  • Is it normal not seeing the energy status of the device? It only shows up a cloud with a line crossing it. When I used a DTH this information was available.

This is a smartthings problema, i reported It in the community. Zwave devices not works refresh

It should work, it may not be paired correctly or the parameters that control the power and energy reports may not be configured correctly.

I don’t have these devices and I can’t see anything.

Ask other users of these devices to see if they want to help with something

Ok. I don’t think that is a parameter problem. There is nothing there that we can choose on or off for energy/power meters…

Is there anyone using these driver with “Fibaro FGR-222” and have energy/power meters working???

This works a treat on my FIBARO ROLLER SHUTTER 2 (FGR-222).

The only issue is I used the “invert switch” option in the DTH, is that something that can be added easily? Forgive me if I have missed something…

I have had an issue with Power and Energy Consumption levels not displaying properly for the FGR-222 for a while in the SmartThings app (using a DTH and now the same with an Edge driver).

I see the icon that is a cloud with a line through it.

If anyone knows a fix I would also like to know this!

I think the link you referred is for the Dimmer Version 1 only, the version 2 is supported

1 Like

This is the invert option I was hoping to use in this new driver… Anyone have any ideas if this is possible to add?

Hi @quentin_rayner

This device has no parameters to change the setting of inverting the open and close inputs.
To do so, you would have to modify the driver code.
A possible solution is that you open the mechanism where the switch is and change the cables Q1 for Q2. This way when you command it to open it will close and when you command it to close it will open

Diagramas de cableado:


Diagrama de cableado de Roller Shutter