python-qube-heatpump 1.2.2__py3-none-any.whl → 1.2.3__py3-none-any.whl
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.
- python_qube_heatpump/client.py +24 -2
- {python_qube_heatpump-1.2.2.dist-info → python_qube_heatpump-1.2.3.dist-info}/METADATA +1 -1
- python_qube_heatpump-1.2.3.dist-info/RECORD +8 -0
- python_qube_heatpump-1.2.2.dist-info/RECORD +0 -8
- {python_qube_heatpump-1.2.2.dist-info → python_qube_heatpump-1.2.3.dist-info}/WHEEL +0 -0
- {python_qube_heatpump-1.2.2.dist-info → python_qube_heatpump-1.2.3.dist-info}/licenses/LICENSE +0 -0
python_qube_heatpump/client.py
CHANGED
|
@@ -46,11 +46,33 @@ class QubeClient:
|
|
|
46
46
|
async def _read(const_def):
|
|
47
47
|
return await self.read_value(const_def)
|
|
48
48
|
|
|
49
|
-
# Fetch
|
|
49
|
+
# Fetch temperature sensors
|
|
50
50
|
state.temp_supply = await _read(const.TEMP_SUPPLY)
|
|
51
51
|
state.temp_return = await _read(const.TEMP_RETURN)
|
|
52
|
-
state.
|
|
52
|
+
state.temp_source_in = await _read(const.TEMP_SOURCE_IN)
|
|
53
|
+
state.temp_source_out = await _read(const.TEMP_SOURCE_OUT)
|
|
54
|
+
state.temp_room = await _read(const.TEMP_ROOM)
|
|
53
55
|
state.temp_dhw = await _read(const.TEMP_DHW)
|
|
56
|
+
state.temp_outside = await _read(const.TEMP_OUTSIDE)
|
|
57
|
+
|
|
58
|
+
# Fetch power and energy sensors
|
|
59
|
+
state.power_thermic = await _read(const.POWER_THERMIC)
|
|
60
|
+
state.power_electric = await _read(const.POWER_ELECTRIC_CALC)
|
|
61
|
+
state.energy_total_electric = await _read(const.ENERGY_ELECTRIC_TOTAL)
|
|
62
|
+
state.energy_total_thermic = await _read(const.ENERGY_THERMIC_TOTAL)
|
|
63
|
+
state.cop_calc = await _read(const.COP_CALC)
|
|
64
|
+
|
|
65
|
+
# Fetch operation sensors
|
|
66
|
+
state.status_code = await _read(const.STATUS_CODE)
|
|
67
|
+
state.compressor_speed = await _read(const.COMPRESSOR_SPEED)
|
|
68
|
+
state.flow_rate = await _read(const.FLOW_RATE)
|
|
69
|
+
|
|
70
|
+
# Fetch setpoints (holding registers)
|
|
71
|
+
state.setpoint_room_heat_day = await _read(const.SETPOINT_HEAT_DAY)
|
|
72
|
+
state.setpoint_room_heat_night = await _read(const.SETPOINT_HEAT_NIGHT)
|
|
73
|
+
state.setpoint_room_cool_day = await _read(const.SETPOINT_COOL_DAY)
|
|
74
|
+
state.setpoint_room_cool_night = await _read(const.SETPOINT_COOL_NIGHT)
|
|
75
|
+
state.setpoint_dhw = await _read(const.USER_DHW_SETPOINT)
|
|
54
76
|
|
|
55
77
|
return state
|
|
56
78
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-qube-heatpump
|
|
3
|
-
Version: 1.2.
|
|
3
|
+
Version: 1.2.3
|
|
4
4
|
Summary: Async Modbus client for Qube Heat Pumps
|
|
5
5
|
Project-URL: Homepage, https://github.com/MattieGit/python-qube-heatpump
|
|
6
6
|
Project-URL: Bug Tracker, https://github.com/MattieGit/python-qube-heatpump/issues
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
python_qube_heatpump/__init__.py,sha256=eW8_tyAweg7YTOI599pi8gf3mt7aXW0SCw5ZyrBVJpU,57
|
|
2
|
+
python_qube_heatpump/client.py,sha256=BgCJbQBV57cfsWMfakjbs2VXgrQ8BZH8KnX1pnTke7k,6083
|
|
3
|
+
python_qube_heatpump/const.py,sha256=sXvXRcDb1uvBgzH2lV67Me_XtUErKA3fXMLO9gEGrlQ,3680
|
|
4
|
+
python_qube_heatpump/models.py,sha256=3I5U9_rEe1r73hwY4sNAMXfIxyPjBOtx06c_mAURLDk,1141
|
|
5
|
+
python_qube_heatpump-1.2.3.dist-info/METADATA,sha256=P-_IjdAl1jsiU4xYN_6oqlYK6gPvN8mvxM3qwU5tGmY,950
|
|
6
|
+
python_qube_heatpump-1.2.3.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
7
|
+
python_qube_heatpump-1.2.3.dist-info/licenses/LICENSE,sha256=qpuQXN7QwpILG9GYcmqrd3Ax5CxBZUBoT295xTgKnOM,1062
|
|
8
|
+
python_qube_heatpump-1.2.3.dist-info/RECORD,,
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
python_qube_heatpump/__init__.py,sha256=eW8_tyAweg7YTOI599pi8gf3mt7aXW0SCw5ZyrBVJpU,57
|
|
2
|
-
python_qube_heatpump/client.py,sha256=sndRUFheuv54A7ghH9HgJKg77PTTD7UxRcSzleKUr9c,4863
|
|
3
|
-
python_qube_heatpump/const.py,sha256=sXvXRcDb1uvBgzH2lV67Me_XtUErKA3fXMLO9gEGrlQ,3680
|
|
4
|
-
python_qube_heatpump/models.py,sha256=3I5U9_rEe1r73hwY4sNAMXfIxyPjBOtx06c_mAURLDk,1141
|
|
5
|
-
python_qube_heatpump-1.2.2.dist-info/METADATA,sha256=YPOSKN5eTRec_yDqkQaUSli5h42JnbqFVYO-D5Wi0Hw,950
|
|
6
|
-
python_qube_heatpump-1.2.2.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
7
|
-
python_qube_heatpump-1.2.2.dist-info/licenses/LICENSE,sha256=qpuQXN7QwpILG9GYcmqrd3Ax5CxBZUBoT295xTgKnOM,1062
|
|
8
|
-
python_qube_heatpump-1.2.2.dist-info/RECORD,,
|
|
File without changes
|
{python_qube_heatpump-1.2.2.dist-info → python_qube_heatpump-1.2.3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|