reload Luup at 3AM does not work

Trying to reproduce this example without success: http://wiki.micasaverde.com/index.php/Luup_Scenes_Events#Reload_Luup_at_3_AM_every_day

luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1”, “Reload”, {}, 0)

What is the other option to reset Vera once a day?

Thanks

I do a nightly reboot of my Vera with:

os.execute( ‘reboot’ )

Thanks knewmania, it works :wink:

[quote=“chris66, post:1, topic:172852”]Trying to reproduce this example without success: http://wiki.micasaverde.com/index.php/Luup_Scenes_Events#Reload_Luup_at_3_AM_every_day

luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1”, “Reload”, {}, 0)[/quote]

Works for me. Where do you put the code?

just put in a scene, code failed, and in test luup code, code failed.

Try putting 1 instead of 0 for the device ID.

Thanks, now it’s ok. Message send successful.

But with the nighly reboot is a good solution, in order to have a “clean” system, no?

When you reboot, all the logs that haven’t been uploaded on our servers are lost. If this doesn’t bother you, then it’s OK to reboot every night.

If the automatic heal (from 2am) is still running, will that be an issue?

Unfortunately I have no answer for this. The code is pretty complex/complicated to understand, so looking at it doesn’t help in this case. The easiest way to answer this is by testing: start a heal and reboot mid-process. It’s preferable not to use a Vera with many devices, in case this breaks the routing table.

Ok Florin,

I have the Vera for around 6 months and everything was ok. But yesterday, the system crash, do not know why. So I decided to reboot each night. Maybe that’s not the best solution, so to have the most reliable system, what would be the best practice procedure?

  1. Do you have a Vera 2 or a Vera 3/Lite?
  2. Do you have USB logging turned on?
  3. When Vera crashed, did you notice what lights were on?
  1. Vera 3 lite
  2. Yes, usb only for dataMine purpose
  3. I do not know, do you want me to open an incident in order you can see the log?

The logs are probably on the server. Send me an e-mail at florin at mios dot com with your Vera serial number and the approximate date and time when Vera crashed.