Hi, all.
I’ve used the forum’s search function, please excuse if I’ve overlooked something.
As background, I’m a scientist and a competent programmer with *nix experience. I’m going to use the Edge for data collection in some biotech experiments. To do so, I need to pull logged sensor data from my Edge at will. I see there was a dataMine plugin which has been superseded by the DataYours(2) plugin. Since I just want the raw data, this is overkill, adds complexity, and removes control.
I’m still waiting for my Edge to arrive, so I haven’t actually logged into MiOS yet. However, I understand the vera* are linux appliances so I expect the native linux tools I’m accustomed to will be available. From the wiki, I think that the data that I want is going to be logged in /var/log/cmh/LuaUPnP.log
So, the two approaches that seem immediately available are:
- Run cron jobs on the appliance, pull data from /var/log/cmh/LuaUPnP.log (using grep sed etc), and rsync or scp it somewhere.
- Use the Luup HTTP interface, and use python/ruby/perl to remotely poll for data
To you experienced folks, do either of these options sound sensible, and is your intuition that one or the other will be easier to work with?
I’m also curious where I can use the Luup interface to make a device read data back to the controller. In other words, if I have a temperature sensor, can I send an http request that causes the controller to talk to the sensor and log the current temperature?
Thanks all for your thoughts.