basklj
Membres confirmés-
Compteur de contenus
27 -
Inscription
-
Dernière visite
Profile Information
-
Sexe :
Homme
-
Ville :
Zaltbommel
-
Box
Autre
-
Version
HC3
Visiteurs récents du profil
915 visualisations du profil
basklj's Achievements
Newbie (1/14)
2
Réputation sur la communauté
-
Hello, I am wondering if it is possible to run different GEA devices on my HC3. For example a GEA device for the kitchen, a separate GEA device for the living room etc etc.? And I am further struggling with the folllowing (which I am nor sure is even possible or work), defining and combining local: local Home = {"Global", "HomeStatus", "Home"} local Away = {"Global", "HomeStatus", "Away"} local Asleep = {"Global", "PresenceStatus", "Asleep"} local Awake = {"Global", "PresenceStatus", "Awake"} local HomeAwake = {Home, Awake} and how to apply this in the following code: GEA.add({ {"Global", "HomeStatus", "Home"}, {"Global", "PresenceStatus", "Awake"}}, 1, "", {{"Hue", id["Snk_Lght"], "bri", "30"}, {"Hue", id["Ktchn_Dry"], "bri", "50"}, {"Hue", id["Ktchn_Smll"], "bri", "50"}}) Thank you
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
thanks for the effort, works perfect now
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
yes, sorry, i noticed the missing line, it should read: GEA.add(id["Hll_Pir"], 1*60, "", {{"Inverse"}, {"Global", "Hll_Prsnc", "Absnc"}}) so what I try to achieve is that when the motion sensor Hll_Pir is idle for 60 seconds the global variable is changed to Absnc, meaning that the room is not occupied. when the sensor detects motion, the global variable is set to Prsnc i do experience that the global variable is not always set to Absnc while Iam sure the motion sensor has not been activated for several minutes.
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Thanks for your help, i do understand it better now I noticed that is not always executed, i.e. the global variable is not always changed to Absnc is this perhaps a result of the 60 sec in relation to the 30 sec of GEA.check.Every, or is it due to multiple other checks at the same time? i do check the presence (occupation) of several rooms and store this in a variable in order to control lights etc.
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Thanks for the quick reply I tested both approached and the first one does not work, the second does work. Do I understand it correctly that for GEA.add(id["Lvng_Pir"], 1, "", {{"Global", "Lvng_Prsnc", "Prsnc"}}) the movement needs to be detected for the duration of the value of GEA.checkEvery in order to change the Global -> Lvng_Prsnc?
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Good day, im trying to adjust a variable based on the triggering of a PIR sensor with the following code GEA.add({"Value+", id["Lvng_Pir"], 0}, 1, "", {{"Global", "Lvng_Prsnc", "Prsnc"}}) GEA.add({"Value-", id["Lvng_Pir"], 0}, 60, "", {{"Global", "Lvng_Prsnc", "Absnc"}}) But I cant get this to work. Variable is changed when I test GEA.add(true, 1, "", {{"Global", "Lvng_Prsnc", "Prsnc"}}) What am I doing wrong? Salut
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Hello Steven, Thanks, this was what I was looking for. Greatings Bas
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
good afternoon, this part of my code is not working GEA.add( {id["Grg_Main"], Nofire, Nottriggered, {"Value", id["Grg_Pir1"], 0}, {"Value", id["Grg_Pir2"], 0}}, 30, "", {"turnOn", id["Grg_Main"], 1*60} ) how can i combine the 2 PIR sensors as condition. brgds Bas
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
I figured it out, this works for me GEA.add( {"Value", 398, 0}, 30, "", {"RoomLights", "Kitchen", "turnOff"}) Thanks for your help and thinking along. Brgds Bas
- 12 330 réponses
-
- 1
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Hi, there is no error in the debug screen after I changed to the above. The variable is not changing either, even not when I changed the status of "Jbltrn_Fire" Brgds Bas
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Good afternoon, I am having problems with changing a variable based on the status of a sensor (smart implant). Relevant parts of my code: Header --[[ %% autostart %% properties 393 394 398 399 %% globals AlarmStatus FireStatus PresentState SleepState TimeOfDay --]] Defining locals local id = { Jbltrn_Set_Full = 393, -- id["Jbltrn_Set_Full"] Jbltrn_Set_Part = 399, -- id["Jbltrn_Set_Part"] Jbltrn_Triggered = 394, -- id["Jbltrn_Triggered"] Jbltrn_Fire = 398 -- id["Jbltrn_Fire"] } The difficult part GEA.add( {"Value-", id["Jbltrn_Fire"], "0"}, 1, "", {{"Global", "FireStatus", "Nofire"}}) GEA.add( {"Value+", id["Jbltrn_Fire"], "1"}, 1, "", {{"Global", "FireStatus", "Fire"}}) Your help is much appreciated. Salut Bas
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
somehow i can not get this to work: GEA.add( {{HomeEveningAwakeDark}, {id["Kitchen_Sink"]}}, 1, "", { {"Hue", id["HUE_kitchen"], "hue", 1}, --helder {"Hue", id["HUE_kitchen"], "bri", 254}, {"Hue", id["HUE_kitchen"], "sat", 121} }) trying to get 2 conditions ( local HomeEveningAwakeDark and the On condition of a device ) to trigger the settings of HUE_kitchen
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Bon soir, I noticed that since I installed the latest Fibaro software (4.140) that my GEA code is not working anymore. There is no error code is simply does this: [DEBUG] 20:30:43: GEA Version 5.40 : Running... [DEBUG] 20:30:43: Run : nothing to do for ID:634 [DEBUG] 20:30:45: GEA Version 5.40 : Running... [DEBUG] 20:30:45: Run : nothing to do [DEBUG] 20:30:50: GEA Version 5.40 : Running... [DEBUG] 20:30:50: Run : nothing to do for ID:509 [DEBUG] 20:30:51: GEA Version 5.40 : Running... [DEBUG] 20:30:51: Run : nothing to do for ID:634 [DEBUG] 20:30:54: GEA Version 5.40 : Running... [DEBUG] 20:30:54: Run : nothing to do [DEBUG] 20:30:59: GEA Version 5.40 : Running... [DEBUG] 20:30:59: Run : nothing to do for ID:336 [DEBUG] 20:31:00: GEA Version 5.40 : Running... [DEBUG] 20:31:00: Run : nothing to do for ID:336 [DEBUG] 20:31:01: GEA Version 5.40 : Running... [DEBUG] 20:31:01: Run : nothing to do for ID:336 [DEBUG] 20:31:02: GEA Version 5.40 : Running... [DEBUG] 20:31:02: Run : nothing to do for ID:336 [DEBUG] 20:31:03: GEA Version 5.40 : Running... [DEBUG] 20:31:03: Run : nothing to do for ID:336 [DEBUG] 20:31:04: GEA Version 5.40 : Running... [DEBUG] 20:31:04: Run : nothing to do for ID:336 [DEBUG] 20:31:05: GEA Version 5.40 : Running... [DEBUG] 20:31:05: Run : nothing to do for ID:336 [DEBUG] 20:31:06: GEA Version 5.40 : Running... [DEBUG] 20:31:06: Run : nothing to do for ID:336 [DEBUG] 20:31:07: GEA Version 5.40 : Running... [DEBUG] 20:31:07: Run : nothing to do for ID:336 [DEBUG] 20:31:08: GEA Version 5.40 : Running... [DEBUG] 20:31:08: Run : nothing to do for ID:336 [DEBUG] 20:31:15: GEA Version 5.40 : Running... [DEBUG] 20:31:15: Run : nothing to do for ID:33 [DEBUG] 20:31:29: GEA Version 5.40 : Running... [DEBUG] 20:31:29: Run : nothing to do for ID:33 [DEBUG] 20:31:31: GEA Version 5.40 : Running... [DEBUG] 20:31:31: Run : nothing to do [DEBUG] 20:31:32: GEA Version 5.40 : Running... [DEBUG] 20:31:32: Run : nothing to do for ID:509 [DEBUG] 20:31:45: GEA Version 5.40 : Running... [DEBUG] 20:31:45: Run : nothing to do for ID:567 [DEBUG] 20:31:46: GEA Version 5.40 : Running... [DEBUG] 20:31:46: Run : nothing to do [DEBUG] 20:32:10: GEA Version 5.40 : Running... [DEBUG] 20:32:10: Run : nothing to do for ID:33 [DEBUG] 20:32:11: GEA Version 5.40 : Running... [DEBUG] 20:32:11: Run : nothing to do [DEBUG] 20:32:14: GEA Version 5.40 : Running... [DEBUG] 20:32:14: Run : nothing to do for ID:509 [DEBUG] 20:32:31: GEA Version 5.40 : Running... [DEBUG] 20:32:31: Run : nothing to do for ID:567 [DEBUG] 20:32:33: GEA Version 5.40 : Running... [DEBUG] 20:32:33: Run : nothing to do [DEBUG] 20:32:37: GEA Version 5.40 : Running... [DEBUG] 20:32:37: Run : nothing to do for ID:634 [DEBUG] 20:32:38: GEA Version 5.40 : Running... [DEBUG] 20:32:38: Run : nothing to do for ID:697 [DEBUG] 20:32:39: GEA Version 5.40 : Running... [DEBUG] 20:32:39: Run : nothing to do [DEBUG] 20:32:41: GEA Version 5.40 : Running... [DEBUG] 20:32:41: Run : nothing to do for ID:603 [DEBUG] 20:32:56: GEA Version 5.40 : Running... [DEBUG] 20:32:56: Run : nothing to do for ID:509 [DEBUG] 20:33:38: GEA Version 5.40 : Running... [DEBUG] 20:33:38: Run : nothing to do for ID:509 [DEBUG] 20:33:41: GEA Version 5.40 : Running... [DEBUG] 20:33:41: Run : nothing to do for ID:567 [DEBUG] 20:33:43: GEA Version 5.40 : Running... [DEBUG] 20:33:43: Run : nothing to do for ID:634 [DEBUG] 20:33:44: GEA Version 5.40 : Running... [DEBUG] 20:33:44: Run : nothing to do [DEBUG] 20:34:20: GEA Version 5.40 : Running... [DEBUG] 20:34:20: Run : nothing to do for ID:509 [DEBUG] 20:34:29: GEA Version 5.40 : Running... and on, and on Can someone please help? Merci, regards Bas
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Thanks a lot ! I wouldnt have figured that out myself
- 12 330 réponses
-
- 1
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :
-
Thanks for your reaction. I tried same with other action (turnOn light) and then it works so I guess the { " Value "id [" Library_therm "], 20} is not correct for the LC13. I am not sure how to adjust the temperature setting.
- 12 330 réponses
-
- support
- script lua
-
(et 1 en plus)
Étiqueté avec :