Hi, I suddenly started to have crashs with my VeraLite when running scenes. I get the following in the log. Any clues? I have seen in other posts that has to do something with Ergy Plugin, but I don’t have that plugin installed!
local Lock1State=luup.variable_get(“urn:micasaverde-com:serviceId:DoorLock1”,“Status”,3)
if (Lock1State == “1”) then
return false
else
local Disp = luup.devices[3].description
local Vera = “SF635”
local msj = “La puerta fue cerrada”
luup.inet.wget(“http://192.168.1.100/vera/veraalerta.php?msj=”… msj …“&dispositivo=”… Disp …“&vera=”… Vera …“”,15)
return true
end
[/code]
Ok, I have commented it out, I will try and get you back. But in case that is the problem, what alternative can I have? I control my music launching scripts on my pc via that call.
ih8gates, I am testing today, I had a lot of scenes using that so it take me a while to change them. I will let you know later or tomorrow morning, although I have being looking for alternatives and as for now I have found three that haven’t tested: the sockets via Lua and the wget and curl via os.execute.
Hi, updating, I wait a few days to have a more accurate answer. I delete from all my scenes the luup.inet.wget and I don’t have any more restarts. Looking for an alternative, I find a not so elegant one, but works without restarts:os.execute("wget -q -T=5 -t 10 -O /dev/null 'http://www.domain.com/index.htm'")