Aller au contenu

basklj

Membres confirmés
  • Compteur de contenus

    27
  • Inscription

  • Dernière visite

Tout ce qui a été posté par basklj

  1. basklj

    Support Gea

    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
  2. basklj

    Support Gea

    thanks for the effort, works perfect now
  3. basklj

    Support Gea

    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.
  4. basklj

    Support Gea

    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.
  5. basklj

    Support Gea

    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?
  6. basklj

    Support Gea

    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
  7. basklj

    Support Gea

    Hello Steven, Thanks, this was what I was looking for. Greatings Bas
  8. basklj

    Support Gea

    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
  9. basklj

    Support Gea

    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
  10. basklj

    Support Gea

    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
  11. basklj

    Support Gea

    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. basklj

    Support Gea

    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
  13. basklj

    Support Gea

    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
  14. basklj

    Support Gea

    Thanks a lot ! I wouldnt have figured that out myself
  15. basklj

    Support Gea

    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.
  16. basklj

    Support Gea

    Hi, can somebody please help me with this code. I am trying to control my Danfoss LC13 (named Library_therm). It doesnt work but I am not sure whats wrong. GEA.add(Home, 1, "", { {"Day", "Monday, Tuesday, Wednesday, Thursday, Friday"}, {"Time", "6:01", "8:00"}, {"Value", id["Library_therm"], 20} })
  17. basklj

    Support Gea

    merci! does this also concerns the local variables? for example: local Light = {"Global", "LuxHome", "2"} do I only put "LuxHome" in the header or also "Light"
  18. basklj

    Support Gea

    good evening, I dont really understand what to put in the header: --[[ %% autostart ?? %% properties 13 value = id of a node (lamp/switch/etc) i understand this one 14 sceneActivation = ?? is this a node which triggers a scene ?? %% globals should i put all the used globals here? Awake Asleep etc? --]] Thank you for your help !
  19. basklj

    Support Gea

    Bonjour, Can anyone help me with the below code, lights turn off as set but the StopTask doesnt work Thanks in advance -- turn off walk in closet id["Walkincloset_Main"] off after 2 min PIR id["Walkincloset_PIR"] safe local WalkinCloset = GEA.add( {id["Walkincloset_Main"], {"value-",id["Walkincloset_PIR"], 1}}, 2*60, "", { {"turnOff", id["Walkincloset_Main"], "Repeat"} }) -- if id["Master_Shower"] is on then stop local WalkinCloset GEA.add (id["Master_Shower"], 1, "", {{"StopTask", WalkinCloset}}) -- turn off id["Master_Shower"] after 5 min (then WalkinCloset is active again) GEA.add (id["Master_Shower"], 5*60, "", { {"turnOff", id["Master_Shower"]} })
  20. basklj

    Support Gea

    All, thank you for teaching me the basics, however Im not able to make it operational. I now have the following made local Home = {"Global", "PresentState", "Home"} local Light = {"Global", "LuxHome", "2"} local Dark = {"Global", "LuxHome", "0"} local HomeLight = {Home, Light} local HomeDark = {Home, Dark} GEA.add( HomeDark, 1, "", { {"turnOn", 558} }) GEA.add( HomeLight, 1, "", { {"turnOff", 558} }) and I get the following debug [DEBUG] 16:39:06: [ PresentState=Home ] Run : checking (ID: 1) [turnOn,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] Check : starting checking (ID: 1) [turnOn,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] Check : checking dates (ID: 1) [turnOn,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] isActivated : activation checking (ID: 1) [turnOn,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] isActivated : type : global variable (ID: 1) [turnOn,558] [if..] [DEBUG] 16:39:06: isActivated : 'if' checking [DEBUG] 16:39:06: isActivated : type : global variable [DEBUG] 16:39:06: isActivated : activated [DEBUG] 16:39:06: [ PresentState=Home ] isActivated : activated (ID: 1) [turnOn,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] Run : checking (ID: 2) [turnOff,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] Check : starting checking (ID: 2) [turnOff,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] Check : checking dates (ID: 2) [turnOff,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] isActivated : activation checking (ID: 2) [turnOff,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] isActivated : type : global variable (ID: 2) [turnOff,558] [if..] [DEBUG] 16:39:06: isActivated : 'if' checking [DEBUG] 16:39:06: isActivated : type : global variable [DEBUG] 16:39:06: !CANCEL! isActivated: desactivated [DEBUG] 16:39:06: [ PresentState=Home ] !CANCEL! isActivated: 'if' stop the check (ID: 2) [turnOff,558] [if..] [DEBUG] 16:39:06: [ PresentState=Home ] !CANCEL! isActivated: desactivated (ID: 2) [turnOff,558] [if..]
  21. basklj

    Support Gea

    okay, thanks for the help so far but when I use the code below, and I change the lux variable once (from dark to light), my lights keep going off and on and off and on i didn't mean to built a disco, what am I doing wrong? GEA.add(HomeLight, 1, "", { {"turnOff", 482}, --worktop {"turnOff", 621}, --small light kitchen {"turnOff", 17}, --fire place {"turnOff", 619}, --small light living {"turnOff", 695}, --living main { "VirtualDevice", 666, 1}, --Iris HUE off {"Repeat"} }) GEA.add(HomeDark, 1, "", { {"turnOn", 482}, --worktop {"turnOn", 621}, --small light kitchen {"turnOn", 17}, --fire place {"turnOn", 619}, --small light living {"turnOn", 695}, --living main { "VirtualDevice", 666, 2}, --Iris HUE off {"Repeat"} })
  22. basklj

    Support Gea

    @pepite thank you for the quick answer will the following be the right code then? GEA.add(HomeLight, 1, "", { {"turnOff", 482}, --worktop {"turnOff", 621}, --small light kitchen {"turnOff", 17}, --fire place {"turnOff", 619}, --small light living {"turnOff", 695}, --living main { "VirtualDevice", 666, 1}, --Iris HUE off {"Repeat"} })
  23. basklj

    Support Gea

    Bonjour, Im trying to achieve some automatic lighting based on 2 variables, home / away and light / dark. I have some questions how to make this work, first how should i combine the variables, like this: local HomeDark = {"Global", "PresentState", "Home"}, {"Global", "LuxHome", "0"} local HomeLight = {"Global", "PresentState", "Home"}, {"Global", "LuxHome", "2"} local AwayDark = {"Global", "PresentState", "Away"}, {"Global", "LuxHome", "0"} local AwayLight = {"Global", "PresentState", "Away"}, {"Global", "LuxHome", "2"} or is this possible? : local Home = {"Global", "PresentState", "Home"} local Away = {"Global", "PresentState", "Away"} local Light = {"Global", "LuxHome", "2"} local Dark = {"Global", "LuxHome", "0"} local HomeDark = {Home}, {Dark} local HomeLight = {Home}, {Light}
  24. basklj

    Support Gea

    thank you for your response and pointing me in the right direction!
  25. basklj

    Support Gea

    just a condition of my house in order turn lights off and on --Presence local Home = {"Global", "PresentState", "Home"} local Away = {"Global", "PresentState", "Away"} --Lux local Light = {"Global", "LuxHome", "2"} local Twilight = {"Global", "LuxHome", "1"} local Dark = {"Global", "LuxHome", "0"} --Presencelux local HomeLight = {Home}, {Light} local HomeTwilight = {Home}, {Twilight} local HomeDark = {Home}, {Dark} i tried GEA.add( true, 1, "", {{"VirtualDevice", 666, 12}}) as well without any results in a block scene the VD button 12 is working
×
×
  • Créer...