-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:grebleem/WeatherLinkLiveUDP
- Loading branch information
Showing
3 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Installer file for WeatherLink Live (WeatherLinkLiveUDP) driver for WeeWX | ||
# Copyright 2020 Bastiaan Meelberg | ||
# Distributed under the terms of the GNU Public License (GPLv3) | ||
|
||
from setup import ExtensionInstaller | ||
|
||
def loader(): | ||
return WLLInstaller() | ||
|
||
class WLLInstaller(ExtensionInstaller): | ||
def __init__(self): | ||
super(WLLInstaller, self).__init__( | ||
version="0.1", | ||
name='wll', | ||
description='Periodically poll weather data from a WeatherLink Live device', | ||
author="Bastiaan Meelberg", | ||
config={ | ||
'WeatherLinkLiveUDP': { | ||
'host': '1.2.3.4', | ||
'poll_interval': 15, | ||
'driver': 'user.weatherlinkliveudp' | ||
} | ||
}, | ||
files=[('bin/user', ['bin/user/weatherlinkliveudp.py'])]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -444,4 +444,4 @@ def Check_UDP_Broascast(self): | |
# }] | ||
# }, | ||
# "error":null } | ||
# | ||
# |