change service to run display.py instead of weather.py
Amended to allow unlimited plugins
added speedtest plugin
added rss plugin
moved logging to root dir, and use logging python module for OS-agnostic approach
created config webpage (cherrypy, html and css) with service file
Changes
Swapped LOW/HIGH temp on daily screen to HIGH/LOW
added method to allow for svg files in other parts of this application
check for updates every seconds instead of every minute
changed all variables to all lowercase to conform with PEP8
Reformatted code to conform with PEP8 (comment spacing, line spacing, 79 character limit, etc)
Change default screenshot filename to {'YEAR'-'MONTH'-'DAY'T'HOUR'.'MINUTE'.SECOND'}.jpeg to prevent overwriting and changed save directory to ~/PiWeatherRock/screenshots/
Minor changes
fixed formatting issue in X10.py
Removed unused comments, unused commented code, unused variables and unused methods from weather.py
fixed typo in variable name
removed unused weather.conf file
To-Do
[ ] Decide how to best allow for upgrades (dealing with old configs)
[ ] Refactor code to take advantage of .svg files
[ ] Refactor code to allow for smaller resolution screens (360x240 etc)
[ ] Add version number as config variable to aid in upgrading?
[ ] Convert str() and {}.format() to f-strings
[ ] Add JavaScript validation (or JSON schema) to ensure that either 'daily', 'hourly' or both are enabled.
Major Changes:
weather.py
into modulesdisplay.py
instead ofweather.py
logging
python module for OS-agnostic approachChanges
LOW/HIGH
temp on daily screen toHIGH/LOW
{'YEAR'-'MONTH'-'DAY'T'HOUR'.'MINUTE'.SECOND'}.jpeg
to prevent overwriting and changed save directory to~/PiWeatherRock/screenshots/
Minor changes
X10.py
weather.py
weather.conf
fileTo-Do
str()
and{}.format()
to f-strings