Scene with LUA and vera alerts issue with Firmware 7.25

Greetings,

Last week I installed the lastest firmware Firmware 7.25, most of it works fine , except this …and I have no idea how to solve it:

I run every morning around 03:50 a scene with a lua code that reboots the vera:

local ping = os.execute("ping -c 1 8.8.8.8") if ping ~= 0 then luup.log("Auto Reboot: Network down. Aborted.") else luup.log("Auto Reboot: Network OK. Rebooting in 2 seconds.") luup.sleep(2000) os.execute("reboot") end

Every 10 minutes a scene runs which writes temperatures from sensors in a file.
part of the code, (this code is copied several times for different sensors):

[code]local devID = 37
local temperature = luup.variable_get(“urn:upnp-org:serviceId:TemperatureSensor1”,“CurrentTemperature”,devID)
local file = io.open(“/www/blueiris/Living_room.txt”, “w”)
file:write(temperature … “\176C”)
file:close()

local devID = 40
local temperature = luup.variable_get(“urn:upnp-org:serviceId:TemperatureSensor1”,“CurrentTemperature”,devID)
local file = io.open(“/www/blueiris/corridor.txt”, “w”)
file:write(temperature … “\176C”)
file:close()[/code]

This was working fine untill last week.
Since last week , after every reboot , the write to files does not work anymore , the scene still runs but the files don’t change ( time stamp of the files remain the same and contents of the txt file don’t change).

Vera alerts: a notification from a device still works , but notifications from scenes does not work anymore after the reboot.

When I do a luup restart, all works again.

When I disable the scene to reboot the vera , no issues , all keeps working , the write to file scene and also notifications with vera alerts.

So … what is wrong? what changed in the last firmware that after a reboot some stuff is not working anymore, untill I do a luup restart?

And how can I further troubleshoot this? I noticed that the timestamp of the txt files didn’t change anymore after 03:50 , that’s why I think it has to do with the reboot.

Thanks,
Cor

If problem is solved by luup reload, then you may set a scene to reload luup at certain time (command: luup.reload() )

How would I insert this in a scene?:

(command: luup.reload() )

or

command: luup.reload() 

or

luup.reload ()

The last one gave me an error, the second one nothing happened, and the first one … not sure , but I didn’t think luup restarted.

Cor

luup.reload()

thank you!

Cor