Is there a better way?
I feel I need a timeout.
How would I do this with an HTTP POST?
I have a lot of devices and am experiencing 12+ restart per day. I have been trying to pear down my unit, eliminating unnessary files, plugins, and code, as well as cleaning up code.
os.execute can lead to Vera restarting.
You definitely need to have a timeout on the curl command.
If a thread (one running os.execute) takes to long Vera will restart.
You may tried it before and encountered problems. This has now been resolved: Please note the need to download “http.lua” and use it to replace /usr/lib/lua/socket/http.lua to ensure the plugin functions.