docker run --name=domoticzjosh \
--privileged \
--cidfile="cid" \
-d \
-p 8080:8080 \
-p 6144:6144 \
-t joshuacox/mkdomoticz
matchesRule(rule) : Function. Returns true if the rule matches with the time. See time trigger rules for rule examples.
return {
on = timer = {
function(domoticz)
-- use domoticz.variables(..) here and return true when the timer should go off
end
},
execute = function(domoticz, timer, triggerInfo)
end
}
/domoticz/domoticz: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory
In stretch, libssl is at version 1.1.0.
Solution for me (64bit Debian Stretch):
1) Download https://packages.debian.org/jessie/amd64/libssl1.0.0/download
2) dpkg -i libssl1.0.0*
un rappel sur LUA et son utilisation dans Domoticz