RGBW setcolbrightness impossible?

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
User avatar
Solderbro
Posts: 80
Joined: Tuesday 18 September 2018 15:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Hamburg, Germany
Contact:

RGBW setcolbrightness impossible?

Post 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
Raspi 3B+RTC, SSD 128GB, Aeotec Gen5, Eurotronic SpiritZ, Fibaro FRGBW, Zipato PIR, Everspring AN180, Neo Coolcam Plug, Fibaro FGMS, Neo Coolcam Doorsensor, Popp Z-Weather
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: RGBW setcolbrightness impossible?

Post 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 ?
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
User avatar
dre68
Posts: 27
Joined: Friday 30 January 2015 20:18
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

Re: RGBW setcolbrightness impossible?

Post 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'
User avatar
Solderbro
Posts: 80
Joined: Tuesday 18 September 2018 15:50
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Hamburg, Germany
Contact:

Re: RGBW setcolbrightness impossible?

Post 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
Raspi 3B+RTC, SSD 128GB, Aeotec Gen5, Eurotronic SpiritZ, Fibaro FRGBW, Zipato PIR, Everspring AN180, Neo Coolcam Plug, Fibaro FGMS, Neo Coolcam Doorsensor, Popp Z-Weather
User avatar
dre68
Posts: 27
Joined: Friday 30 January 2015 20:18
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Noordwijk, Netherlands
Contact:

Re: RGBW setcolbrightness impossible?

Post by dre68 »

Mine are all the same ID 0x1000 type 0x0900
008 and 010 are working great, the other 2 have the flashing behaviour
Attachments
RGBW.PNG
RGBW.PNG (39.29 KiB) Viewed 1161 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest