Skip to content

Intercept WU update packets and send to a mqtt broker

Notifications You must be signed in to change notification settings

TopdRob/HASS_wu_interceptor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HASS_wu_interceptor

Intercepts WU update packets and send them to a mqtt broker

WORK-IN-PROGRESS, this is the basic script wich is running fine but i'm looking for run on Home Assistant as plugin.

Basically the script fire-up a python HTTP server and listen for the update queries originating from the weather station and directed to WeatherUnderground, then split the data, perform some conversion (farenheit to celsius, low battery alert to number etc.); send the data as mqtt message to a boker (home assistant).

Its need to forward packet originated from the station on port 80 tcp to the server where the script is running (same port for now).

UPDATE

added a basic hassio addon. You have to copy the folder in the addon directory, change MQTT BROKER IP, USERNAME, PASSWORD in pws.py and then install the plugin.

About

Intercept WU update packets and send to a mqtt broker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.3%
  • Shell 3.6%
  • Dockerfile 2.1%