Fibaro RGBW - set color?

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:

Fibaro RGBW - set color?

Post by Solderbro »

Trying to figure out. how to set a color for the fibaro. In the switches section there is the hex numeber shown that seems to be in use. But how can this be adressed in blockly?

This for example results to no light at all, i calculated the required 0xFFDEAD code to decimal

Bildschirmfoto vom 2019-07-25 21-30-37.png
Bildschirmfoto vom 2019-07-25 21-30-37.png (25.34 KiB) Viewed 1512 times

Popular color codes for testing

http://www.tayloredmktg.com/rgb/

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: Fibaro RGBW - set color?

Post by waaren »

Solderbro wrote: Thursday 25 July 2019 21:34 Trying to figure out. how to set a color for the fibaro. In the switches section there is the hex numeber shown that seems to be in use. But how can this be adressed in blockly?
I don't think its possible in domoticz Blockly. You can do this in Lua, dzVents, Python, PHP or any other scripting language.
in dzVents it could look like.

Code: Select all

return {
    on      =   { devices   = { 'Bad PIR Sensor' }},

    execute = function(dz, item)
        if item.active and dz.time.matchesRule('at 00:00-10:00') then
            led = dz.devices('Bad LED RGB')
            rgbww = dz.devices('Bad Fibaro RGBW')

            rgbww.switchOn()
            rgbww.setHex(0xFF,0xDE,0xAD) 

            led.cancelQueuedCommands()
            led.dimTo(30)
            led.switchOff().afterSec(300)
        end
    end
}
When not yet familiar with dzVents please start with reading Get started Before implementing. Special attention please for
"In Domoticz go to Setup > Settings > Other and in the section EventSystem make sure the checkbox 'dzVents disabled' is not checked. Also make sure that in the Security section in the settings you allow 127.0.0.1 to not need a password. dzVents uses that port to send certain commands to Domoticz. Finally make sure you have set your current location in Setup > Settings > System > Location, otherwise there is no way to determine nighttime/daytime state."
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Gerwin
Posts: 84
Joined: Friday 12 August 2016 13:08
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Fibaro RGBW - set color?

Post by Gerwin »

Hello

it is possible in blockly ,
if you make a group you can set in devices the fibaro and select the right color you want and save .
And put that group in blockly


Gerwin
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Fibaro RGBW - set color?

Post by waaren »

Gerwin wrote: Friday 26 July 2019 10:18 if you make a group you can set in devices the fibaro and select the right color you want and save .
Thx. did not think about that approach.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
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: Fibaro RGBW - set color?

Post by Solderbro »

Okay i see that my next step is to start with dzvents, so i can add both systems.

Thanks

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest