Page 1 of 1

RGBW setcolbrightness impossible?

Posted: Tuesday 27 August 2019 18:53
by Solderbro
Trying to set the RGBW color with setHex give me two effects here, they are the same with both Fibaro FRGB devices.

Code: Select all

2019-08-27 18:45:07.086 Status: EventSystem: Script event triggered: /home/domoticz/domoticz/dzVents/runtime/dzVents.lua
2019-08-27 18:45:07.100 Status: setcolbrightnessvalue: ID: 7e6, bri: 100, color: '{m: 1, RGB: f4fff9, CWWW: 0000, CT: 0}'
2019-08-27 18:45:07.100 Status: Incoming connection from: 127.0.0.1
2019-08-27 18:45:07.100 Error: OpenZWave: Internal Node Device not found! (NodeID: 41, 0x29) 
First the light comes up with 100% brightness, from just the setHex command. Second the device crashes out of the net and calls an failure email. Here first the dimmer is set to 90 percent, after that i like to set only the RGB color for the stripe. Do i have to use a combo of both commands? At the moment for brightness and color two different devices are in use.

Code: Select all

  
        local light = domoticz.devices('Kue LED RGB')
        local pir = domoticz.devices('Kue PIR Sensor')
        local color = domoticz.devices('Kue RGBW Color')
        local nachtlicht = domoticz.variables("Nachtlicht")
        local log = domoticz.log

                if nachtlicht.value == 0 then
                print('Taglicht einschalten')
                light.dimTo(90)
                color.setHex(0xF5,0xFF,0xFA)
Solderbro

Re: RGBW setcolbrightness impossible?

Posted: Tuesday 27 August 2019 19:15
by waaren
Solderbro wrote: Tuesday 27 August 2019 18:53 Trying to set the RGBW color with setHex give me two effects here, they are the same with both Fibaro FRGB devices.
Cannot test because I don't own these devices but in the log you see the call to domoticz. Maybe you will have better results with the setColor method ?

Re: RGBW setcolbrightness impossible?

Posted: Saturday 31 August 2019 23:33
by dre68
I have the same issue happening with my newer Fibaro RGBW switches, my older ones still work fine. All switches are set up the exact same way and colors are set with same command via lua :
/json.htm?type=command&param=setcolbrightnessvalue&idx=123&hue=335&brightness=50&iswhite=false'

Re: RGBW setcolbrightness impossible?

Posted: Sunday 01 September 2019 18:11
by Solderbro
Back, had some work on my fiets

Here the .setcolor does nothing, not even an entry in the logfile and the light stays off.

Took this device
local color = domoticz.devices('Bad RGBWZ Color')

and tried
color.setcolor(255, 255, 255, 90, 255, 2, 0, 0)

Looks like the command is ignored or the device bugged, so let's compare the version.

FIBARO System 0x1000 0x0900

Solderbro

Re: RGBW setcolbrightness impossible?

Posted: Sunday 01 September 2019 23:16
by dre68
Mine are all the same ID 0x1000 type 0x0900
008 and 010 are working great, the other 2 have the flashing behaviour