I have a bunch of Vera-boxes that I would like to install some new stuff on. It is very inconvenient for me to get physical/LAN access to them, but I have remote access through UI4.
Now I know I can do it through UI4 → Mios Developer → Test Luup code (Lua) and paste something like this in the window and click go:
That way I could upload (actually get the Vera box to download) some script and get the Vera box to run it and I can do all sorts of fancy stuff.
However, the forementioned “bunch” of boxes count quite a few - a hundred or so - so I’d really love to do this through some HTTP call or something, so I can automate it. Some of the boxes are NAT’d so I can’t easily script my way through SSHing into them etc.
Absolutely possible. Run Firefox with Firebug plugin and watch what happens when you run test lua. That plugin can be used to show the discrete URLs being called, along with the parameters and the responses.
From memory, there’s an action called RunLua that gets invoked… Great way to hack a remote Vera you own…