Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- cron: "2 4 * * 0" # weekly
workflow_dispatch:
push:
# pull_request:
pull_request:
Comment thread
bouwew marked this conversation as resolved.
Resolved

jobs:
# Determine cache key once
Expand Down Expand Up @@ -249,6 +249,8 @@ jobs:

test-publishing:
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
# We cant test publish for contributions, todo
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository
Comment thread
bouwew marked this conversation as resolved.
Resolved
runs-on: ubuntu-latest
environment: testpypi
permissions:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

## Ongoing

- Contribution PR [#949](https://github.com/plugwise/python-plugwise/pull/949) by @bilhert:
- Add more OpenTherm boiler data, when provided by the boiler:
- DHW flow-rate (`dhw_flow`).
- Raw OpenTherm fault-flags and fault- and diagnostic-codes (`fault_flags`, `oem_fault_code`, `oem_diagnostic_code`), the meaning of the OEM codes is boiler-specific. Note: `oem_fault_code` is OEM-specific (0..255), several boilers report 255 while there is no active fault.
- Burner, heating pump and DHW counters and operation-times, collected from the `cumulative_log` items.
- The maximum modulation level reported by an OpenTherm thermostat.
- Collect `interval_log` data only for power-measurements (W to Wh), the only measurements with a matching energy `interval_log`. This applies to all devices; no existing `_interval` sensor is affected.
- Code optimizations via PR [#946](https://github.com/plugwise/python-plugwise/pull/946)

## v1.16.0
Expand Down
2 changes: 2 additions & 0 deletions fixtures/adam_bad_thermostat/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,10 @@
"name": "OpenTherm",
"sensors": {
"dhw_temperature": 49.9,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_fault_code": 0,
"outdoor_air_temperature": 13.6,
"return_temperature": 33.0,
"water_temperature": 20.9
Expand Down
14 changes: 14 additions & 0 deletions fixtures/adam_heatpump_cooling/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,22 @@
"model_id": "17.1",
"name": "OpenTherm",
"sensors": {
"burner_operation_time": 8726,
"burner_starts": 72636,
"dhw_burner_operation_time": 789,
"dhw_burner_starts": 15096,
"dhw_pump_operation_time": 870,
"dhw_pump_starts": 441797,
"dhw_temperature": 63.5,
"failed_burner_flame_ignitions": 44,
"failed_burner_starts": 53,
"fault_flags": 0,
"heating_pump_operation_time": 12350,
"heating_pump_starts": 2490968,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_diagnostic_code": 0,
"oem_fault_code": 255,
"outdoor_air_temperature": 13.5,
"return_temperature": 24.9,
"water_pressure": 2.0,
Expand Down Expand Up @@ -1021,6 +1034,7 @@
"model_id": "143.1",
"name": "Thermostaat WK",
"sensors": {
"maximum_modulation_level": 100,
"setpoint": 21.5,
"temperature": 22.5
},
Expand Down
13 changes: 13 additions & 0 deletions fixtures/adam_jip/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,21 @@
"model_id": "10.20",
"name": "OpenTherm",
"sensors": {
"burner_operation_time": 5566,
"burner_starts": 15344,
"dhw_burner_operation_time": 408,
"dhw_burner_starts": 7400,
"dhw_pump_operation_time": 23842,
"dhw_pump_starts": 650375,
"failed_burner_flame_ignitions": 0,
"failed_burner_starts": 0,
"fault_flags": 0,
"heating_pump_operation_time": 6452,
"heating_pump_starts": 3801046,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_diagnostic_code": 0,
"oem_fault_code": 255,
"return_temperature": 37.1,
"water_pressure": 1.4,
"water_temperature": 37.3
Expand Down
14 changes: 14 additions & 0 deletions fixtures/adam_onoff_cooling_fake_firmware/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,22 @@
"model": "Unknown",
"name": "OnOff",
"sensors": {
"burner_operation_time": 8726,
"burner_starts": 72636,
"dhw_burner_operation_time": 789,
"dhw_burner_starts": 15096,
"dhw_pump_operation_time": 870,
"dhw_pump_starts": 441797,
"dhw_temperature": 63.5,
"failed_burner_flame_ignitions": 44,
"failed_burner_starts": 53,
"fault_flags": 0,
"heating_pump_operation_time": 12350,
"heating_pump_starts": 2490968,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_diagnostic_code": 0,
"oem_fault_code": 255,
"outdoor_air_temperature": 13.5,
"return_temperature": 24.9,
"water_pressure": 2.0,
Expand Down Expand Up @@ -83,6 +96,7 @@
"model_id": "143.1",
"name": "Thermostaat WK",
"sensors": {
"maximum_modulation_level": 100,
"setpoint": 21.5,
"temperature": 22.5
},
Expand Down
7 changes: 7 additions & 0 deletions fixtures/adam_plus_anna/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,14 @@
"name": "OpenTherm",
"select_dhw_mode": "eco",
"sensors": {
"burner_operation_time": 8068,
"burner_starts": 17392,
"dhw_burner_operation_time": 795,
"failed_burner_flame_ignitions": 30,
"failed_burner_starts": 3,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"oem_fault_code": 255,
"water_temperature": 48.0
},
"switches": {
Expand Down
8 changes: 8 additions & 0 deletions fixtures/adam_plus_anna_new/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@
"name": "OpenTherm",
"select_dhw_mode": "eco",
"sensors": {
"burner_operation_time": 11576,
"burner_starts": 50221,
"dhw_burner_operation_time": 913,
"failed_burner_flame_ignitions": 34,
"failed_burner_starts": 6,
"fault_flags": 0,
"intended_boiler_temperature": 22.5,
"oem_fault_code": 255,
"water_temperature": 43.0
},
"switches": {
Expand Down Expand Up @@ -183,6 +190,7 @@
"model_id": "143.1",
"name": "Anna",
"sensors": {
"maximum_modulation_level": 100,
"setpoint": 20.5,
"temperature": 20.1
},
Expand Down
8 changes: 8 additions & 0 deletions fixtures/adam_plus_anna_new_regulation_off/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,14 @@
"name": "OpenTherm",
"select_dhw_mode": "eco",
"sensors": {
"burner_operation_time": 10721,
"burner_starts": 44861,
"dhw_burner_operation_time": 894,
"failed_burner_flame_ignitions": 33,
"failed_burner_starts": 3,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"oem_fault_code": 255,
"water_temperature": 30.0
},
"switches": {
Expand Down Expand Up @@ -156,6 +163,7 @@
"model_id": "143.1",
"name": "Anna",
"sensors": {
"maximum_modulation_level": 100,
"setpoint": 18.5,
"temperature": 22.4
},
Expand Down
3 changes: 3 additions & 0 deletions fixtures/anna_elga_2/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@
"select_dhw_mode": "eco",
"sensors": {
"domestic_hot_water_setpoint": 60.0,
"fault_flags": 0,
"intended_boiler_temperature": 58.3,
"modulation_level": 55,
"oem_fault_code": 0,
"outdoor_air_temperature": 6.0,
"return_temperature": 35.5,
"water_pressure": 0.5,
Expand Down Expand Up @@ -87,6 +89,7 @@
"cooling_activation_outdoor_temperature": 24.0,
"cooling_deactivation_threshold": 2.0,
"illuminance": 0.5,
"maximum_modulation_level": 100,
"setpoint_high": 30.0,
"setpoint_low": 19.5,
"temperature": 19.2
Expand Down
2 changes: 2 additions & 0 deletions fixtures/anna_elga_2_cooling/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
"select_dhw_mode": "comfort",
"sensors": {
"domestic_hot_water_setpoint": 60.0,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_fault_code": 0,
"outdoor_air_temperature": 30.0,
"return_temperature": 23.4,
"water_pressure": 0.5,
Expand Down
2 changes: 2 additions & 0 deletions fixtures/anna_elga_2_schedule_off/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@
"select_dhw_mode": "comfort",
"sensors": {
"domestic_hot_water_setpoint": 60.0,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_fault_code": 0,
"outdoor_air_temperature": 13.0,
"return_temperature": 23.4,
"water_pressure": 0.5,
Expand Down
3 changes: 3 additions & 0 deletions fixtures/anna_elga_no_cooling/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,12 @@
"model": "Generic heater",
"name": "OpenTherm",
"sensors": {
"dhw_flow": 1.8,
"dhw_temperature": 46.3,
"fault_flags": 0,
"intended_boiler_temperature": 35.0,
"modulation_level": 52,
"oem_fault_code": 0,
"outdoor_air_temperature": 3.0,
"return_temperature": 25.1,
"water_pressure": 1.57,
Expand Down
3 changes: 3 additions & 0 deletions fixtures/anna_heatpump_cooling/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@
"name": "OpenTherm",
"select_dhw_mode": "eco",
"sensors": {
"dhw_flow": 0.26,
"dhw_temperature": 41.5,
"domestic_hot_water_setpoint": 60.0,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 40,
"oem_fault_code": 0,
"outdoor_air_temperature": 22.0,
"return_temperature": 23.8,
"water_pressure": 1.61,
Expand Down
3 changes: 3 additions & 0 deletions fixtures/anna_heatpump_cooling_fake_firmware/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@
"name": "OpenTherm",
"select_dhw_mode": "eco",
"sensors": {
"dhw_flow": 0.26,
"dhw_temperature": 41.5,
"domestic_hot_water_setpoint": 60.0,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 100,
"oem_fault_code": 0,
"outdoor_air_temperature": 22.0,
"return_temperature": 23.8,
"water_pressure": 1.61,
Expand Down
3 changes: 3 additions & 0 deletions fixtures/anna_heatpump_heating/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@
"model": "Generic heater/cooler",
"name": "OpenTherm",
"sensors": {
"dhw_flow": 1.8,
"dhw_temperature": 46.3,
"fault_flags": 0,
"intended_boiler_temperature": 35.0,
"modulation_level": 52,
"oem_fault_code": 0,
"outdoor_air_temperature": 3.0,
"return_temperature": 25.1,
"water_pressure": 1.57,
Expand Down
3 changes: 3 additions & 0 deletions fixtures/anna_loria_cooling_active/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"select_schedule": "Winter",
"sensors": {
"illuminance": 45.0,
"maximum_modulation_level": 100,
"setpoint_high": 23.5,
"setpoint_low": 4.0,
"temperature": 24.1
Expand Down Expand Up @@ -134,8 +135,10 @@
"name": "OpenTherm",
"sensors": {
"dhw_temperature": 52.9,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 100,
"oem_fault_code": 0,
"outdoor_air_temperature": 17.2,
"return_temperature": 26.3,
"water_temperature": 25.3
Expand Down
3 changes: 3 additions & 0 deletions fixtures/anna_loria_driessens/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
"select_schedule": "Verwarmen@9-23u",
"sensors": {
"illuminance": 5.5,
"maximum_modulation_level": 100,
"setpoint_high": 30.0,
"setpoint_low": 20.0,
"temperature": 21.2
Expand Down Expand Up @@ -137,8 +138,10 @@
"name": "OpenTherm",
"sensors": {
"dhw_temperature": 49.5,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_fault_code": 0,
"outdoor_air_temperature": 7.5,
"return_temperature": 23.0,
"water_temperature": 23.3
Expand Down
3 changes: 3 additions & 0 deletions fixtures/anna_loria_heating_idle/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"select_schedule": "Winter",
"sensors": {
"illuminance": 45.0,
"maximum_modulation_level": 100,
"setpoint_high": 30.0,
"setpoint_low": 20.5,
"temperature": 22.1
Expand Down Expand Up @@ -134,8 +135,10 @@
"name": "OpenTherm",
"sensors": {
"dhw_temperature": 52.9,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_fault_code": 0,
"outdoor_air_temperature": 17.2,
"return_temperature": 26.3,
"water_temperature": 25.3
Expand Down
7 changes: 7 additions & 0 deletions fixtures/anna_p1/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,15 @@
"name": "OpenTherm",
"select_dhw_mode": "comfort",
"sensors": {
"burner_operation_time": 11595,
"burner_starts": 50341,
"dhw_burner_operation_time": 914,
"failed_burner_flame_ignitions": 34,
"failed_burner_starts": 6,
"fault_flags": 0,
"intended_boiler_temperature": 0.0,
"modulation_level": 0,
"oem_fault_code": 255,
"water_pressure": 6.0,
"water_temperature": 35.0
},
Expand Down
8 changes: 8 additions & 0 deletions fixtures/anna_v4/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,16 @@
"model_id": "2.32",
"name": "OpenTherm",
"sensors": {
"burner_operation_time": 927,
"burner_starts": 11459,
"dhw_burner_operation_time": 105,
"dhw_burner_starts": 4348,
"dhw_flow": 0.0,
"fault_flags": 0,
"intended_boiler_temperature": 39.9,
"modulation_level": 0,
"oem_diagnostic_code": 204,
"oem_fault_code": 0,
"return_temperature": 32.0,
"water_pressure": 2.2,
"water_temperature": 45.0
Expand Down
8 changes: 8 additions & 0 deletions fixtures/anna_v4_dhw/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,16 @@
"model_id": "2.32",
"name": "OpenTherm",
"sensors": {
"burner_operation_time": 927,
"burner_starts": 11459,
"dhw_burner_operation_time": 105,
"dhw_burner_starts": 4348,
"dhw_flow": 0.0,
"fault_flags": 0,
"intended_boiler_temperature": 39.9,
"modulation_level": 0,
"oem_diagnostic_code": 204,
"oem_fault_code": 0,
"return_temperature": 32.0,
"water_pressure": 2.2,
"water_temperature": 45.0
Expand Down
Loading
Loading