Author Topic: Python software for reading bridge traffic  (Read 782 times)

0 Members and 1 Guest are viewing this topic.

Offline TD22057

  • Member
  • *
  • Posts: 16
Python software for reading bridge traffic
« on: May 08, 2016, 11:00:11 PM »
I just wanted to let people know I've basically finished a set of Python scripts and library that can read Acurite Bridge traffic and manipulate it.  I'm using a Raspberry Pi with the Bridge connected through a USB ethernet dongle (original source: http://nincehelser.com/ipwx/).  The USB ethernet port is bridge'd to the main network which allows the traffic to read or redirected.

- read bridge traffic either via man-in-the-middle (using tcpflow) or full redirect to a local web server (eliminating all traffic to Acurite).
- decode the bridge sensor traffic and convert them to MQTT messages
- read the MQTT messages, buffer them in time, and upload them to Weather Underground

The source repository is at: https://github.com/TD22057/T-Home

There are decent amount of comments in the code but not a lot of high level docs on how to use things so feel free to browse/reuse or ask me any questions if you're interested.  The conf/ directory contains the config files that control MQTT topics and how sensors are labelled.

TD