Welcome to Smart Home Forum by FIBARO
Dear Guest,
as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.
As a member you can:
- Start new topics and reply to others
- Follow topics and users to get email updates
- Get your own profile page and make new friends
- Send personal messages
- ... and learn a lot about our system!
Regards,
Smart Home Forum by FIBARO Team

Question
Jamie mccrostie 82
Say you want to use a RGBW module to control other dimmer2 devices in your set up.
The following scene and settings will let you do just that.
Useful also if you are trying to upgrade a old bus wired smart home systems with home run controlled circuits
to zwave system.
Mount RGBW modules in old system switch locations. Use old bus wiring as 12v/24v RGBW supply.
Replace old din mounted dimmer and switch modules at control cabinet with zwave devices giving you up to 4 switches
per RGBW module.
Solved, thanks @ReneNL
and @Soporte Life2Better for response time hint
Use this scene, set module to output mode, set parameter 10 to 1 sec
488 = RGBW module id
122 to 118 = controlled remote dimmers id's
--[[
%% properties
488 value
%% events
%% globals
--]]
rgb = 488
dimmer1 = 122
dimmer2 = 152
dimmer3 = 156
dimmer4 = 118
function split(source, delimiters)
local elements = {}
local pattern = '([^'..delimiters..']+)'
string.gsub(source, pattern, function(value) elements[#elements + 1] = value; end);
return elements
end
colorstatus = split(fibaro:getValue(rgb, "color"),",")
fibaro:call(dimmer1,"setValue", math.floor (100*(colorstatus[1]/255)))
fibaro:call(dimmer2,"setValue", math.floor(100*(colorstatus[2]/255)))
fibaro:call(dimmer3,"setValue", math.floor(100*(colorstatus[3]/255)))
fibaro:call(dimmer4,"setValue", math.floor(100*(colorstatus[4]/225)))
Edited by Jamie mccrostie6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.