<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3ALUA_commands</id>
	<title>Talk:LUA commands - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.domoticz.com/index.php?action=history&amp;feed=atom&amp;title=Talk%3ALUA_commands"/>
	<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Talk:LUA_commands&amp;action=history"/>
	<updated>2026-09-18T23:45:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://wiki.domoticz.com/index.php?title=Talk:LUA_commands&amp;diff=8290&amp;oldid=prev</id>
		<title>Sebnatl: Created page with &quot;commandArray = {} debug = true a = &#039;niveau cuve&#039; V = otherdevices_svalues[a] if (devicechanged[&#039;niveau cuve&#039;]) then     print (otherdevices_svalues[&#039;niveau cuve&#039;])     if (ton...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.domoticz.com/index.php?title=Talk:LUA_commands&amp;diff=8290&amp;oldid=prev"/>
		<updated>2017-03-23T08:07:45Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;commandArray = {} debug = true a = &amp;#039;niveau cuve&amp;#039; V = otherdevices_svalues[a] if (devicechanged[&amp;#039;niveau cuve&amp;#039;]) then     print (otherdevices_svalues[&amp;#039;niveau cuve&amp;#039;])     if (ton...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;commandArray = {}&lt;br /&gt;
debug = true&lt;br /&gt;
a = &amp;#039;niveau cuve&amp;#039;&lt;br /&gt;
V = otherdevices_svalues[a]&lt;br /&gt;
if (devicechanged[&amp;#039;niveau cuve&amp;#039;]) then&lt;br /&gt;
    print (otherdevices_svalues[&amp;#039;niveau cuve&amp;#039;])&lt;br /&gt;
    if (tonumber(V) &amp;gt; 3) then&lt;br /&gt;
        print(&amp;#039;cuve HIGH &amp;#039;)&lt;br /&gt;
--        commandArray[&amp;#039;SendEmail&amp;#039;]=&amp;#039;niveaucuve#4#xxxxxx@xxxx.fr&amp;#039;&lt;br /&gt;
    elseif (tonumber(V) &amp;lt; 1) then&lt;br /&gt;
        print(&amp;#039;cuve LOW &amp;#039;)&lt;br /&gt;
--        commandArray[&amp;#039;SendEmail&amp;#039;]=&amp;#039;niveaucuve#0#xxxxxx@xxxx.fr&amp;#039;&lt;br /&gt;
    elseif (tonumber (V) &amp;gt; 3 or tonumber (V) &amp;lt; 1) then&lt;br /&gt;
time.sleep(20)&lt;br /&gt;
retry = 1&lt;br /&gt;
os.execute(home/pi/domoticz/scripts/lua/script_device_niveaucuve.lua)&lt;br /&gt;
print (&amp;#039;probleme&amp;#039;)&lt;br /&gt;
end&lt;br /&gt;
end&lt;br /&gt;
 return commandArray&lt;/div&gt;</summary>
		<author><name>Sebnatl</name></author>
	</entry>
</feed>