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

Here you go Mariano:

1 Like

Mariano, does that last test I did help at all with why the same string is not making it to the Zwave Bulb driver?

The serColor command does not support a text format.
either sharptools sends a numeric format or smartthings supports text or it won’t work.

A capabilty could be made that accepts that format and forwards it to the device with the correct format, but it would only work for this device or I do the custom capability and code for each profile and each command.

I think the best is that smartthings and shsrptools communicate in the same language

1 Like

It works for DTHs so I guess the issue is isolated to drivers. I’ve asked @joshua_lyon over on his community to investigate.

Thanks.

I mentioned it over in the SharpTools thread, but copying it here as well in case it could help another future reader – In the meantime, could you call the setHue() command to change the color with your variable?

If the saturation of your bulbs also change, you could use the setSaturation() command as well.

1 Like

I’m having an issue with my FGS-222 where the switch 2 will not load in the app, which effectively hinders me in triggering it. Any advice? Switch one only works with the main on/off button

Upon excluding the device and then add it again it seem to magically have been fixed so working as expected now. for others seeing the Same issue there is a main and a switch 1, not S1 and S2 as we might have dealt with in the beforetimes.

1 Like

But one issue though, when using routines on switch 1 it will also trigger main. And it seems there is no way to actively set “on” or “off” specifically, just “on or off”. Sorry for the Norwegian in the images (av=off). Any advice for how to use them independently?


Hi @hmcramer

I use Android and to only activate switch 1 then all options in Main are un check

Could be a IOs app issue

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: