Skip to content

Commit

Permalink
Merge branch 'release/v23.3.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
peted-davis committed Mar 3, 2023
2 parents 33a01d9 + d4e974a commit bee9fa2
Show file tree
Hide file tree
Showing 42 changed files with 46 additions and 46 deletions.
2 changes: 1 addition & 1 deletion kvlang/astro.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/barometer.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/forecast.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/layout.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/lightning.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/rainfall.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/settings.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/temperature.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/update.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/widgets.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion kvlang/wind.kv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/astronomical.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Returns the astronomical variables required by the Raspberry Pi Python
console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
10 changes: 5 additions & 5 deletions lib/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the configuration .ini files required by the Raspberry Pi Python
console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand All @@ -27,7 +27,7 @@
import os

# Define wfpiconsole version number
Version = 'v22.12.3'
Version = 'v23.3.1'

# Define required variables
TEMPEST = False
Expand Down Expand Up @@ -185,7 +185,7 @@ def verify_station(config):
Logger.info('Config: Verifying station details')
RETRIES = 0
while True:
Template = 'https://swd.weatherflow.com/swd/rest/observations/station/{}?api_key={}'
Template = 'https://swd.weatherflow.com/swd/rest/observations/station/{}?token={}'
URL = Template.format(config['Station']['StationID'], config['Keys']['WeatherFlow'])
try:
STATION = requests.get(URL).json()
Expand Down Expand Up @@ -398,7 +398,7 @@ def writeConfigKey(Config, Section, Key, keyDetails):
RETRIES = 0
if keyDetails['Source'] == 'observation' and OBSERVATION is None:
while True:
Template = 'https://swd.weatherflow.com/swd/rest/observations/station/{}?api_key={}'
Template = 'https://swd.weatherflow.com/swd/rest/observations/station/{}?token={}'
URL = Template.format(Config['Station']['StationID'], Config['Keys']['WeatherFlow'])
OBSERVATION = requests.get(URL).json()
if 'status' in STATION:
Expand Down Expand Up @@ -554,7 +554,7 @@ def validateAPIKeys(Config):
if 'Keys' in Config and 'Station' in Config:
if 'WeatherFlow' in Config['Keys'] and 'StationID' in Config['Station'] and STATION is None:
while True:
Template = 'https://swd.weatherflow.com/swd/rest/stations/{}?api_key={}'
Template = 'https://swd.weatherflow.com/swd/rest/stations/{}?token={}'
URL = Template.format(Config['Station']['StationID'], Config['Keys']['WeatherFlow'])
STATION = requests.get(URL).json()
if 'status' in STATION:
Expand Down
2 changes: 1 addition & 1 deletion lib/derivedVariables.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Returns the derived weather variables required by the Raspberry Pi Python
console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/forecast.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Returns the WeatherFlow forecast variables required by the Raspberry Pi
Python app for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/observationFormat.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Formats and sets the required units of observations displayed on the
Raspberry Pi Python console for Weather Flow Smart Home Weather Stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/observationParser.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Handles Websocket messages received by the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/properties.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the Kivy property values required by the Raspberry Pi Python
console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright C) 2018-2022 Peter Davis
Copyright C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/request_api/checkwx_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Returns CheckWX API requests required by the Raspberry Pi Python console
for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/request_api/github_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Returns Github API requests required by the Raspberry Pi Python console
for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/request_api/weatherflow_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Returns WeatherFlow API requests required by the Raspberry Pi Python console
for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/sager.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
''' Returns The Sager Weathercaster forecast required by the Raspberry Pi Python
console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
""" Defines the settings screen JSON object and custom settings types required
by the Raspberry Pi Python console for WeatherFlow Tempest and Smart Home
Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/status.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Contains station status functions required by the Raspberry Pi Python
console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion lib/system.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Contains system functions required by the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
# and Smart Home Weather stations.
# Copyright (C) 2018-2022 Peter Davis
# Copyright (C) 2018-2023 Peter Davis

# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/astro.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the SunriseSunset and MoonPhase panels required by the Raspberry Pi
Python console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/barometer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the Barometer panel required by the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/forecast.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the Forecast and Sager panel required by the Raspberry Pi Python
console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/lightning.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the Lightning panel required by the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/menu.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the mainMenu Panel required by the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/rainfall.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the Rainfall panel required by the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/temperature.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the Temperature panel required by the Raspberry Pi Python console
for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/template.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Define the panel template for the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/update.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the update notification panel required by the Raspberry Pi
Python console for WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion panels/wind.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Defines the WindSpeed panel required by the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis
This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion service/websocket.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest and
# Smart Home Weather stations.
# Copyright (C) 2018-2022 Peter Davis
# Copyright (C) 2018-2023 Peter Davis

# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion user/customPanels.kv.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Define custom user panels for the Raspberry Pi Python console for WeatherFlow
## Tempest and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion user/customPanels.py.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
""" Define custom user panels for the Raspberry Pi Python console for
WeatherFlow Tempest and Smart Home Weather stations.
Copyright (C) 2018-2022 Peter Davis
Copyright (C) 2018-2023 Peter Davis

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion wfpiconsole.kv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
##:kivy
## WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest
## and Smart Home Weather stations.
## Copyright (C) 2018-2022 Peter Davis
## Copyright (C) 2018-2023 Peter Davis

## This program is free software: you can redistribute it and/or modify it under
## the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion wfpiconsole.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WeatherFlow PiConsole: Raspberry Pi Python console for WeatherFlow Tempest and
# Smart Home Weather stations.
# Copyright (C) 2018-2022 Peter Davis
# Copyright (C) 2018-2023 Peter Davis

# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down
2 changes: 1 addition & 1 deletion wfpiconsole.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Automated installer and updater for the WeatherFlow PiConsole. Modified
# heavily from the PiHole and PiVPN installers.
# Copyright (C) 2018-2022 Peter Davis
# Copyright (C) 2018-2023 Peter Davis

# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
Expand Down

0 comments on commit bee9fa2

Please sign in to comment.