Here is what I am planning to use for the installer for a custom service I'm adding. I would appreciate any feedback you can give but there is one obvious question... for both the 'snow' standard report and the 'FTP3' ftp report should the HTML_ROOT be the same, ie 'public_html/snow'? This was (obviously) adapted from the mem service example. Thank you!
from setup import ExtensionInstaller def loader(): return SnowDepthInstaller() class SnowDepthInstaller(ExtensionInstaller): def __init__(self): super(SnowDepthInstaller, self).__init__( version="0.2", name='snow', description='Collect and display snow depth.', author="Joe Percival", author_email="m...@mysite.com", process_services='user.snow.SnowDepth', config={ 'SnowDepth': { 'data_binding': 'snow_binding', 'address = 192.168.1.xxx', 'username = theuser', 'password = thepassword', 'max_mm = 5000', 'app_name = snowpy.py', 'DataBindings': { 'snow_binding': { 'database': 'snow_sqlite', 'table_name': 'archive', 'manager': 'weewx.manager.DaySummaryManager', 'schema': 'user.snow.schema'}}, 'Databases': { 'snow_sqlite': { 'database_name': 'snow.sdb', 'driver': 'weedb.sqlite'}}, 'StdReport': { 'snow': { 'skin': 'snow', 'HTML_ROOT': 'snow'} 'FTP3': { 'skin': 'Ftp' 'HTML_ROOT': 'public_html/snow' 'user': 'ftpu...@mytsite.com' 'password': 'myftppw' 'server': 'ftp.mysite.com' 'path': '/path/to/where/it/goes' 'passive': '1'}}, files=[('bin/user', ['bin/user/snow.py']), ('skins/snow', ['skins/snow/skin.conf', 'skins/snow/index.html.tmpl', 'skins/snow/weewx.css'])] ) -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.