The Artima Developer Community
Sponsored Link

Python Buzz Forum
Feed Current Cost into collectd

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Aaron Brady

Posts: 576
Nickname: insommeuk
Registered: Aug, 2003

Aaron Brady is lead developer for Crestsource
Feed Current Cost into collectd Posted: Oct 23, 2011 10:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Aaron Brady.
Original Post: Feed Current Cost into collectd
Feed Title: insom.me.uk
Feed URL: http://feeds2.feedburner.com/insommeuk
Feed Description: Posts related to using Python. Some tricks and tips, observations, hacks, and the Brand New Things.
Latest Python Buzz Posts
Latest Python Buzz Posts by Aaron Brady
Latest Posts From insom.me.uk

Advertisement

I own a Current Cost Envi (CC128), and was recently sent the RJ45<>USB lead by e.on, my power supplier.

Given that the only heating my outside office has is a 1-2kW oil filled heater and that we might have a cold winter, I wanted to estimate how much it costs, and keep and eye on the duty cycle of the heater vs. the outside temperature.

The reading for temperature is that of the receiver (not the unit clamped to your incoming mains supply) - in my case this is great because the receiver is in the coal-house-data-centre (CHDC) and therefore nearly-outside.

Here’s an example graph, after going through collectd-web and collectd-flask:

The Python daemon which writes to a file in /tmp is here. And this is the snippet of config you will need to make it all work:


  
    Instance currentcost
    Separator "\\t"
    
      Type gauge
      InstancePrefix "temp"
      InstancesFrom 0
      ValuesFrom 1
    
    
      Type gauge
      InstancePrefix "watts"
      InstancesFrom 0
      ValuesFrom 2
    
  

Read: Feed Current Cost into collectd

Topic: Update: Faster population counts Previous Topic   Next Topic Topic: Zoomable Munin Graphs

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use