Good day all ,
I bought a fibaro 3in1 sensor , but have some issues using it. According the manual you can use it as a scene controller , and that is exactly how I want to use it.
The documantation of the fibaro sensor is very poor , but I managed to find some info on the fibaro forum , but they cannot help me for the correct LUUP code on the vera3 . Since I have no clue how to programm things and use LUUP code , I hope someone can help me.
It is this device:
http://www.vesternet.com/z-wave-fibaro-universal-door-window-sensor-5
The manual:
http://materialy.fibaro.com/instrukcje/instructions_EN/door-window/DoorWindowSensor%20%20FGK-101-107%20ENG%20v12.pdf
The parameter #14 in the setup for the sensor I have allready changed (parameter 14 to 1)
here a copy paste of the manual:
Parameter no. 14 Scene activation functionality. Default value: 0 Available parameter settings: 0 - functionality deactivated 1 - functionality activatedThe device offers the possibility of sending commands compatible
with Command class scene activation. Information is sent to
devices assigned to association group no. 3
Controllers such as the Home Center 2 are able to interpret such
commands and based on these commands activate scenes, to
which specific scene IDs have been assigned. The user may
expand the functionality of a button connected to IN input by
distinguishing the sequence of it being pushed. For example:
double click would trigger the ?goodnight? scene and triple click
would trigger the ?morning? scene. To fully use the possibilities
offered by the parameter no.14 it is recommended to use a
momentary or a toggle switch (parameter no.3).
Scene ID is determined in the following manner:
IN input:
Switch from ?off? to ?on? ID10
Switch from ?on? to ?off? ID11
Remaining IDs are recognized correctly if the value of parameter
no.3 was set to 2
Holding down ID12
Releasing ID13
Double click ID14
Triple click ID15
And here some LUUP code I found on the fibaro forum:
[code]if ( tonumber(fibaro:getValue(45, “sceneActivation”)) == 10)
then
end[/code]
(45 - id device
10 - value of scen activation from instruction)
and this code:
[code]–[[
%% properties
44 sceneActivation
%% globals
–]]
if ( tonumber(fibaro:getValue(44, “sceneActivation”)) == 24)
then
fibaro:call(38, “turnOn”)
end [/code]
But I think this is only for a fibaro HC2 or so.
Can someone tell me how I put this LUUP code into a scene? and what the right order is?
I guess I start with a new scene, But do I go to “trigger” and insert some LUUP-code or go to “LUUP” directly.
Any help is very much appreciated.
( here the thread I started about this device:
http://forum.micasaverde.com/index.php/topic,13302.0.html)
Cor