error 512

Moderator: leecollings

Post Reply
pgas37
Posts: 99
Joined: Wednesday 06 December 2017 19:44
Target OS: -
Domoticz version:
Contact:

error 512

Post by pgas37 »

Raspberrypy V3
Domoticz v 3.8153
RFXcom433e

in wiki smartscript there are some Pir-switch examples
=====================================================
-- ~/domoticz/scripts/lua/script_device_PIRs.lua

commandArray = {}

tc=next(devicechanged)
v=tostring(tc)
if (v:sub(1,3) == 'PIR') then
c=v:sub(4)
commandArray[c] = 'On'
tmess = c..' On - time 0'
print(tmess)
end

return commandArray
==============================
this script returns with an error:2017-12-13 15:52:52.254 Error: Error executing script command (/home/pi/domoticz/scripts/lua/script_device_PIRs.lua). returned: 512

Can anyone help?

thanks
Paul
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest