Aller au contenu

mickeys

Membres confirmés
  • Compteur de contenus

    11
  • Inscription

  • Dernière visite

Réputation sur la communauté

1 Neutral

À propos de mickeys

  • Rang
    Nouveau
  1. mickeys

    Support Gea

    pepite: Yes turn off and turn on the group
  2. mickeys

    Support Gea

    Mon code: My code: --[[ %% autostart %% properties 372 value 378 value 380 value 383 value 443 value 447 value 451 value 458 value 481 value %% globals --]] -- v 5.40 -- ================================================== -- GEA : Gestionnaire d'Evénements Automatique -- ================================================== -- -- [EN] This scene allow you to check every X second the status -- of a module and send actions if the module is activated since too long. -- This scene allow you a more simple annotation than LUA -- it requires some knowledge -- -- Paramétrage de GEA / GEA configuration function config() GEA.isVersionFour = true -- On est en version 4.017 Beta ou supérieure / GEA.language = "EN" -- Votre langue : FR (default) / Your language : EN GEA.checkEvery = 30 -- On vérifie toutes les X secondes (default : 30) / Check every X seconds GEA.portables = {458} -- Smartphones you want to be notified GEA.debug = false -- Show trace in the debug window --GEA.getGlobalForActivation = {"SuspendreGEA", "non"} -- active ou désactive l'exécution de GEA via une variable globale / active or deactive GEA execution with a global variable --GEA.catchError = false GEA.optimize = GEA.typeOptimize["IMMEDIATE_ONLY"] -- option : GEA.typeOptimize["NONE"], GEA.typeOptimize["IMMEDIATE_ONLY"], GEA.typeOptimize["ALL"] -- permet d'optimiser les soucis liés au getName et getRoom de fibaro mais n'affiche plus le nom des modules concernés. end local DeviceID = { -- Sektion: Gamla delen ovan -- Rum: Storarum SOFFA_FONSTER1 = 378, SOFFA_FONSTER2 = 380, -- Sektion: Gamla delen ovan -- Rum: Matrum/Kà¶k MATBORD_FONSTER = 451, FLOOD_AVLOPP = 443, FLOOD_VATTENROR = 447, -- Sektion: Gamla delen ovan -- Rum: Hall BINARY_LARM = 383, -- Sektion: Nya delen ovan -- Rum: Hall HALL_FONSTER = 451, -- Sektion: Gamla delen nedan -- Rum: Pannrum VATTEN = 481 } -- ID mobil local MobileID = { Iphone_6_Plus_Vit = 467 } -- Grupper fà¶r devices local FonsterLampor = { DeviceID["SOFFA_FONSTER1"], DeviceID["SOFFA_FONSTER2"], DeviceID["MATBORD_FONSTER"], DeviceID["HALL_FONSTER"] } local Flood = { DeviceID["FLOOD_AVLOPP"], DeviceID["FLOOD_VATTENROR"] } -- Add here events to schedule -- A samples list is available in another file called samples.lua function setEvents() --starta lampa vid skymning+1min och slà¤ck vid 23 tiden. GEA.add(true, 30, "", {{"Time", "14:16", "14:17"}, {"turnOn", DeviceID["FonsterLampor"]}}) GEA.add(true, 30, "", {{"Time", "Sunrise+05", "Sunrise+10"}, {"turnOff", DeviceID["FonsterLampor"]}}) Je reçois cette erreur: I get this error: [DEBUG] 08:27:31: [ Always ] !!! ERROR !!! : checking (ID: 4) [Time,Sunrise+05,Sunrise+10] [turnOff] [DEBUG] 08:28:01: [ Always ] sendActions : doing actions (ID: 4) [Time,Sunrise+05,Sunrise+10] [turnOff] Je l'ai essayé et il semble qu'il ne marche pas comme : I have tried and it seems it doesnt like: DeviceID["FonsterLampor"]
  3. mickeys

    Support Gea

    Bonjour, Je avoir un capteur Flood (443). Si il ya une alarme, je voudrais obtenir une poussée et puis aussi tourner de l'eau (444, ON / OFF Popp). Comment puis-je écrire cela? Hi, I have a FloodSensor (443). If there is an alarm I would like to get an push and then also turn of the water (444, ON/OFF Popp). How can I write that? GEA.add(DeviceID["FLOOD_ALARM"], -1, "FLOOD ALARM. (#date# #time#)", {{"Push", MobileID["Iphone_6_Plus_Svart"], "FLOOD ALARM"}})
  4. mickeys

    Support Gea

    Aha. I thought 381.1 was the ordinary name of that one.....You learn something all the time. :-) Anyway. I have tried it the new way but still no luck. I have two connection on this binary switch. One is when I switch of my alarm and one is when I switch on my alarm. (SAFE and VIOLATED) --[[ %% autostart %% properties 372 value 378 value 380 value 383 value 451 value 458 value %% globals --]] -- v 5.40 -- ================================================== -- GEA : Gestionnaire d'Evénements Automatique -- ================================================== -- -- [EN] This scene allow you to check every X second the status -- of a module and send actions if the module is activated since too long. -- This scene allow you a more simple annotation than LUA -- it requires some knowledge -- -- Paramétrage de GEA / GEA configuration function config() GEA.isVersionFour = true -- On est en version 4.017 Beta ou supérieure / GEA.language = "EN" -- Votre langue : FR (default) / Your language : EN GEA.checkEvery = 30 -- On vérifie toutes les X secondes (default : 30) / Check every X seconds GEA.portables = {458} -- Smartphones you want to be notified GEA.debug = false -- Show trace in the debug window --GEA.getGlobalForActivation = {"SuspendreGEA", "non"} -- active ou désactive l'exécution de GEA via une variable globale / active or deactive GEA execution with a global variable --GEA.catchError = false GEA.optimize = GEA.typeOptimize["IMMEDIATE_ONLY"] -- option : GEA.typeOptimize["NONE"], GEA.typeOptimize["IMMEDIATE_ONLY"], GEA.typeOptimize["ALL"] -- permet d'optimiser les soucis liés au getName et getRoom de fibaro mais n'affiche plus le nom des modules concernés. end local DeviceID = { -- Sektion: Gamla delen ovan -- Rum: Storarum SOFFA_FONSTER1 = 378, SOFFA_FONSTER2 = 380, -- Sektion: Gamla delen ovan -- Rum: Matrum/Kà¶k MATBORD_FONSTER = 451, -- Sektion: Gamla delen ovan -- Rum: Hall BINARY_LARM = 383, -- Sektion: Nya delen ovan -- Rum: Hall HALL_FONSTER = 451, } -- ID mobil local MobileID = { Iphone_6_Plus_Svart = 458 } -- Grupper fà¶r devices local FonsterLampor = { DeviceID["SOFFA_FONSTER1"], DeviceID["SOFFA_FONSTER2"], DeviceID["MATBORD_FONSTER"], DeviceID["HALL_FONSTER"], } -- Add here events to schedule -- A samples list is available in another file called samples.lua function setEvents() --starta lampa vid skymning-12min och slà¤ck vid 23 tiden. GEA.add(true, 30, "", {{"Time", "Sunset-14", "Sunset-12"}, {"turnOn", DeviceID["FonsterLampor"]}}) GEA.add(true, 30, "", {{"Time", "23:00", "23:02"}, {"turnOff", DeviceID["FonsterLampor"]}}) GEA.add (DeviceID["BINARY_LARM"], -1, "ALERTE - Intrusion. (#date# à #time#)", {{"Push", DeviceID["MobileID"], "ALARME - Alarme intrusion"}}) end
  5. mickeys

    Support Gea

    So I have tried this: LARM_HEM = 381.1 (my binary) (also is it correct to use the dot? ) MobileID = 457 (is my iPhone) GEA.add (DeviceID["LARM_HEM"], -1, "ALERTE - Intrusion. (#date# à #time#)", {{"Push", DeviceID["MobileID"], "ALARME - Alarme intrusion"}}) But still nothing. I guess it is the Push thing that is not correct.
  6. mickeys

    Support Gea

    En ce moment, le binaire est installé en tant que détecteur de mouvement. Le nom est 381,1 381,2. Donc, je veux savoir si il existe une "connexion". Je me sers d'une scène faisant cela dès maintenant et aimerais avoir en place GEA if breached then push to iPhone6 "ALARM" (Right now the binary is installed as motion sensor. The name is 381.1 381.2. So I wanna know if there is any "connection". I am using a scene doing this right now and would like to have it in GEA instead if breached then push to iPhone6 "ALARM" )
  7. mickeys

    Support Gea

    Bonjour, Comment faire configuration I mon capteur binaire? Yat-il un exemple? Je ne peux pas sembler ne trouver aucune. (Hi, How do I setup my binary sensor? Is there any example? I cant seem to find any.)
  8. mickeys

    Support Gea

    Oui (Je ne sais pas beaucoup de Français ne google me aide :-) ) --[[ %% autostart %% properties 451 value %% globals --]] -- v 5.40 -- ================================================== -- GEA : Gestionnaire d'Evénements Automatique -- ================================================== -- -- [EN] This scene allow you to check every X second the status -- of a module and send actions if the module is activated since too long. -- This scene allow you a more simple annotation than LUA -- it requires some knowledge -- local id = { MATBORD_FONSTER = 451 } -- Paramétrage de GEA / GEA configuration function config() GEA.isVersionFour = true -- On est en version 4.017 Beta ou supérieure / GEA.language = "EN" -- Votre langue : FR (default) / Your language : EN GEA.checkEvery = 30 -- On vérifie toutes les X secondes (default : 30) / Check every X seconds GEA.portables = {179} -- Smartphones you want to be notified GEA.debug = false -- Show trace in the debug window --GEA.getGlobalForActivation = {"SuspendreGEA", "non"} -- active ou désactive l'exécution de GEA via une variable globale / active or deactive GEA execution with a global variable --GEA.catchError = false GEA.optimize = GEA.typeOptimize["IMMEDIATE_ONLY"] -- option : GEA.typeOptimize["NONE"], GEA.typeOptimize["IMMEDIATE_ONLY"], GEA.typeOptimize["ALL"] -- permet d'optimiser les soucis liés au getName et getRoom de fibaro mais n'affiche plus le nom des modules concernés. end -- Add here events to schedule -- A samples list is available in another file called samples.lua function setEvents() --starta lampa vid skymning+30min och slà¤ck vid 23 tiden. GEA.add(true, 30, "", {{"Time", "19.43", "19.44"}, {"turnOn", id["MATBORD_FONSTER"]}}) end
  9. mickeys

    Support Gea

    même erreur
  10. mickeys

    Support Gea

    Bonjour, local id = { MATBORD_FONSTER = 451 } -- Paramétrage de GEA / GEA configuration function config() GEA.isVersionFour = true -- On est en version 4.017 Beta ou supérieure / GEA.language = "EN" -- Votre langue : FR (default) / Your language : EN GEA.checkEvery = 30 -- On vérifie toutes les X secondes (default : 30) / Check every X seconds GEA.portables = {179} -- Smartphones you want to be notified GEA.debug = false -- Show trace in the debug window --GEA.getGlobalForActivation = {"SuspendreGEA", "non"} -- active ou désactive l'exécution de GEA via une variable globale / active or deactive GEA execution with a global variable --GEA.catchError = false GEA.optimize = GEA.typeOptimize["IMMEDIATE_ONLY"] -- option : GEA.typeOptimize["NONE"], GEA.typeOptimize["IMMEDIATE_ONLY"], GEA.typeOptimize["ALL"] -- permet d'optimiser les soucis liés au getName et getRoom de fibaro mais n'affiche plus le nom des modules concernés. end -- Add here events to schedule -- A samples list is available in another file called samples.lua function setEvents() --starta lampa vid skymning+30min och slà¤ck vid 23 tiden. GEA.add(true, 30, "", {{"Time", "18.38", "18.39"}, {"turnOn", id["MATBORD_FONSTER"]}}) end [DEBUG] 18:38:21: [ Always ] !!! ERROR !!! : checking (ID: 1) [Time,18.38,18.39] [turnOn,451] ??????
  11. mickeys

    Bonjour

    Bonjour a tous et thoutes Micke
×