Skip to content

Python code to read data from the Raven USB Zigbee radio from Rainforest Automation.

License

Notifications You must be signed in to change notification settings

phubbard/entropy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

entropy

Home energy monitor, with support for Rainforest Automation Raven USB radio, and exploring different plotting systems. Dweet works, now trying plotly.

This is scratching a personal itch. I have working code to stream Raven data to Xively, but I'm not happy with the current iOS and Android clients, I want a better way to share graphs/data, and I want to add solar data as well.

Hardware requirements

Software requirements

  • See requirements.txt. I assume you're using virtualenv and Pip.

Installation

  • FTDI USB driver - read here.
  • Edit config.ini to match your setup - serial port, etc.

Design of code

  1. The Raven device is serial over USB, so we read lines from it using PySerial
  2. Fugly code to chunk up XML text before feeding it into Python's ElementTree
  3. Convert to base 10, scale, convert timestamp
  4. Send to plotter
  5. Profit

About

Python code to read data from the Raven USB Zigbee radio from Rainforest Automation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages