plugwise / plugwise-beta

Custom-component / development version of the Plugwise Home Assistant platform
MIT License
24 stars 8 forks source link

[BUG]: Main zone heating shows all zones as heating #280

Closed vincentwolsink closed 2 years ago

vincentwolsink commented 2 years ago

Describe the bug.

Since v0.22.3 if the main zone (in my case "Woonkamer") is heating, it shows all other zones also as heating, while this is not the case.

A33DD3DA-35D1-4DD1-BD66-569A5A405933

What version of Home Assistant Core has the issue?

2022.5.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

How did you install plugwise-beta?

HACS

What kind of Plugwise device is having issues?

Smile: Adam (including Lisa, Tom, Floor)

What firmware version is your Plugwise product at?

3.6.7

Logging

2022-05-12 10:26:03 DEBUG (MainThread) [custom_components.plugwise] Data: PlugwiseData(gateway={'smile_name': 'Adam', 'gateway_id': 'xxx', 'heater_id': 'xxx', 'cooling_present': False, 'notifications': {}}, devices={'xxx': {'class': 'thermo_sensor', 'fw': '2020-11-04T01:00:00+01:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Tom/Floor', 'name': 'Logeerkamer Radiator', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 7.0, 'upper_bound': 30.0, 'resolution': 0.01, 'sensors': {'temperature': 17.8, 'setpoint': 13.0, 'temperature_difference': 2.0, 'valve_position': 0.0}}, 'xxx': {'class': 'thermo_sensor', 'fw': '2020-11-04T01:00:00+01:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Tom/Floor', 'name': 'Slaapkamer Radiator', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 7.0, 'upper_bound': 30.0, 'resolution': 0.01, 'sensors': {'temperature': 17.1, 'setpoint': 9.0, 'temperature_difference': 1.9, 'valve_position': 0.0}}, 'xxx': {'class': 'zone_thermostat', 'fw': '2016-10-27T02:00:00+02:00', 'hw': '255', 'location': 'xxx', 'mac_address': None, 'model': 'Lisa', 'name': 'Slaapkamer', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 0.0, 'upper_bound': 99.9, 'resolution': 0.01, 'preset_modes': ['no_frost', 'home', 'vacation', 'away', 'asleep'], 'active_preset': 'no_frost', 'presets': {'no_frost': [10.0, 30.0], 'home': [20.0, 22.0], 'vacation': [15.0, 28.0], 'away': [15.0, 25.0], 'asleep': [17.0, 24.0]}, 'available_schedules': ['None'], 'selected_schedule': 'None', 'last_used': None, 'schedule_temperature': None, 'control_state': 'off', 'mode': 'heat', 'sensors': {'temperature': 18.5, 'setpoint': 9.0, 'battery': 43}}, 'xxx': {'class': 'gateway', 'fw': '3.6.7', 'hw': 'AME Smile 2.0 board', 'location': 'xxx', 'mac_address': 'XXX', 'model': 'Adam', 'name': 'Adam', 'vendor': 'Plugwise B.V.', 'zigbee_mac_address': 'XXX', 'regulation_mode': 'heating', 'regulation_modes': ['heating', 'off', 'bleeding_cold', 'bleeding_hot'], 'binary_sensors': {'plugwise_notification': False}, 'sensors': {'outdoor_temperature': 14.8}}, 'xxx': {'class': 'zone_thermostat', 'fw': '2016-10-27T02:00:00+02:00', 'hw': '255', 'location': 'xxx', 'mac_address': None, 'model': 'Lisa', 'name': 'Kinderkamer', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 0.0, 'upper_bound': 99.9, 'resolution': 0.01, 'preset_modes': ['no_frost', 'home', 'vacation', 'away', 'asleep'], 'active_preset': 'no_frost', 'presets': {'no_frost': [10.0, 30.0], 'home': [20.0, 22.0], 'vacation': [15.0, 28.0], 'away': [15.0, 25.0], 'asleep': [17.0, 24.0]}, 'available_schedules': ['None'], 'selected_schedule': 'None', 'last_used': None, 'schedule_temperature': None, 'control_state': 'off', 'mode': 'heat', 'sensors': {'temperature': 17.8, 'setpoint': 9.0, 'battery': 42}}, 'xxx': {'class': 'zone_thermostat', 'fw': '2016-10-27T02:00:00+02:00', 'hw': '255', 'location': 'xxx', 'mac_address': None, 'model': 'Lisa', 'name': 'Logeerkamer', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 0.0, 'upper_bound': 99.9, 'resolution': 0.01, 'preset_modes': ['no_frost', 'home', 'vacation', 'away', 'asleep'], 'active_preset': 'asleep', 'presets': {'no_frost': [10.0, 30.0], 'home': [20.0, 22.0], 'vacation': [15.0, 28.0], 'away': [15.0, 25.0], 'asleep': [17.0, 24.0]}, 'available_schedules': ['None'], 'selected_schedule': 'None', 'last_used': None, 'schedule_temperature': None, 'control_state': 'off', 'mode': 'heat', 'sensors': {'temperature': 18.8, 'setpoint': 13.0, 'battery': 43}}, 'xxx': {'class': 'thermo_sensor', 'fw': '2020-11-04T01:00:00+01:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Tom/Floor', 'name': 'Woonkamer Radiator', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 7.0, 'upper_bound': 30.0, 'resolution': 0.01, 'sensors': {'temperature': 18.4, 'setpoint': 16.0, 'temperature_difference': 2.3, 'valve_position': 100}}, 'xxx': {'class': 'thermo_sensor', 'fw': '2020-11-04T01:00:00+01:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Tom/Floor', 'name': 'Kinderkamer Radiator', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 7.0, 'upper_bound': 30.0, 'resolution': 0.01, 'sensors': {'temperature': 17.3, 'setpoint': 9.0, 'temperature_difference': 2.1, 'valve_position': 0.0}}, 'xxx': {'class': 'heater_central', 'fw': None, 'hw': None, 'location': 'xxx', 'mac_address': None, 'model': '10.20', 'name': 'OpenTherm', 'vendor': 'Remeha B.V.', 'maximum_boiler_temperature': 90.0, 'binary_sensors': {'dhw_state': False, 'heating_state': False, 'flame_state': False}, 'sensors': {'water_temperature': 47.7, 'intended_boiler_temperature': 0.0, 'modulation_level': 0.0, 'return_temperature': 47.1, 'water_pressure': 1.2}, 'switches': {'dhw_cm_switch': False}}, 'xxx': {'class': 'zone_thermometer', 'fw': '2020-09-01T02:00:00+02:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Jip', 'name': 'Woonkamer', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX, 'lower_bound': 4.0, 'upper_bound': 30.0, 'resolution': 0.01, 'preset_modes': ['no_frost', 'home', 'vacation', 'away', 'asleep'], 'active_preset': 'asleep', 'presets': {'no_frost': [10.0, 30.0], 'home': [20.0, 22.0], 'vacation': [15.0, 28.0], 'away': [15.0, 25.0], 'asleep': [17.0, 24.0]}, 'available_schedules': ['None'], 'selected_schedule': 'None', 'last_used': None, 'schedule_temperature': None, 'control_state': 'off', 'mode': 'heat', 'sensors': {'temperature': 20.5, 'setpoint': 16.0, 'battery': 93, 'humidity': 56.7}}})

Diagnostics information

No response

Additional information

No response

bouwew commented 2 years ago

Hi Vincent,

I had a quick look at your data: there is no heating going on. The heating_state of the heater_central is False and the thermostats all show control_state : off.

Please look at the climate.XXX entities in HA for the real result of the Plugwise-beta integration.

The pictures you show above are not from the standard HA Core climate cards, you might have misconfigured the card you are using?

vincentwolsink commented 2 years ago

Hi @bouwew,

For the logging output I didn't make sure the main zone was heating while capturing the log. Here is a new one:

2022-05-12 11:02:30 DEBUG (MainThread) [custom_components.plugwise] Data: PlugwiseData(gateway={'smile_name': 'Adam', 'gateway_id': 'xxx', 'heater_id': 'xxx', 'cooling_present': False, 'notifications': {}}, devices={'xxx': {'class': 'thermo_sensor', 'fw': '2020-11-04T01:00:00+01:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Tom/Floor', 'name': 'Logeerkamer Radiator', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 7.0, 'upper_bound': 30.0, 'resolution': 0.01, 'sensors': {'temperature': 18.1, 'setpoint': 9.0, 'temperature_difference': 2.0, 'valve_position': 0.0}}, 'xxx': {'class': 'thermo_sensor', 'fw': '2020-11-04T01:00:00+01:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Tom/Floor', 'name': 'Slaapkamer Radiator', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 7.0, 'upper_bound': 30.0, 'resolution': 0.01, 'sensors': {'temperature': 17.0, 'setpoint': 9.0, 'temperature_difference': 1.9, 'valve_position': 0.0}}, 'xxx': {'class': 'zone_thermostat', 'fw': '2016-10-27T02:00:00+02:00', 'hw': '255', 'location': 'xxx', 'mac_address': None, 'model': 'Lisa', 'name': 'Slaapkamer', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 0.0, 'upper_bound': 99.9, 'resolution': 0.01, 'preset_modes': ['no_frost', 'home', 'vacation', 'away', 'asleep'], 'active_preset': 'no_frost', 'presets': {'no_frost': [10.0, 30.0], 'home': [20.0, 22.0], 'vacation': [15.0, 28.0], 'away': [15.0, 25.0], 'asleep': [17.0, 24.0]}, 'available_schedules': ['None'], 'selected_schedule': 'None', 'last_used': None, 'schedule_temperature': None, 'control_state': 'off', 'mode': 'heat', 'sensors': {'temperature': 18.5, 'setpoint': 9.0, 'battery': 43}}, 'xxx': {'class': 'gateway', 'fw': '3.6.7', 'hw': 'AME Smile 2.0 board', 'location': 'xxx', 'mac_address': 'XXX', 'model': 'Adam', 'name': 'Adam', 'vendor': 'Plugwise B.V.', 'zigbee_mac_address': 'XXX', 'regulation_mode': 'heating', 'regulation_modes': ['heating', 'off', 'bleeding_cold', 'bleeding_hot'], 'binary_sensors': {'plugwise_notification': False}, 'sensors': {'outdoor_temperature': 15.4}}, 'xxx': {'class': 'zone_thermostat', 'fw': '2016-10-27T02:00:00+02:00', 'hw': '255', 'location': 'xxx', 'mac_address': None, 'model': 'Lisa', 'name': 'Kinderkamer', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 0.0, 'upper_bound': 99.9, 'resolution': 0.01, 'preset_modes': ['no_frost', 'home', 'vacation', 'away', 'asleep'], 'active_preset': 'no_frost', 'presets': {'no_frost': [10.0, 30.0], 'home': [20.0, 22.0], 'vacation': [15.0, 28.0], 'away': [15.0, 25.0], 'asleep': [17.0, 24.0]}, 'available_schedules': ['None'], 'selected_schedule': 'None', 'last_used': None, 'schedule_temperature': None, 'control_state': 'off', 'mode': 'heat', 'sensors': {'temperature': 17.9, 'setpoint': 9.0, 'battery': 42}}, 'xxx': {'class': 'zone_thermostat', 'fw': '2016-10-27T02:00:00+02:00', 'hw': '255', 'location': 'xxx', 'mac_address': None, 'model': 'Lisa', 'name': 'Logeerkamer', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 0.0, 'upper_bound': 99.9, 'resolution': 0.01, 'preset_modes': ['no_frost', 'home', 'vacation', 'away', 'asleep'], 'active_preset': 'no_frost', 'presets': {'no_frost': [10.0, 30.0], 'home': [20.0, 22.0], 'vacation': [15.0, 28.0], 'away': [15.0, 25.0], 'asleep': [17.0, 24.0]}, 'available_schedules': ['None'], 'selected_schedule': 'None', 'last_used': None, 'schedule_temperature': None, 'control_state': 'off', 'mode': 'heat', 'sensors': {'temperature': 19.4, 'setpoint': 9.0, 'battery': 43}}, 'xxx': {'class': 'thermo_sensor', 'fw': '2020-11-04T01:00:00+01:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Tom/Floor', 'name': 'Woonkamer Radiator', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 7.0, 'upper_bound': 30.0, 'resolution': 0.01, 'sensors': {'temperature': 18.2, 'setpoint': 23.0, 'temperature_difference': 2.0, 'valve_position': 100}}, 'xxx': {'class': 'thermo_sensor', 'fw': '2020-11-04T01:00:00+01:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Tom/Floor', 'name': 'Kinderkamer Radiator', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 7.0, 'upper_bound': 30.0, 'resolution': 0.01, 'sensors': {'temperature': 17.3, 'setpoint': 9.0, 'temperature_difference': 2.1, 'valve_position': 0.0}}, 'xxx': {'class': 'heater_central', 'fw': None, 'hw': None, 'location': 'xxx', 'mac_address': None, 'model': '10.20', 'name': 'OpenTherm', 'vendor': 'Remeha B.V.', 'maximum_boiler_temperature': 90.0, 'binary_sensors': {'dhw_state': False, 'heating_state': True, 'flame_state': True}, 'sensors': {'water_temperature': 38.4, 'intended_boiler_temperature': 81.5, 'modulation_level': 26, 'return_temperature': 25.2, 'water_pressure': 1.2}, 'switches': {'dhw_cm_switch': False}}, 'xxx': {'class': 'zone_thermometer', 'fw': '2020-09-01T02:00:00+02:00', 'hw': '1', 'location': 'xxx', 'mac_address': None, 'model': 'Jip', 'name': 'Woonkamer', 'vendor': 'Plugwise', 'zigbee_mac_address': 'XXX', 'lower_bound': 4.0, 'upper_bound': 30.0, 'resolution': 0.01, 'preset_modes': ['no_frost', 'home', 'vacation', 'away', 'asleep'], 'active_preset': 'home', 'presets': {'no_frost': [10.0, 30.0], 'home': [20.0, 22.0], 'vacation': [15.0, 28.0], 'away': [15.0, 25.0], 'asleep': [17.0, 24.0]}, 'available_schedules': ['None'], 'selected_schedule': 'None', 'last_used': None, 'schedule_temperature': None, 'control_state': 'heating', 'mode': 'heat', 'sensors': {'temperature': 20.6, 'setpoint': 23.0, 'battery': 93, 'humidity': 56.7}}})

State of the "Woonkamer" climate entity:

hvac_modes:
  - heat
min_temp: 4
max_temp: 30
target_temp_step: 0.1
preset_modes:
  - no_frost
  - home
  - vacation
  - away
  - asleep
current_temperature: 20.6
temperature: 23
hvac_action: heating
preset_mode: home
friendly_name: Woonkamer
supported_features: 17

State of the "Slaapkamer" climate entity:

hvac_modes:
  - heat
min_temp: 0
max_temp: 99.9
target_temp_step: 0.1
preset_modes:
  - no_frost
  - home
  - vacation
  - away
  - asleep
current_temperature: 18.5
temperature: 9
hvac_action: heating
preset_mode: no_frost
friendly_name: Slaapkamer
supported_features: 17
bouwew commented 2 years ago

Ok thanks, this helps. Woonkamer shows 'control_state': 'heating' and Slaapkamer shows 'control_state': 'off'. I'll have a look at what could be wrong.

bouwew commented 2 years ago

I've located the bug, please test plugwise-beta v0.23.0a5

vincentwolsink commented 2 years ago

In v0.23.0a5 the bug seems solved indeed. Thanks for the quick resolution!

bouwew commented 2 years ago

Nice! Thanks for reporting back.