I am curious to see what others are using.
Actually I use none. But it’s on my todo list.
I’m curious to see which solution(s) will emerge.
My first though was to go on Syslog but you don’t even mention it.
Is it not a good solution or you just forget it ?
good evening ![]()
Other: Nagios, an industry-spec monitoring system for Unix machines.
Im planning to build custom (maybe rrd based) on hardware external to Vera, but local to the network, with SVG based graphs (probably using d3). The device will also house syslog and similar stuff.
I have the hardware, it’s just the time to write the layers.
Originally I had hope that Ergy would tackle the energy component, but that’s turned out not to be viable in practice.
Hi everyone, I’m Benjamin Sautner - founder / inventor of nimbits - i’ve been reading about micasaverde and I find what you guys have been working on very interesting. Please feel free to contact me with any questions about the service.
@guessed - A lot of the code I already wrote may be able to help you with buiding your own project, since you can run a nimbits instance on a local network and it already has the ability to design SVG based graphics with live data in them. Let me know if you’d like to discuss connecting your hardware solution up.
Just thought i’d introduce myself
Ben
I just logged into nimbits and am impressed! Since Vera is a VERY open platform it would be very easy to build a plug-in that connected our Vera world to nimbits. Perhaps an example of some Lua code that would be used as a tutorial for the Vera community might get it jump started. For instance tracking the internal temperature or energy use for a home would be typical.
[quote=“bsautner, post:5, topic:171499”]Hi everyone, I’m Benjamin Sautner - founder / inventor of nimbits - i’ve been reading about micasaverde and I find what you guys have been working on very interesting. Please feel free to contact me with any questions about the service.
@guessed - A lot of the code I already wrote may be able to help you with buiding your own project, since you can run a nimbits instance on a local network and it already has the ability to design SVG based graphics with live data in them. Let me know if you’d like to discuss connecting your hardware solution up.
Just thought i’d introduce myself
Ben[/quote]
Hi Ben,
Glad to see you here
I have sent you an email a few days ago actually. I personally went from Pachube to you public instance of Nimbits and made a private one on appengine.
Nimbit is a GREAT tool (not perfect and suffers from a few bugs but probably the best I saw so far) but it is unusable on appengine because the quotas are too low (or Nimbits WRITEs too much). So that has probably not much to do with the quality of Nimbits but I gave up using it because I reach the appengine quota in less than 10h by sending one measure for each of my 20 sensors every 5 minutes.
What I like are the calculation capabilities Nimbits offers. I wanted to dig in order to predict when by batteries would die or get an alert if I drain too much on a device.
Nimbits can also send alerts, this is not a key feature for us since our boxes are doing it.
Another cool point with Nimbits is that you can add points manually. Cool if you have a little history. I missed however the ability to import and export the data. An Import from Pachube would be great for instance ![]()
Ben, if you want to analyze further, I can give you access to my data on the public server.
There are a few days of data.
Here is btw how to send data to Nimbits from a Vera3 using Luup:
function SendToNimbits(point, value)
luup.inet.wget("http://YOURAPP.appspot.com/service/currentvalue?email=THISISYOU@gmail.com&secret=THISISRATHERSECRET&point="..point.."&value=".. value)
end
From this, send one measure is done doing something like this:
[code]function SendWatts(dev, stream)
local val = luup.variable_get(“urn:micasaverde-com:serviceId:EnergyMetering1”, “Watts”, dev )
SendToNimbits(stream, val)
end
– Watts
SendWatts( 12, “Watts”)[/code]
I don´t want to speak for everyone but I think that for many of the forum users, running a machine just for the stats is not such a nice (and ecologic) solution. IMO, our little Vera should be able to do it herself, of course helped with an external storage for instance.
At the moment, I am considering simply writing all the data to a local MySQL DB (that part finally works already after quite some fighting with lua_mysql) and putting charts from http://www.highcharts.com/ on top.
The main advantage of this solution are:
[ul][li]No data ‘online’ or in the cloud[/li]
[li]No quota but the bits I write[/li]
[li]Easy for data crunching[/li]
[li]No limits with the charts[/li][/ul]
Cons are: you need to do all yourself!
But the magic is that most of the NAS today do run MySQL and some kind of web server so all of this is possible with very little energy.
Will
Hey Ben,
Looks like you have some great stuff there. Definitely interested in some of the items, and will give you a ping in a few weeks when my heads above water.
Given my target HW, I suspect it’ll be a stretch to run it. I’m shooting for a router-style device, typically 4M Flash, 32M RAM, 200-400MHz processor running atop OpenWRT. Similar to Vera itself, but lesser power specs (typically 5V @ 80-100mA) so it can stay on all the time whilst everything else is asleep.
Typically at these levels, you’re talking JME (et-al) which are all licensed and/or provide very restricted libs… the 4M Flash would likely be a problem, but I’d already planned on adding a USB Drive for storage of the collected data.
My SVG choice was to avoid server-side chart generation, since it’s resource intensive (CPU, Memory, Network), so I’m glad to see you’re using a similar approach/model. Everything I’ve seen so far that’s done with SVG JS Libs seems to work on a variety of devices/browsers/tablets.
You might want to look at providing a demo image for AWS. Individuals can get more-or-less free images for 1yr that people can use to feel out the service, using AWS FreeZones (which have a good amount of resources behind them). The downside is that you’d have to provide/backfill the XMPP Services that Google has, since AWS is more IAAS than PAAS. Anyhow, just a thought…
Thanks for all of your feedback guys! Feel free to contact me 1-1 or on the nimbits forum.
@chevdor - nice work spinning up your own instance. The free quota google gives you indeed doesn’t go very far. I just released a new version of nimbits that is much cheaper to run. It hardly ever touches the datastore except in batches. Every day i just try and make it easier to use, cheaper to run and more powerful.
- Ben
Hi Chevdor, guessed and all - just wondering how you guys have progressed with logging data?
Looking at things in my house quite a few of them nowadays give me the option to send information to a e.g syslog server. So along with all the valuable data in Vera such as all the variables (thanks to dataMine) I’m also curious how people have managed all the logs and data that is created.