Aller au contenu

sonnyboy

Membres confirmés
  • Compteur de contenus

    43
  • Inscription

  • Dernière visite

Tout ce qui a été posté par sonnyboy

  1. sonnyboy

    Support Gea

    @pepite Thanks for putting me in the right direction again, i can use me old VD for this. I call the VD from Gea and then it works Example code From my VD that turn on the light. fibaro:call(36, "turnOn") fibaro:sleep(math.random(3000,12000)) fibaro:call(266, "turnOn") fibaro:wakeUpDeadDevice(274) -- Wake up if dead fibaro:sleep(math.random(5000,14000)) fibaro:call(274, "setValue", "99") fibaro:sleep(math.random(6000,15000)) fibaro:call(300, "turnOn")
  2. sonnyboy

    Support Gea

    @pepite, I wanted it Between each light turned on
  3. sonnyboy

    Support Gea

    Hello is there any possibility to have like this in GEA (math.random(6000,15000)) i would like to have some time between the lights when they turn on. GEA.add({"Global-", "Sun", "1.0"}, 30, "", {{"Time", "05:30", "12:50"}, {"Days", "Weekday"}, {"turnOn", LivingRoom["Bakom_Soffa"]}, {"turnOn", LivingRoom["Bakom_Tv"]}, {"turnOn", Kitchen["Window"]}})
  4. sonnyboy

    Support Gea

    @pepite You just made my mornig bright And i will have a happy wife Tank you!
  5. sonnyboy

    Support Gea

    Bonsoir Will this work tomorrow morning around 05:30 if my global Sun is less than 1? GEA.add({"Global-", "Sun", "1.0"}, 30, "", {{"Time", "05:30", "12:50"}, {"Days", "Weekdays"},{"turnOn", LivingRoom["Bakom_Soffa"]}}) GEA.add({"Global-", "Sun", "1.0"}, 30, "", {{"Time", "05:30", "12:50"}, {"Days", "Weekdays"},{"turnOn", LivingRoom["Bakom_Tv"]}}) GEA.add({"Global-", "Sun", "1.0"}, 30, "", {{"Time", "05:30", "12:50"}, {"Days", "Weekdays"},{"turnOn", Kitchen["Window"]}})
  6. sonnyboy

    Support Gea

    @Steven Thank so Much for this
  7. sonnyboy

    Support Gea

    Yes @pepite That is exactly what i want to do, is it possible? I just love GEA lets get all in it
  8. sonnyboy

    Support Gea

    EN Now i will write in En My France is not so good and when i use google translate my sentens doesent look good Is if possible to get random lighting? i post my lua that i have for this, i want diffrent lights that turns on first every night. just to foll the thieves local deviceIDs = { 248, 250, 252, 269, 45, 189 } math.randomseed(os.time()) function randomOrder(table) local new = {} for j,x in pairs(table) do new[j] = x end local res = {} while (#new > #res) do local index = math.random(1,#new) if (new[index] > -1) then res[#res+1] = new[index] new[index] = -1 end end return res end for Device,device in pairs(randomOrder(deviceIDs)) do local lightstatus=tonumber(fibaro:getValue(device, "value")); fibaro:debug(lightstatus) if (lightstatus==0) then fibaro:call(device, "turnOn") end fibaro:debug( Device .. " DeviceID: "..device) fibaro:sleep(math.random(5000,12000)) fibaro:call(20, "pressButton", "4")--Endast för VD end
  9. sonnyboy

    Support Gea

    @971jmd Merci beaucoup, maintenant je l'ai eu, c'était un peu plus dans le code, mais ça marche maintenant GEA.add(SENSORS["Wc"], -1, "", {{"Time", "22:31", "05:00"}, {"Value", Wc["Tak"], 30}})
  10. sonnyboy

    Support Gea

    Quelqu'un peut-il m'aider avec ça, ça ne marche pas. C'est pour ma lumière de nuit dans le Wc GEA.add(SENSORS["Wc"], -1, "", {{"Time", "22:31", "05:00"}, {"Value", 30}, Wc["Tak"]}})
  11. sonnyboy

    Support Gea

    L'aide que je reçois de @pepite travaillé, merci donc mutch Mais est-il une manière je peux obtenir ceci seulement à courir entre 13:00 et 18:50 GEA.add({"Global-", "Sun", "1.3"}, 30, "", {{"VirtualDevice", 193, 1}}) Edit: Je l'ai résolu moi-même cette fois GEA.add({"Global-", "Sun", "1.3"}, 30, "", {{"Time", "13:00", "18:50"}, {"VirtualDevice", 193, 1}})
  12. sonnyboy

    Support Gea

    @pepite Thanks will trie that when i got help from fibaro, got error 503 after i tried to update
  13. sonnyboy

    Support Gea

    Bonjour, je viens de commencer avec GEA et il va très bien, mais j'avoir un problème, je veux utiliser ma variable "soleil" global pour allumer et éteindre les lumières. Je veux que les lumières sont en place et fonctionne aussi longtemps que le "Sun" est plus petite île de 0,7. "Sun est récupéré toutes les 5 minutes. Cela ne fonctionne pas, vous voulez que quelqu'un me aider? pardonnez mon français GEA.add(true, 300, "", {{"Global", "Sun", ">0.7"}}, -1, "",{{"turnOn", id["Farstukvist"]}})
  14. Fonctionne très bien pour moi sur W10 64 bits
  15. Cela aurait été traitée avant, mais je couru avec capteur Virtual Senso àjour àla dernière version bêta, lorsque je reçus seulement 503, il n'y a pas moyen de passer cette commande sans une reprise? Ça marche si vous désinstallez le plugin avant de vous mettre àjour? Google Translate m'a aidé àécrire en français. // Sonny
  16. Qu'est-ce un plugin merveilleux. Maintenant, je peux utiliser mes périphériques 433 MHz pour de vrai nouveau Est-il possible d'obtenir mm de pluie au lieu de pouces? En Suède, nous utilisons mm de pluie
  17. Trés intéressant ici
×
×
  • Créer...