I noticed that the RGBW Zwave module from fibaro has an intresting function.
It contains multiple preprogrammed scenes that can be activated trough a Lua Script.( police siren,northern lights … )
Is there anyone that has done it yet in Openhab or knows how ? As i googled it i Saw that other systems can do it .
If you just want to have ‘preprogrammed scenes’ then you would need to use rules, which if I understand the MCV page you referenced, is what they are doing…
Can you point to the documentation where it says there are predefined themes within this device? I don’t see anything in the documentation that says this device can do any scenes.
The scenes in Vera appear to me to be controlled through rules - not directly in the device. The device has configuration options to set the time between colour changes, so I suspect you need to configure some of these and use a rule to change the settings to provide the scenes you want…
I might be wrong - maybe the device does have internal scene functionality, but the Fibaro documentation doesn’t mention it so I doubt it is included. If you can find the documentation on how this is configured, then I’d be happy to take another look.
If you read the topic i send you it does say its included inthe device by changing the parameter 72 from 5 till 6 , 5 programs are included in the device, fireplace,police siren,storm,northernlight,rainbow.
They say you have to set the module to rgb/rgbw, that i get and then change option 72.
The alarm scene in the fibaro is also selectable remember ? There i have the police scene setup.
Like i said before with homegenie i could activate these.
The fibaro api does it by http command, found the info on fibaro uk by googling fibaro rgbw programs.
http://www.fibarouk.co.uk/controlling-a-fibaro-rgbw-module-via-the-api/
In the manual, I’ve found :
72. Starting predefined program when device set to work in
RGB/RGBW mode (parameter 14) - relevant for main
controllers other than Home Center 2 only.
Default setting:
1
1-10
animation program number
Parameter size:
1[byte]
Great - so what do you need changed? Can’t you just do what it says (change parameter 72 etc)? There should be nothing stopping you from doing this on OH I think?
I don’t personally have this device, so I can’t try it, but have you tried to do what is suggested in the information you’ve found?
You need to create a item that is linked to the property you want to change. In this case you want to change a configuration setting - as per the wiki, you need to do something like the following -: zwave=xx:command=CONFIGURATION, parameter=72
This should configure an item linked to parameter 72. Then you need to add this to your sitemap - you probably want to add some mappings so that you can name the scenes appropriately. The mapping will map the name to the command you want to send.
If you want to set parameter 72 to 6, then in your sitemap button, you should configure a mapping that sets number 6 to “Scene 6” -: mappings = [ "1"="Scene 1", "6"="Scene 6" ]