Page 1 sur 1

Blocky / Lua : Changer Etat Device NOK

Publié : 30 nov. 2018, 20:14
par Laulo77
Bonsoir,

Script Blocky tous simple:

Code : Tout sélectionner

SI Device1 = ON Alors 
Device2=OFF 
Print Device1 = On
SINON SI Device1 = Off 
Alors Device2 = On
Print Device1 = Off
Le Log me montre bien que Device1 change mais pas Device2 !
Tester en Dzevent = idem!

Bug de la version 4.10233 Beta ? :(

Version: 4.10233
Build Hash: edf0249b
Compile Date: 2018-11-26 21:39:47
dzVents Version: 2.4.8
Python Version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]

Re: Blocky / Lua : Changer Etat Device NOK

Publié : 30 nov. 2018, 22:01
par DavidTrier
Bonsoir,

J'ai eu aussi un problème avec un script Blockly, qui semble être dû au fait d'avoir mis moi aussi un "if" après "do". J'avais un comportement très étrange, non explicable.

J'ai donc refait mon script sans le "if" après le "do", et ça marche nickel.

Voir détails ici : https://easydomoticz.com/forum/viewtopi ... =10&t=7521

Re: Blocky / Lua : Changer Etat Device NOK

Publié : 02 déc. 2018, 14:26
par Laulo77
Bonjour,

Mise à jour Beta Version: 4.10241

Cela refonctionne parfaitement.

Merci.