Aller au contenu

Support Gea


Steven

Messages recommandés

 Donc, la ligne ne passait qu'une fois, et donc pas à l'heure choisie puisque je réglais 5 min. après l'enregistrement de GEA.

Bizarre quand même, j'ai d'autres lignes qui surveillent une variable et je n'ai pas de repeat.

Comme celle-ci:

GEA.add({{"Global", "Tempo", "Blanc"}, {"Global", "Demain", "Bleu"}}, 30, "", {{"Time", "21:55", "21:56"},{"Dates","01/10","31/12"},{"Dates","01/01","30/04"}, {"turnOn", id["Chauffe_Eau"]}})

 

Lien vers le commentaire
Partager sur d’autres sites

A la question 

Ça ne va pas saturer la box de vérifiecette lignependant 24h pour une action unique dans la journée?  c’est NON pas de problème 

 

et la syntaxe est mode emploi de GEA 

  • Upvote 1
Lien vers le commentaire
Partager sur d’autres sites

I return to my problem with:

Le 01/05/2020 à 13:18, drboss a dit :

[DEBUG] 13:11:21: 2020-05-01 13:11:21.375676 [ fatal] Unknown exception: /opt/fibaro/scenes/211.lua:1309: attempt to index field 'event' (a nil value)


 

 

I can't find where is the problem, it's occurs with this code (paste partially):

--[[
%% properties
	344 sceneActivation
../..


GEA.add ({"SceneActivation", 344, 10}, -1, "Ogród - alarm uzbrojony", {{"geatelegram", "Ogród - alarm uzbrojony"}})
GEA.add ({"SceneActivation", 344, 11}, -1, "Ogród - alarm rozbrojony", {{"geatelegram", "Ogród - alarm rozbrojony"}})

 

if the line is triggered by changed sceneActivation value the command is start (message, scene running) ok, but after this GEA call section for "CentralSceneEvent":

centralsceneevent = {name="CentralSceneEvent",
                    optimize = true,
                    control=function(id, key, attribute) 
                    if (GEA.currentEntry.duration > -1) then return false, GEA.trad.central_instant end
                      return GEA.options.number.control(id) and type(key)~="nil" and type(attribute)~="nil", GEA.trad.central_missing 
                    end,
                    getValue=function(id, key, attribute) return (GEA.source.event.data.deviceId==tonumber(id) and tostring(GEA.source.event.data.keyId)==tostring(key) and tostring(GEA.source.event.data.keyAttribute)==tostring(attribute)) end --LINE 1309
                },

And generate error because event table (GEA.source.event) is null. It's clear because it's sceneActivation not  CentralSceneEvent from  %% events section.

The device is UBS with enabled scene functionality.

Why this happen, Why???  

Modifié par drboss
Lien vers le commentaire
Partager sur d’autres sites

 Verdict tout à l'heure pour la variable Jour férié en oui.

Mais par contre, chaque matin j'ai un message dans les notifications pour la scène qui est lancée:

To many instances, ça doit être le repeat qui la lance plusieurs fois dans la minute.

 

Lien vers le commentaire
Partager sur d’autres sites

×
×
  • Créer...