Skip to content

Commit

Permalink
Create install.py
Browse files Browse the repository at this point in the history
  • Loading branch information
grebleem authored Jun 24, 2020
1 parent 86b3b2c commit b37b88b
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions install.py
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'])])

0 comments on commit b37b88b

Please sign in to comment.