aioWiserHeatAPI 1.7.0__tar.gz → 1.7.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/PKG-INFO +6 -3
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/README.md +5 -2
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/__init__.py +1 -1
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/const.py +1 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/wiserhub.py +13 -6
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI.egg-info/PKG-INFO +6 -3
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/LICENSE +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/automation.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/binary_sensor.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/boiler_interface.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/button_panel.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/cli.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/devices.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/discovery.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/exceptions.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/heating.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/heating_actuator.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/__init__.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/automations.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/battery.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/capabilities.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/cloud.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/device.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/equipment.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/extra_config.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/firmware.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/gps.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/misc.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/network.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/opentherm.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/signal.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/special_times.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/status.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/temp.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/threshold.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/uiconfiguration.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/version.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/helpers/zigbee.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/hot_water.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/light.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/moments.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/ptc.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/pte.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/refactor.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/rest_controller.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/room.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/roomstat.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/schedule.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/shutter.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/smartplug.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/smartvalve.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/smokealarm.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/system.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/temp_humidity.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI/ufh.py +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI.egg-info/SOURCES.txt +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI.egg-info/dependency_links.txt +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI.egg-info/entry_points.txt +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI.egg-info/requires.txt +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI.egg-info/top_level.txt +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/setup.cfg +0 -0
- {aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aioWiserHeatAPI
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2
|
|
4
4
|
Summary: An AsyncIO API for controlling the Drayton Wiser Heating system
|
|
5
5
|
Home-page: https://github.com/msp1974/aioWiserHeatAPI
|
|
6
6
|
Author: Mark Parker
|
|
@@ -28,7 +28,7 @@ Dynamic: requires-dist
|
|
|
28
28
|
Dynamic: requires-python
|
|
29
29
|
Dynamic: summary
|
|
30
30
|
|
|
31
|
-
# Drayton Wiser Hub API Async v1.7.
|
|
31
|
+
# Drayton Wiser Hub API Async v1.7.2
|
|
32
32
|
|
|
33
33
|
This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.
|
|
34
34
|
|
|
@@ -49,7 +49,6 @@ Reference [https://it.knightnet.org.uk/kb/nr-qa/drayton-wiser-heating-control/#c
|
|
|
49
49
|
Look for the Wi-Fi network (SSID) called **‘WiserHeatXXXXXX’** where XXXXXX is last 6 digits of the MAC address
|
|
50
50
|
2. Connect to the network from a Windows/Linux/Mac/Android/iPhone machine
|
|
51
51
|
3. Execute the secret url :-)
|
|
52
|
-
|
|
53
52
|
- Open a browser to url `http://192.168.8.1/secret`
|
|
54
53
|
|
|
55
54
|
This will return a string which is your system secret, store this somewhere. If you are running the test script simply put this value , with the ip address of the hub, in your wiserkeys.params
|
|
@@ -83,6 +82,10 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b
|
|
|
83
82
|
|
|
84
83
|
## Changelog
|
|
85
84
|
|
|
85
|
+
### v1.7.2
|
|
86
|
+
|
|
87
|
+
- Fix: Set min f/w version of 4.42.23 for https on gen2 hubs
|
|
88
|
+
|
|
86
89
|
### v1.7.0
|
|
87
90
|
|
|
88
91
|
- Added https support for v2 hubs -> required for some commands
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Drayton Wiser Hub API Async v1.7.
|
|
1
|
+
# Drayton Wiser Hub API Async v1.7.2
|
|
2
2
|
|
|
3
3
|
This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.
|
|
4
4
|
|
|
@@ -19,7 +19,6 @@ Reference [https://it.knightnet.org.uk/kb/nr-qa/drayton-wiser-heating-control/#c
|
|
|
19
19
|
Look for the Wi-Fi network (SSID) called **‘WiserHeatXXXXXX’** where XXXXXX is last 6 digits of the MAC address
|
|
20
20
|
2. Connect to the network from a Windows/Linux/Mac/Android/iPhone machine
|
|
21
21
|
3. Execute the secret url :-)
|
|
22
|
-
|
|
23
22
|
- Open a browser to url `http://192.168.8.1/secret`
|
|
24
23
|
|
|
25
24
|
This will return a string which is your system secret, store this somewhere. If you are running the test script simply put this value , with the ip address of the hub, in your wiserkeys.params
|
|
@@ -53,6 +52,10 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b
|
|
|
53
52
|
|
|
54
53
|
## Changelog
|
|
55
54
|
|
|
55
|
+
### v1.7.2
|
|
56
|
+
|
|
57
|
+
- Fix: Set min f/w version of 4.42.23 for https on gen2 hubs
|
|
58
|
+
|
|
56
59
|
### v1.7.0
|
|
57
60
|
|
|
58
61
|
- Added https support for v2 hubs -> required for some commands
|
|
@@ -81,6 +81,7 @@ SPECIAL_DAYS = [TEXT_WEEKDAYS, TEXT_WEEKENDS, TEXT_ALL]
|
|
|
81
81
|
SPECIAL_TIMES = {"Sunrise": 3000, "Sunset": 4000}
|
|
82
82
|
|
|
83
83
|
OPENTHERMV2_MIN_VERSION = Version("4.32.47")
|
|
84
|
+
HUB_GEN2_MIN_HTTPS_VERSION = Version("4.42.23")
|
|
84
85
|
|
|
85
86
|
# Wiser Hub Rest Api URL Constants
|
|
86
87
|
WISERHUBURL = "{}:{}/data/v2/"
|
|
@@ -23,6 +23,7 @@ from .cli import log_response_to_file
|
|
|
23
23
|
from .const import (
|
|
24
24
|
DEFAULT_AWAY_MODE_TEMP,
|
|
25
25
|
DEFAULT_DEGRADED_TEMP,
|
|
26
|
+
HUB_GEN2_MIN_HTTPS_VERSION,
|
|
26
27
|
MAX_BOOST_INCREASE,
|
|
27
28
|
OPENTHERMV2_MIN_VERSION,
|
|
28
29
|
TEMP_ERROR,
|
|
@@ -161,12 +162,18 @@ class WiserAPI:
|
|
|
161
162
|
WISERHUBDOMAIN
|
|
162
163
|
)
|
|
163
164
|
|
|
164
|
-
# Determine if we need to use https for v2 hubs
|
|
165
|
-
if self._domain_data
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
165
|
+
# Determine if we need to use https for v2 hubs. FW needs to be 4.42.23 or higher
|
|
166
|
+
if self._domain_data:
|
|
167
|
+
hw_gen = self._domain_data.get("System", {}).get(
|
|
168
|
+
"HardwareGeneration", 1
|
|
169
|
+
)
|
|
170
|
+
fw_version = Version(
|
|
171
|
+
self._domain_data.get("System", {}).get(
|
|
172
|
+
"ActiveSystemVersion", "1.0.0"
|
|
173
|
+
)
|
|
174
|
+
)
|
|
175
|
+
if hw_gen == 2 and fw_version >= HUB_GEN2_MIN_HTTPS_VERSION:
|
|
176
|
+
self._wiser_rest_controller.use_https = True
|
|
170
177
|
|
|
171
178
|
self._network_data = await self._wiser_rest_controller.get_hub_data(
|
|
172
179
|
WISERHUBNETWORK
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: aioWiserHeatAPI
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.2
|
|
4
4
|
Summary: An AsyncIO API for controlling the Drayton Wiser Heating system
|
|
5
5
|
Home-page: https://github.com/msp1974/aioWiserHeatAPI
|
|
6
6
|
Author: Mark Parker
|
|
@@ -28,7 +28,7 @@ Dynamic: requires-dist
|
|
|
28
28
|
Dynamic: requires-python
|
|
29
29
|
Dynamic: summary
|
|
30
30
|
|
|
31
|
-
# Drayton Wiser Hub API Async v1.7.
|
|
31
|
+
# Drayton Wiser Hub API Async v1.7.2
|
|
32
32
|
|
|
33
33
|
This repository contains a simple API which queries the Drayton Wiser Heating sysystem used in the UK.
|
|
34
34
|
|
|
@@ -49,7 +49,6 @@ Reference [https://it.knightnet.org.uk/kb/nr-qa/drayton-wiser-heating-control/#c
|
|
|
49
49
|
Look for the Wi-Fi network (SSID) called **‘WiserHeatXXXXXX’** where XXXXXX is last 6 digits of the MAC address
|
|
50
50
|
2. Connect to the network from a Windows/Linux/Mac/Android/iPhone machine
|
|
51
51
|
3. Execute the secret url :-)
|
|
52
|
-
|
|
53
52
|
- Open a browser to url `http://192.168.8.1/secret`
|
|
54
53
|
|
|
55
54
|
This will return a string which is your system secret, store this somewhere. If you are running the test script simply put this value , with the ip address of the hub, in your wiserkeys.params
|
|
@@ -83,6 +82,10 @@ Documentation available in [info.md](https://github.com/msp1974/wiserHeatAPIv2/b
|
|
|
83
82
|
|
|
84
83
|
## Changelog
|
|
85
84
|
|
|
85
|
+
### v1.7.2
|
|
86
|
+
|
|
87
|
+
- Fix: Set min f/w version of 4.42.23 for https on gen2 hubs
|
|
88
|
+
|
|
86
89
|
### v1.7.0
|
|
87
90
|
|
|
88
91
|
- Added https support for v2 hubs -> required for some commands
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{aiowiserheatapi-1.7.0 → aiowiserheatapi-1.7.2}/aioWiserHeatAPI.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|