activate a luup restart

How can I have Vera 3 simply reload luup like when you click Reload on the GUI page?

If my Elk XEP has been rebooted, then Homewave is not updating my security devices until I click Reload on the GUI page.

So I need to be able to make Vera do a luup reload via a button in Homewave so the comm between Vera and the Elk XEP is refreshed. I need to have this function remotely.

Any ideas?

If you can wait for UI7, it looks as though you will be able to call luup.reload(). See Luup Extensions

Meanwhile, you could always run a scene with luup.sleep(60000) in it. Vera will think it has stalled and restart the Luup engine.

Hi,
It works for me in UI6 as well. Hopefully this will keep the Vera Lite running even after not touching it for a week.

Cheers

In UI5 create a Scene (call it eg Reload vera) and in the LUUP tab put below code

local httpStatusCode, content = luup.inet.wget( 'http://localhost/port_3480/data_request?id=lu_reload' ) return httpStatusCode

You may have to replace ‘localhost’ with you Vera IP address. This emulates pushing the Reload button on the UI5 dashboard.

And even easier by using below LUUP code:

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