As from latest firmwares i got lots ( >2000 a week) of alerts from my Visonic alarm-sensors (Tripped and untripped).
I dont know if this uses much memory in my Vera lite, but is there some Lua/Luup code that i can use for a scene to say cleanup all those alerts once a week? Or is there a file on the Vera which i can delete? Or is this remote/at Veras servers stored, so that it dont affect on the little memory of my Lite?
I once deleted them manually but everytime delete max 50 alerts is not funny
I’m interested in this, too. I’ve had to deal with multiple pages in the past and it’s no fun. A shiny purge button would be very useful.
Try this:
I have a manually-triggered scene called ‘Reload Luup’ which runs the following lua code:
os.execute(“rm /etc/cmh/alerts.json”)
luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1”, “Reload”, {}, 0)
A browser refresh after that should make all your alerts disappear.
[quote=“MLEBAUGH, post:3, topic:191015”]Try this:
I have a manually-triggered scene called ‘Reload Luup’ which runs the following lua code:
os.execute(“rm /etc/cmh/alerts.json”)
luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1”, “Reload”, {}, 0)
A browser refresh after that should make all your alerts disappear.
http://forum.micasaverde.com/index.php?topic=34695.0[/quote]
MLEBAUGH,
Thanks for answer, but thats not what i meant.
This code is for deleting the last 10 alerts which are there in the dashboard view.
But i want simply delete ALL alerts in the Tab : Users and account info, and then tab Alerts.
There i have thousents of alerts and want simply delete them all.
I see what you mean now. I didn’t even know they existed outside that dropdown. Now I feel like i should delete all my old ones too…
I’m not sure if the rest of them are local or server side. Considering they seem to store photo and video for lengths of time, that might be on the vera servers.