Search found 2 matches

by liveviva
Wednesday 10 May 2017 10:49
Forum: LUA
Topic: Help script problem!
Replies: 3
Views: 759

Re: Help script problem!

A suggestion, not tested. Try to read the current value as text: if (devicechanged['Voice_Data']) then CurrentText = tostring(otherdevices_svalues['Voice_Data']) if (CurrentText == '1') then etc. The same problem. When value = 1 repeat execution When value = 2 to do Nothing... Looks like ...
by liveviva
Wednesday 10 May 2017 9:56
Forum: LUA
Topic: Help script problem!
Replies: 3
Views: 759

Help script problem!

I am a novice, and my English is very poor, please do not laugh at! Well, I created a text device in domoticz, is used to obtain a number coming from ESPEasy, I hope to achieve with the script in domoticz, judging whether the number change, according to the number of executive action. But when I use ...