Search found 4 matches

by Giblet535
Friday 05 January 2018 1:22
Forum: LUA
Topic: Encoding error from LUA?
Replies: 5
Views: 1400

Re: Encoding error from LUA?

There are a few players involved, for sure. I think one of them isn't playing by the rules. I tried "= 'abc'", and "= tostring('abc')", and the variable appears to contain 'abc' in both instances, but a Blockly test of that variable for equality to 'abc' fails until it is set to 'abc' from the web ...
by Giblet535
Saturday 30 December 2017 22:03
Forum: LUA
Topic: Encoding error from LUA?
Replies: 5
Views: 1400

Re: Encoding error from LUA?

Thanks for replying! I am assuming that it's an encoding issue due to the behavior. I'm not expecting the dzVents event to trigger my event handler. That event handler is triggered by a virtual switch (an ESP8266 running modified Tasmota firmware). The switch-triggered Blockly event tests whether ...
by Giblet535
Saturday 30 December 2017 19:12
Forum: LUA
Topic: Encoding error from LUA?
Replies: 5
Views: 1400

Re: Encoding error from LUA?

I tried to work around this defect by setting a virtual switch to 'On', but that test doesn't work in Blockly either. I even tried creating an always On virtual switch, then setting another switch to that switch's current state. It appears to work, looking at the Domoticz interface, but a Blockly ...
by Giblet535
Saturday 30 December 2017 14:57
Forum: LUA
Topic: Encoding error from LUA?
Replies: 5
Views: 1400

Encoding error from LUA?

My first post, but I want to say first that Domoticz is very nearly an excellent automation interface. Submissive bowing, offers of strong coffee and pancakes to the team, etc. There exists a major problem however. A simple LUA script event: commandArray = {} commandArray['Variable:MyVariable ...