I used to have conky scripts doing real-time graphing of my house power draw. I have recently acquired a Windows machine and am interested in getting similar functionality. I've started to use RainMeter, but before I write my own scripts I thought I should check if anyone has got any RainMeter scripts ready to roll.
P.S. My conky scripts basically make use of wget to hit the flukso device to get a dump of the last minute. I use the array of values as a source of graphing data.
P.P.S. I've already googled site:flukso.net rainmeter and come up with nothing, so anything from you guys and gals would be much appreciated.
I'm Sorry, I can"t help you with the Rainmeter scripts, but I’m very interesting in your Conky scripts to show real-time graphing of the Fukso outputs :D
OK. Here are the conky scripts.
Note that each conky window calls a script, which returns a number that is used to indicate how much power is being used right now. Additionally it writes a number to a file that can be used to create a graph. (You'll see that in "flukso-usage.sh")
The only bits other fluksonians will have to update is the flukso-device-ID, the IP of their flukso box, and perhaps the color1, color2 and color3 variables in the conkyrc* files to suit ones own desktop. Good luck!
The first one just kicks off a few conky instances:
conky-start is triggered when I log on to the box, it simply kicks off a few instances of conky:
And here is the first conky-script - conkyrc_normal. It is a fairly standard conky window. Down near the bottom is the flukso portion:
The following is conkyrc_bigflukso. It creates a long graph that is a representation of the last 24 hours of power draw:
Here is the script that the first conky window relies on: flukso-usage.sh
Finally, here is the bash script that the large graph conky window relies upon: flukso-usage-minute.sh
The code is quite ordinary. I am aware that I didn't follow a few basic code principles, but it works for me. Hopefully it works for you to :-)
I was going to attach pics of the output but I can't see a way to upload pics to forum posts.
Waaaaaaaw, thanks for the Conky scripts Jason :))
I use Ubuntu and Linux Mint, so i am very very happy with this.
If i find the time, in a few days, i shall try it.
You can put a link to a photo hosting site, like photobucket.com, and many others ;)
I made a new topic for the Conky scripts because i have a problem with it...