micolous / intuition

Python/Twisted library for interacting with local messages from the OWL Intuition home energy monitor.
GNU Lesser General Public License v3.0
7 stars 5 forks source link

Add support for heating messages #1

Closed johanek closed 10 years ago

johanek commented 10 years ago

Needed to rename some things to make them less electric specific - i.e. results for channels

Will produce output for heating like: ('192.168.1.208', 22600): <OwlMessage: rssi=-64, lqi=49, battery=2990mV, results=>

micolous commented 10 years ago

Thanks!

Todo for me to look at later (or you!)

johanek commented 10 years ago

Documentation for owl multicast: https://theowl.zendesk.com/hc/en-gb/articles/201284603-Multicast-UDP-API-Information

johanek commented 10 years ago

Hey - I've taken your code and cut it down to something simple so I can push the data to graphite.

I know what I've shared with you needs work, and I'm sorry but I can't see myself having any time to work on this :disappointed:

micolous commented 10 years ago

Thanks.

I've refactored this a fair bit and pushed it up. It splits the electricity and heating message types properly and notes the silly differences in the protocol between them.

You may also be interested in looking at rrd.py -- it logs electricity usage information using RRDtool's Python API, and demonstrates how to inherit from a Twisted protocol object.

johanek commented 10 years ago

Nice work. Thanks for the help this has been with getting my home monitoring data collection working.