Is het overigens niet simpeler om een select template te maken die met een set_action
gewoon een number veranderd zoals de temperatuur?
gewoon een number veranderd zoals de temperatuur?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
| modbus_controller: - id: ${name} ## Procon Modbus slaveaddress 1 address: 1 modbus_id: modbus1 setup_priority: -10 update_interval: 10s - id: SDM ## SDM meter slaveadress 5 address: 5 modbus_id: modbus1 setup_priority: -10 update_interval: 10s |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
| #### SDM METER### # Power - platform: modbus_controller modbus_controller_id: SDM name: SDM Total System Power register_type: read address: 0x0034 value_type: FP32 unit_of_measurement: W state_class: "measurement" device_class: "power" accuracy_decimals: 3 - platform: modbus_controller modbus_controller_id: SDM name: SDM Import Active Energy register_type: read address: 0x0048 value_type: FP32 unit_of_measurement: kWh state_class: "total_increasing" device_class: "energy" accuracy_decimals: 3 # Current - platform: modbus_controller modbus_controller_id: SDM name: SDM Phase 1 Current register_type: read address: 0x0006 value_type: FP32 device_class: "current" state_class: "measurement" unit_of_measurement: A accuracy_decimals: 3 - platform: modbus_controller modbus_controller_id: SDM name: SDM Phase 2 Current register_type: read address: 0x0008 value_type: FP32 device_class: "current" state_class: "measurement" unit_of_measurement: A accuracy_decimals: 3 - platform: modbus_controller modbus_controller_id: SDM name: SDM Phase 3 Current register_type: read address: 0x000A value_type: FP32 device_class: "current" state_class: "measurement" unit_of_measurement: A accuracy_decimals: 3 |
ERSD-VM2D / PUHZ-SW75-YAA / SMA-tripower 6 /
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
| packages: remote_package: url: https://github.com/fonske/Mitsubishi_procon ref: main refresh: 0s files: [ esphome/labels/.procon-labels-en.yaml, esphome/.procon.base.yaml, esphome/boards/board-esp32S3.yaml, esphome/.procon.finder.yaml ] ## Language Packs: # esphome/labels/.procon-labels-en.yaml # esphome/labels/.procon-labels-nl.yaml ## Base: # esphome/.procon.base.yaml ## Boards: # esphome/boards/board-esp32.yaml # esphome/boards/board-esp32S3.yaml # esphome/boards/board-m5stack-atom.yaml ### ## Zone 2, If you have 2 zones on the heatpump enable this: # esphome/.procon.zone2.yaml ## ## EASTRON 3ph SDM, If you have a 3phase Eastron kWh meter on the heatpump enable this: # esphome/.procon.sdm.yaml ## set parity to none on the kWh meter. Baudrate to 9600 ## FINDER 1ph 7E 64 8 230 0210. If you have 2 of these kWh meters on the heatpump enable this: # esphome/.procon.finder.yaml ## set parity to none on the kWh meter. Baudrate to 9600 ### |
[ Voor 17% gewijzigd door AUijtdehaag op 26-11-2023 16:18 ]
Volgens mij is dit een algemeen probleem waarbij een verkeerde sensor gebruikt wordt en niks te maken heeft met Procon. Als het goed is zou de volgende post het moeten oplossen of even in het algemene Mitsu forum naar "39" zoeken.ArieR schreef op woensdag 29 november 2023 @ 15:21:
Sindskort kan ik mijn warmtepomp (SUZ-SWM80VA2 + EHSD-VM2D - FTC6) uitlezen met de procon. De code heb ik uit dit topic gehaald en de enige waarde die vreemd doet is de kamertemperatuur. De thermostaat die ik heb is Panasonic PAW-A2W-RTWIRED en de warmtepomp slaat ook gewoon uit als die zijn ingestelde waarde behaald heeft. Via de warmtepomp komt die dus correct binnen, alleen kan ik hem met de procon niet uitlezen.
Code uit ESP
## Room Temperature – Zone 1 (signed) (FC4: 52, MA: 30053)
- platform: modbus_controller
modbus_controller_id: ${device}
id: room_temperature_zone_1
name: ${device} Room temperature
icon: mdi:home-thermometer
address: 52
device_class: temperature
unit_of_measurement: "°C"
register_type: read
value_type: S_WORD
accuracy_decimals: 1
filters:
- multiply: 0.01
Weergave van temperatuur
[Afbeelding]
Code uit de handleiding
De code komt wel overeen met hetgeen wat ook in de code van de ESP staat.
[Afbeelding]
Kan ik nog iets doen om deze temperatuur wel te tonen of komt die door de Pananonic thermostaat?
WP: Mitsubishi PUHZ-SW75YAA + ERSD-VM2D
Dat lijkt inderdaad op hetzelfde probleem! Als de WP uit staat ga ik dat aanpassen.Sven1234 schreef op woensdag 29 november 2023 @ 16:30:
[...]
Volgens mij is dit een algemeen probleem waarbij een verkeerde sensor gebruikt wordt en niks te maken heeft met Procon. Als het goed is zou de volgende post het moeten oplossen of even in het algemene Mitsu forum naar "39" zoeken.
https://gathering.tweaker...message/73666942#73666942
12x 280Wp ZW, 12x 280Wp ZO, Zubadan SHW80YAA 8kW, Zehnder Q450 ERV
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
Mijn Procon heeft helemaal geen aparte voedingsaansluiting?breinonline schreef op woensdag 6 december 2023 @ 14:44:
Ik voed de procon vooralsnog vanuit een losse usb adapter. Ik weet dat je hem ook vanuit de binnenunit kan voeden. Heeft iemand een schema of foto’s hoe je dat aansluit?
Nee, je hebt gelijk. Ik bedoel de ESP32 te voeden vanuit de proconocaj schreef op woensdag 6 december 2023 @ 19:30:
[...]
Mijn Procon heeft helemaal geen aparte voedingsaansluiting?
Er zit toch alleen een kabel naar de binnenunit (CN105/CN92) en een RS485-aansluiting op?
Of zijn er meerdere verschillende Procon's in omloop?
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
[ Voor 52% gewijzigd door AUijtdehaag op 06-12-2023 20:34 ]
[ Voor 20% gewijzigd door P5ycho op 06-12-2023 20:45 ]
12x 280Wp ZW, 12x 280Wp ZO, Zubadan SHW80YAA 8kW, Zehnder Q450 ERV
[ Voor 19% gewijzigd door AUijtdehaag op 06-12-2023 21:04 ]
12x 280Wp ZW, 12x 280Wp ZO, Zubadan SHW80YAA 8kW, Zehnder Q450 ERV
Renesas Micro Controller: https://www.renesas.com/u...t/m16c64a-group-datasheetAUijtdehaag schreef op woensdag 6 december 2023 @ 21:57:
@P5ycho
Derde foto, FTC5
AUijtdehaag in "Mitsubishi Electric Ecodan Lucht/Water Warmtepompen"
Zit even in buitenland voor het werk, als ik thuis ben maak ik wel even een grotere foto in dien nodig.
12x 280Wp ZW, 12x 280Wp ZO, Zubadan SHW80YAA 8kW, Zehnder Q450 ERV
12x 280Wp ZW, 12x 280Wp ZO, Zubadan SHW80YAA 8kW, Zehnder Q450 ERV
Smart grid iets voor je? En hier staat ook een truc:Sicco92 schreef op woensdag 13 december 2023 @ 17:21:
Sinds afgelopen weekend kan ik ook mijn warmtepomp uitlezen met een Procon en een ESPHome knutselwerkje. Met veel dank aan de informatie in dit topic en de GitHub-repositories!
Ik ben nu bezig om de warmtepomp wat optimaler te gebruiken met dynamische stroomprijzen. Ons huis is goed geïsoleerd, dus ik kan prima werken met het bufferen van warmte. Ik loop nu alleen wel tegen onze master-master regeling aan. Er zijn constant kleine ruimtes die warmte vragen, en die hebben op zichzelf niet genoeg afgifte om efficiënt te kunnen draaien. Als we dit 2 jaar geleden hadden geweten, dan hadden we de regeling niet genomen. Maar ja, het zit er al dus moeten we er mee dealen.
Ik wil dus graag het wel/niet verwarmen door de warmtepomp kunnen regelen onafhankelijk van de warmtevraag. Dit heb ik nu gedaan door de vakantiemodus te misbruiken, maar dat voelt een beetje omslachtig. Daarnaast kan ik hem nu niet meer als echte vakantiemodus gebruiken. In de registers zie ik wel een 'Heating On Prohibit' staan, maar die is helaas read-only.
Zijn er hier mensen die een slimmere oplossing hebben bedacht voor het forceren van niet-verwarmen?
When life gives you lemons, start a battery factory
[ Voor 8% gewijzigd door AUijtdehaag op 13-12-2023 18:29 ]
Hoe laat jij hem lang nadraaien? Ik zit in de modbus lijst te kijken maar kan alleen de onderstaande entry vinden. Het is me alleen niet helemaal duidelijk of dit nou een lees register is of een register wat ik kan beinvloeden.AUijtdehaag schreef op zaterdag 15 juli 2023 @ 06:26:
@Nitrous @jozi
Onlangs heeft iemand hem via een installateur en alklima er een aangeschaft voor normale prijzen. (+/-140 euro)
@breinonline
Ik pauzeer het koelen via holiday mode en lang nadraaien pomp (vloer is koud en ik heb een fancoil op zolder)
Maar gebruik hem niet voor SWW.
Aton power to heat doet mijn SWW.
Op een geautomatiseerde manier via procon is mij dat niet gelukt. Via het service-menu is het wel mogelijk om alleen de pomp aan te zetten.LittleKiller schreef op maandag 18 december 2023 @ 11:59:
Heeft er iemand een manier gevonden om de pomp aan te zetten zonder de rest van het systeem?
Look behind you! A three headed monkey!
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
Heb je het backup element dan altijd aanstaan tijdens een SWW run?ocaj schreef op woensdag 27 december 2023 @ 14:56:
Heb je het backup-element wel aangezet voor SWW?
Voor de echte legionella-run van de binnenunit kun je het element niet uitzetten, maar je gesimuleerde run is vanuit het perspectief van de binnenunit een gewone SWW-run en daarvoor kun je het backup-element wél uitzetten in de instellingen.
Hier gaat het probleemloos met het ingebouwde element. Mijn SUZ-SWM80VA schakelt bij 57,5 over naar het backup-element als de delta T te klein wordt..
Bij mijn binnenunit (FTC6) staat het onder Service -> Extra instellingen -> Elektr. verwarming (SWW). Links staat aan/uit voor het boosterelement en daarnaast aa/uit voor een dompelelement. Daarnaast kan je nog een wachttijd instellen, maar bij mij gaat die niet hoger dan 30 minuten.LittleKiller schreef op woensdag 27 december 2023 @ 17:59:
En welke setting is dat?
YAML:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 template: - sensor: - name: "Mitsubishi Delta T" icon: mdi:delta unit_of_measurement: "°C" device_class: temperature state_class: measurement state: > {{ (states('sensor.mitsubishi_flow_temperature') | float(0) - states('sensor.mitsubishi_return_temperature') | float(0)) | round(1) }} - name: "Mitsubishi Current Output Power" device_class: power unit_of_measurement: "kW" state_class: measurement state: > {% if states('sensor.mitsubishi_operating_mode') == 'Stop' %} 0 {% else %} {{ ((states('sensor.mitsubishi_delta_t') | float(0)) * 4.186 * (states('sensor.mitsubishi_flow_rate') | float(0)) / 60) | round(1) }} {% endif %} - trigger: - platform: state entity_id: sensor.mitsubishi_energy_used_heating for: minutes: 1 sensor: - name: Mitsubishi energy used heating total unique_id: "3aa9cd41-b9c5-4785-853c-0239bd72a67c" state: > {% set new_state = states('sensor.mitsubishi_energy_used_heating') | float(0) if now() > today_at("23:50") else 0 %} {{ (states('sensor.mitsubishi_energy_used_heating_total') | float(0) + new_state) | round(3) }} unit_of_measurement: kWh device_class: energy state_class: total_increasing icon: mdi:heat-wave - trigger: - platform: state entity_id: sensor.mitsubishi_energy_used_cooling for: minutes: 1 sensor: - name: Mitsubishi energy used cooling total unique_id: "e770ab55-d0b5-4b9f-b9f2-52cac6217827" state: > {% set new_state = states('sensor.mitsubishi_energy_used_cooling') | float(0) if now() > today_at("23:50") else 0 %} {{ (states('sensor.mitsubishi_energy_used_cooling_total') | float(0) + new_state) | round(3) }} unit_of_measurement: kWh device_class: energy state_class: total_increasing icon: mdi:snowflake - trigger: - platform: state entity_id: sensor.mitsubishi_energy_used_dhw for: minutes: 1 sensor: - name: Mitsubishi energy used DHW total unique_id: "71fbcc16-e604-4589-a875-265df1f81fd1" state: > {% set new_state = states('sensor.mitsubishi_energy_used_dhw') | float(0) if now() > today_at("23:50") else 0 %} {{ (states('sensor.mitsubishi_energy_used_dhw_total') | float(0) + new_state) | round(3) }} unit_of_measurement: kWh device_class: energy state_class: total_increasing icon: mdi:water - trigger: platform: time at: "23:59:30" sensor: - name: Degree day daily unique_id: "0eee981b-1cb7-4ba9-921d-43f38ea8afbe" state: > {% set regularized_temp = 18.0 %} {% set average_outside_temp = states('sensor.average_daily_outdoor_temperature') | float(0) %} {% set dd = regularized_temp - average_outside_temp %} {{ dd | round(3) if dd > 0 else 0 }} unit_of_measurement: 'DD' state_class: measurement - name: Energy produced per degree day unique_id: ed1bc1f8-2692-462b-a7e8-69ddfff76d88 state: > {% set energy_usage = states('sensor.mitsubishi_energy_produced_heating') | float(0) %} {% set dd = states('sensor.degree_day_daily') | float %} {{ (energy_usage / dd) | round(3) if dd > 0 else 0 }} unit_of_measurement: 'kWh/DD' state_class: measurement - name: Energy used per degree day unique_id: f2932a15-bf22-4d8a-a927-1387b6b9b90d state: > {% set energy_usage = states('sensor.mitsubishi_energy_used_heating') | float(0) %} {% set dd = states('sensor.degree_day_daily') | float %} {{ (energy_usage / dd) | round(3) if dd > 0 else 0 }} unit_of_measurement: 'kWh/DD' state_class: measurement
YAML:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 input_boolean: legionella_run_active: name: Legionella run active icon: mdi:bacteria-outline input_datetime: heat_pump_next_dhw_run_delayed: name: Heat pump next DHW run (delayed) icon: mdi:water-boiler has_date: true has_time: true input_number: dhw_temperature_setpoint: name: "DHW temperature setpoint" icon: mdi:thermometer-water min: 40 max: 60 mode: box step: 0.5 unit_of_measurement: "°C" dhw_temperature_current_setpoint: name: "DHW temperature current setpoint" icon: mdi:thermometer-water min: 40 max: 60 mode: box step: 0.5 unit_of_measurement: "°C" template: - trigger: - platform: state entity_id: sensor.mitsubishi_operating_mode to: "Legionella" - platform: numeric_state entity_id: sensor.mitsubishi_tank_water_temperature above: 60.9 for: "00:10:00" sensor: - name: "Mitsubishi Last Legionella Run" icon: mdi:clock-in device_class: timestamp state: > {{ now() }} - trigger: - platform: state entity_id: switch.mitsubishi_set_force_dhw from: "off" to: "on" - platform: state entity_id: sensor.mitsubishi_operating_mode to: "Hot Water" sensor: - name: "Mitsubishi Last DHW Run" icon: mdi:clock-in device_class: timestamp state: > {{ now() }} - trigger: - platform: state entity_id: sensor.mitsubishi_last_dhw_run - platform: state entity_id: binary_sensor.electricity_prices_for_tomorrow_available to: "on" sensor: - name: "Mitsubishi Next DHW Run" icon: mdi:clock-in device_class: timestamp state: > {% set list = state_attr('sensor.nordpool_kwh_nl_eur_3_09_0', 'raw_today')[0:24] %} {% if is_state('binary_sensor.electricity_prices_for_tomorrow_available', 'on') %} {% set list = list + state_attr('sensor.nordpool_kwh_nl_eur_3_09_0', 'raw_tomorrow')[0:24] %} {% endif %} {% set time = as_datetime(states('sensor.mitsubishi_last_dhw_run')) %} {% set min_wait_hours = 1 if is_state('binary_sensor.negative_electricity_price_today', 'on') or is_state('binary_sensor.negative_electricity_price_tomorrow', 'on') else 4 %} {% set next_hour_prices = list | selectattr('start', '>', time + timedelta(hours=min_wait_hours)) | selectattr('start', '<', time + timedelta(hours=30)) | list %} {% set lowest_price = next_hour_prices | map(attribute='value') | min %} {{ (next_hour_prices | selectattr('value', 'eq', lowest_price) | map(attribute='start') | list)[0] }} script: mitsubishi_soft_force_dhw: alias: "Mitsubishi: Soft Force DHW" mode: single icon: mdi:fire-alert sequence: - alias: "Check if legionella is necessary" if: - or: - and: - condition: state entity_id: binary_sensor.negative_electricity_price_this_hour state: "on" - "{{ now() > states('sensor.mitsubishi_last_legionella_run') | as_datetime + timedelta(hours=20) }}" - and: - "{{ now() > states('sensor.mitsubishi_last_legionella_run') | as_datetime + timedelta(days=5, hours=20) }}" - condition: state entity_id: binary_sensor.electricity_is_cheaper_today state: "on" - and: - "{{ now() > states('sensor.mitsubishi_last_legionella_run') | as_datetime + timedelta(days=6, hours=20) }}" then: - service: input_boolean.turn_on target: entity_id: input_boolean.legionella_run_active - service: switch.turn_off data: entity_id: switch.mitsubishi_dhw_eco_mode - service: number.set_value target: entity_id: number.mitsubishi_set_tank_water_temperature data: value: 65 automation: - alias: "Heat pump: Set tank water temperature" id: ddf95afc-f291-42ca-a232-73111af1e699 mode: queued trigger: - platform: state entity_id: binary_sensor.sun_low_elevation_outside from: "off" to: "on" - platform: state entity_id: binary_sensor.sun_low_elevation_outside from: "on" to: "off" - platform: state entity_id: sensor.mitsubishi_operating_mode to: "Hot Water" - platform: state entity_id: sensor.mitsubishi_operating_mode from: "Hot Water" - platform: state entity_id: input_boolean.legionella_run_active to: "off" condition: - condition: state entity_id: input_boolean.legionella_run_active state: "off" action: - service: input_number.set_value target: entity_id: input_number.dhw_temperature_current_setpoint data: value: > {% set sun_offset = 0.5 if is_state('binary_sensor.sun_low_elevation_outside', 'on') else 0 %} {% set heat_drop_offset = 6 if is_state('sensor.mitsubishi_operating_mode', 'Hot Water') and state_attr('script.mitsubishi_soft_force_dhw', 'last_triggered') < now() - timedelta(hours=1) and is_state('binary_sensor.electricity_cheapest_4_hours', 'off') else 0 %} {{ states('input_number.dhw_temperature_setpoint') | float(48) - sun_offset - heat_drop_offset if is_state('binary_sensor.negative_electricity_price_this_hour', 'off') else 55 }} - service: number.set_value target: entity_id: number.mitsubishi_set_tank_water_temperature data: value: > {{ states('input_number.dhw_temperature_current_setpoint') | float(48) }} - alias: "Heat pump: Handle domestic hot water runs" id: 8e2e729f-6253-4b45-9b4e-781624511ede mode: queued trigger: - platform: time at: sensor.mitsubishi_next_dhw_run id: turn_on - platform: time at: input_datetime.heat_pump_next_dhw_run_delayed id: turn_on - platform: numeric_state entity_id: number.mitsubishi_set_tank_water_temperature above: 63 for: "00:10:00" id: turn_off - platform: state entity_id: input_boolean.legionella_run_active to: "on" for: "01:50:00" id: keep_legionella_on - platform: numeric_state entity_id: sensor.mitsubishi_tank_water_temperature above: 60.9 for: "00:10:00" id: legionella_done action: - choose: - conditions: - condition: trigger id: legionella_done sequence: - service: input_boolean.turn_off target: entity_id: input_boolean.legionella_run_active - service: switch.turn_off data: entity_id: switch.mitsubishi_set_force_dhw - conditions: - condition: trigger id: keep_legionella_on sequence: - service: switch.turn_on data: entity_id: switch.mitsubishi_set_force_dhw - conditions: - condition: trigger id: turn_on - condition: state entity_id: input_boolean.legionella_run_active state: "off" sequence: - if: - "{{ states('input_number.dhw_temperature_current_setpoint') | float(0) - states('sensor.mitsubishi_tank_water_temperature') | float(0) >= 4 }}" then: - service: script.turn_on entity_id: script.mitsubishi_soft_force_dhw else: - service: input_datetime.set_datetime target: entity_id: input_datetime.heat_pump_next_dhw_run_delayed data: datetime: > {% set list = state_attr('sensor.nordpool_kwh_nl_eur_3_09_0', 'raw_today')[0:24] %} {% if is_state('binary_sensor.electricity_prices_for_tomorrow_available', 'on') %} {% set list = list + state_attr('sensor.nordpool_kwh_nl_eur_3_09_0', 'raw_tomorrow')[0:24] %} {% endif %} {% set time = trigger.now %} {% set dhw_run_in_last_18_hours = states('sensor.mitsubishi_last_dhw_run') | as_datetime > time - timedelta(hours=18) %} {% set max_hours_wait = 24 if dhw_run_in_last_18_hours else 12 %} {% set next_hour_prices = list | selectattr('start', '>', time + timedelta(hours=1)) | selectattr('start', '<', time + timedelta(hours=max_hours_wait)) | list %} {% set lowest_price = next_hour_prices | map(attribute='value') | min %} {{ (next_hour_prices | selectattr('value', 'eq', lowest_price) | map(attribute='start') | list)[0] }} - conditions: - condition: trigger id: turn_off - condition: state entity_id: input_boolean.legionella_run_active state: "off" sequence: - service: number.set_value target: entity_id: number.mitsubishi_set_tank_water_temperature data: value: > {{ states('input_number.dhw_temperature_current_setpoint') | float(48) }}
[ Voor 14% gewijzigd door Sicco92 op 28-12-2023 00:47 ]
Dat resulteert erin dat het verwarmen vooral in goedkope uurtjes gebeurt als verwarmen nodig is (screenshot met data van vorige week):YAML:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 sensor: - platform: nordpool_diff nordpool_entity: sensor.nordpool_kwh_nl_eur_3_09_0 filter_length: 10 filter_type: triangle normalize: max_min switch: - platform: template switches: heat_pump_heating: friendly_name: "Heat pump heating" unique_id: 98e11bbe-a3da-4000-90eb-10c6a3951e74 value_template: "{{ is_state('switch.mitsubishi_system_on_off', 'on') and is_state('switch.mitsubishi_set_holiday_mode', 'off') and is_state('select.mitsubishi_hc_control_type', 'Heating') }}" availability_template: "{{ True }}" icon_template: "{{ 'mdi:heat-pump' if this.state == 'on' else 'mdi:heat-pump-outline' }}" turn_on: - service: switch.turn_on target: entity_id: switch.mitsubishi_system_on_off - service: select.select_option target: entity_id: select.mitsubishi_hc_control_type data: option: Heating - service: switch.turn_off target: entity_id: switch.mitsubishi_set_holiday_mode turn_off: - service: switch.turn_on target: entity_id: switch.mitsubishi_set_holiday_mode automation: - alias: "Heat pump: Set thermostat temperature" id: bb4f4038-0965-41c9-87c7-ca6e9f6f69c6 mode: queued trigger: - platform: state entity_id: sensor.nordpool_diff_triangle_10_normalize_max_min condition: - condition: state entity_id: select.mitsubishi_hc_control_type state: "Heating" action: - service: climate.set_temperature target: entity_id: climate.master_thermostat data: temperature: > {% set temp_setpoint = states('input_number.thermostat_temperature_setpoint') | float(20.5) %} {% set variance = states('input_number.thermostat_temperature_variance') | float(0.5) %} {{ (temp_setpoint + states('sensor.nordpool_diff_triangle_10_normalize_max_min') | float(0) * variance) | round(1) if is_state('binary_sensor.negative_electricity_price_this_hour', 'off') else 21 }} - service: number.set_value target: entity_id: number.mitsubishi_h_c_thermostat_target_temperature data: value: > {% set temp_setpoint = states('input_number.water_temperature_setpoint') | float(25) %} {% set variance = states('input_number.water_temperature_variance') | float(3) %} {% set offset = 0.5 if is_state('binary_sensor.sun_low_elevation_outside', 'on') else 0 %} {{ (temp_setpoint - offset + states('sensor.nordpool_diff_triangle_10_normalize_max_min') | float(0) * variance) | round(1, 'half') if is_state('binary_sensor.negative_electricity_price_this_hour', 'off') else 28 }} - alias: "Heat pump: Toggle heating" id: 2d192b97-7726-4e2b-8e5c-e8463c7df4e1 mode: queued trigger: - platform: state entity_id: input_boolean.heating_active condition: - condition: state entity_id: select.mitsubishi_hc_control_type state: "Heating" action: - choose: - conditions: - condition: state entity_id: input_boolean.heating_active state: "on" sequence: - service: switch.turn_on data: entity_id: switch.heat_pump_heating default: - service: switch.turn_off data: entity_id: switch.heat_pump_heating
Dat is precies de reden dat ik die stomme functie uit heb gezet. Als je toevallig onder de douche staat als er een SWW-run start (en de sensor wat langzaam reageert), dan denkt de WP dat ie het water op de compressor niet kan verwarmen en gaat ie de SWW-run compleet op de COP-1 verwarmingselementen doen.Sicco92 schreef op woensdag 27 december 2023 @ 23:51:
Ah, interessant dat die pas overschakelt als de aanvoertemperatuur een tijdlang hetzelfde is!
WP: ME PUHZ-SW75YAA + ERSD-VM2D + EV-WP-TWS-1W 300; AC: ME MXZ-2F42VF + 2x MSZ-LN25VGV; PV: 14.08 kWp O/W + SMA STP 8.0; Vent: Zehnder Q600 ERV + Ubbink AirExcellent.
Geen idee of dat genoeg is. Ik verwacht het niet, zeker niet als er twee of meer personen achter elkaar douchen.Sicco92 schreef op donderdag 28 december 2023 @ 12:01:
@Andrehj Kan je de wachttijd niet verhogen dan? Die kan ik op maximaal 30 minuten instellen, misschien is dat lang genoeg om dat gedrag niet tijdens het douchen te triggeren.
WP: ME PUHZ-SW75YAA + ERSD-VM2D + EV-WP-TWS-1W 300; AC: ME MXZ-2F42VF + 2x MSZ-LN25VGV; PV: 14.08 kWp O/W + SMA STP 8.0; Vent: Zehnder Q600 ERV + Ubbink AirExcellent.
12x 280Wp ZW, 12x 280Wp ZO, Zubadan SHW80YAA 8kW, Zehnder Q450 ERV
Inderdaad want er blijven op de Procon mini alleen twee groene led branden en deze gaan niet knipperen ook de Waveshare RS485 to RJ45 Ethernet geeft geen communicatie aan deze is wel benaderbaar via Ip adres waar ik deze moet instellen.P5ycho schreef op zondag 31 december 2023 @ 10:27:
Als ik het goed lees, kom ik tot dezelfde conclusie.
Je moet zelf een terminatieweerstand plaatsen. Even inlezen over de RS-485 bus als je dat niets zegt.
De eerste bullet geeft duidelijke instructie.
WP: Mitsubishi PUHZ-SW75YAA + ERSD-VM2D
[ Voor 7% gewijzigd door AUijtdehaag op 31-12-2023 12:07 ]
code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 name: waveshare1 type: tcp host: 192.168.2.23 port: 502 delay: 2 timeout: 5 sensor: ## FC04 registers (read) ## Frequentie - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_heat_pump_frequency_master name: "Heat Pump Frequency – Master" icon: mdi:sine-wave address: 0x20 ## Frequency - FC4: 32 unit_of_measurement: "Hz" register_type: read value_type: U_WORD accuracy_decimals: 0 ## SWW Temperature Drop - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_DHW_temperature_drop name: "SWW temperature drop" icon: mdi:thermometer-chevron-down address: 0x32 ## Room temperature - FC4: 50 unit_of_measurement: "°C" register_type: read value_type: U_WORD accuracy_decimals: 1 filters: - multiply: 0.1 ## Room temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_room_temperature_zone_1 name: "Room Temperature" icon: mdi:home-thermometer address: 0x34 ## Room temperature - FC4: 52 unit_of_measurement: "°C" register_type: read value_type: U_WORD accuracy_decimals: 1 filters: - multiply: 0.01 ## Refrigerant liquid temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_refrigerant_liquid_temperature name: "Refrigerant Liquid Temperature" icon: mdi:snowflake-thermometer address: 0x38 ## Refrigerant Liquid Temp - FC4: 56 unit_of_measurement: "°C" register_type: read value_type: S_WORD ## U-WORD veranderen in S_WORD ivm negatief accuracy_decimals: 1 filters: - multiply: 0.01 ## Outdoor ambient temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_outdoor_temperature name: "Outdoor temperature" icon: mdi:thermometer address: 0x3A ## Outdoor ambient - FC4: 58 unit_of_measurement: "°C" register_type: read value_type: S_WORD ## U-WORD veranderen in S_WORD ivm negatief accuracy_decimals: 1 filters: - multiply: 0.1 ## Flow temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_flow_temperature name: "Flow temperature" icon: mdi:thermometer-auto address: 0x3C ## Flow temperature - FC4: 60 unit_of_measurement: "°C" register_type: read value_type: U_WORD accuracy_decimals: 1 filters: - multiply: 0.01 ## Return temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_return_temperature name: "Return temperature" icon: mdi:thermometer address: 0x3E ## Return temperature - FC 4: 62 unit_of_measurement: "°C" register_type: read value_type: U_WORD accuracy_decimals: 1 filters: - multiply: 0.01 ## Tank water temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_tank_temperature name: "Tank temperature" icon: mdi:water-thermometer address: 0x40 ## Tank temperature - FC4: 64 unit_of_measurement: "°C" register_type: read value_type: U_WORD accuracy_decimals: 1 filters: - multiply: 0.01 ## Heat pump run time x1 - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_heat_pump_run_time_1 address: 0x4F ## Heat pump run time x1 - FC4: 79 register_type: read value_type: U_WORD accuracy_decimals: 0 ## Heat pump run time x100 - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_heat_pump_run_time_100 address: 0x50 ## Heat pump run time x100 - FC4: 80 register_type: read value_type: U_WORD accuracy_decimals: 0 filters: - multiply: 100 ## Heat pump run time - platform: template id: mitsubishi_heat_pump_run_time name: "Heat pump run time" icon: mdi:wrench-clock unit_of_measurement: "hrs" accuracy_decimals: 0 lambda: |- return id(mitsubishi_heat_pump_run_time_100).state + id(mitsubishi_heat_pump_run_time_1).state; update_interval: 60s ## Energy used heating kWh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_heating_kwh address: 0x9C ## FC4: 156 unit_of_measurement: "kWh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy used heating Wh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_heating_wh address: 0x9D ## FC4: 157 unit_of_measurement: "Wh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy used heating - platform: template id: mitsubishi_energy_used_heating name: "Energy used heating" icon: mdi:heat-wave device_class: energy state_class: total_increasing unit_of_measurement: "kWh" accuracy_decimals: 3 lambda: |- return id(mitsubishi_heating_kwh).state + (id(mitsubishi_heating_wh).state/100); update_interval: 60s ## Energy used cooling kWh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_cooling_kwh address: 0x9E ## FC4: 158 unit_of_measurement: "kWh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy used cooling Wh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_cooling_wh address: 0x9F ## FC4: 159 unit_of_measurement: "Wh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy used cooling - platform: template id: mitsubishi_energy_used_cooling name: "Energy used cooling" icon: mdi:snowflake device_class: energy state_class: total_increasing unit_of_measurement: "kWh" accuracy_decimals: 3 lambda: |- return id(mitsubishi_cooling_kwh).state + (id(mitsubishi_cooling_wh).state/100); update_interval: 60s ## Energy used SWW kWh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_sww_kwh address: 0xA0 ## FC4: 160 unit_of_measurement: "kWh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy used SWW Wh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_sww_wh address: 0xA1 ## FC4: 161 unit_of_measurement: "Wh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy used SWW - platform: template id: mitsubishi_energy_used_sww name: "Energy used SWW" icon: mdi:water device_class: energy state_class: total_increasing unit_of_measurement: "kWh" accuracy_decimals: 3 lambda: |- return id(mitsubishi_sww_kwh).state + (id(mitsubishi_sww_wh).state/100); update_interval: 60s ## Energy produced heating kWh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_produced_heating_kwh address: 0xA6 ## FC4: 166 unit_of_measurement: "kWh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy produced heating Wh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_produced_heating_wh address: 0xA7 ## FC4: 167 unit_of_measurement: "Wh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy produced heating - platform: template id: mitsubishi_energy_produced_heating name: "Energy produced heating" icon: mdi:heat-wave device_class: energy state_class: total_increasing unit_of_measurement: "kWh" accuracy_decimals: 3 lambda: |- return id(mitsubishi_produced_heating_kwh).state + (id(mitsubishi_produced_heating_wh).state/100); update_interval: 60s ## Energy produced cooling kWh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_produced_cooling_kwh address: 0xA8 ## FC4: 168 unit_of_measurement: "kWh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy produced cooling Wh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_produced_cooling_wh address: 0xA9 ## FC4: 169 unit_of_measurement: "Wh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy produced cooling - platform: template id: mitsubishi_energy_produced_cooling name: "Energy produced cooling" icon: mdi:snowflake device_class: energy state_class: total_increasing unit_of_measurement: "kWh" accuracy_decimals: 3 lambda: |- return id(mitsubishi_produced_cooling_kwh).state + (id(mitsubishi_produced_cooling_wh).state/100); update_interval: 60s ## Energy produced SWW kWh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_produced_sww_kwh address: 0xAA ## FC4: 170 unit_of_measurement: "kWh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy produced SWW Wh - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_produced_sww_wh address: 0xAB ## FC4: 171 unit_of_measurement: "Wh" device_class: energy state_class: total_increasing register_type: read value_type: U_WORD ## Energy produced SWW - platform: template id: mitsubishi_energy_produced_sww name: "Energy produced SWW" icon: mdi:water device_class: energy state_class: total_increasing unit_of_measurement: "kWh" accuracy_decimals: 3 lambda: |- return id(mitsubishi_produced_sww_kwh).state + (id(mitsubishi_produced_sww_wh).state/100); update_interval: 60s ## COP heating - platform: template id: mitsubishi_cop_heating name: "COP Heating" icon: mdi:slash-forward-box accuracy_decimals: 2 lambda: |- return (id(mitsubishi_produced_heating_kwh).state + (id(mitsubishi_produced_heating_wh).state/100)) / (id(mitsubishi_heating_kwh).state + (id(mitsubishi_heating_wh).state/100)); update_interval: 60s ## COP Cooling - platform: template id: mitsubishi_cop_cooling name: "COP Cooling" icon: mdi:slash-forward-box accuracy_decimals: 2 lambda: |- return (id(mitsubishi_produced_cooling_kwh).state + (id(mitsubishi_produced_cooling_wh).state/100)) / (id(mitsubishi_cooling_kwh).state + (id(mitsubishi_cooling_wh).state/100)); update_interval: 60s ## COP SWW - platform: template id: mitsubishi_cop_sww name: "COP SWW" icon: mdi:slash-forward-box accuracy_decimals: 2 lambda: |- return (id(mitsubishi_produced_sww_kwh).state + (id(mitsubishi_produced_sww_wh).state/100)) / (id(mitsubishi_sww_kwh).state + (id(mitsubishi_sww_wh).state/100)); update_interval: 60s ## Flow - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_flow name: "Flow" icon: mdi:arrow-right-bold-circle address: 0xAD ## Flow - FC4: 173 unit_of_measurement: "l/min" register_type: read value_type: U_WORD accuracy_decimals: 1 ## FC03 registers (holding) ## Tank temperature set - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_target_tank_temperature name: "Tank temperature set" icon: mdi:water-thermometer-outline address: 0x1F ## FC3: 31 unit_of_measurement: "°C" register_type: holding value_type: U_WORD filters: - multiply: 0.01 ## Target room temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_target_room_temperature name: "H/C temperature set" icon: mdi:home-thermometer-outline address: 0x20 ## FC3: 32 unit_of_measurement: "°C" register_type: holding value_type: U_WORD filters: - multiply: 0.01 ## Flow temperature set - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_flow_temperature_set name: "Flow temperature set" icon: mdi:thermometer-auto address: 0x55 ## FC3: 85 unit_of_measurement: "°C" register_type: holding value_type: U_WORD filters: - multiply: 0.01 ## Legionella temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_legionella_temperature name: "Legionella temperature set" icon: mdi:bacteria-outline address: 0x59 ## FC3: 89 unit_of_measurement: "°C" register_type: holding value_type: U_WORD filters: - multiply: 0.01 number: ## Set tank temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_set_tank_temperature name: "Setpoint tank temperature" icon: mdi:water-thermometer-outline address: 0x1F ## FC3: 31 unit_of_measurement: "°C" register_type: holding value_type: U_WORD mode: box step: 0.5 entity_category: config min_value: 30 max_value: 61 lambda: "return x / 100; " write_lambda: |- uint16_t newtemp = x*100; ESP_LOGI("main", "Set tank temperature %d", newtemp); // Create a modbus command item with the flow temperature as the payload esphome::modbus_controller::ModbusCommandItem set_payload_command = esphome::modbus_controller::ModbusCommandItem::create_write_single_command(mitsubishi, 0x1E, newtemp); // Submit the command to the send queue mitsubishi->queue_command(set_payload_command); return {}; ## Set H/C temperature - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_set_room_temperature name: "Setpoint H/C temperature" icon: mdi:home-thermometer address: 0x20 ## FC3: 32 unit_of_measurement: "°C" register_type: holding value_type: U_WORD mode: box step: 0.5 entity_category: config min_value: 10 max_value: 36 lambda: "return x / 100; " write_lambda: |- uint16_t newtemp = x*100; ESP_LOGI("main", "Set room temperature %d", newtemp); // Create a modbus command item with the flow temperature as the payload esphome::modbus_controller::ModbusCommandItem set_payload_command = esphome::modbus_controller::ModbusCommandItem::create_write_single_command(mitsubishi, 0x20, newtemp); // Submit the command to the send queue mitsubishi->queue_command(set_payload_command); return {}; switch: ## Force SWW run - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_force_sww name: "Set force SWW" icon: mdi:fire-alert address: 0x25 ## FC3: 37 register_type: holding #value_type: U_WORD write_lambda: |- uint16_t forceSWW = x; ESP_LOGI("main", "Set force SWW %d", x); // Create a modbus command item with the flow temperature as the payload esphome::modbus_controller::ModbusCommandItem set_payload_command = esphome::modbus_controller::ModbusCommandItem::create_write_single_command(mitsubishi, 0x25, forceSWW); // Submit the command to the send queue mitsubishi->queue_command(set_payload_command); return {}; ## Set vacation mode - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_set_vacation name: "Set vacation mode" icon: mdi:briefcase address: 0x26 ## FC3: 38 register_type: holding #value_type: U_WORD write_lambda: |- uint16_t vacation = x; ESP_LOGI("main", "Set vacation mode %d", x); // Create a modbus command item with the flow temperature as the payload esphome::modbus_controller::ModbusCommandItem set_payload_command = esphome::modbus_controller::ModbusCommandItem::create_write_single_command(mitsubishi, 0x26, x); // Submit the command to the send queue mitsubishi->queue_command(set_payload_command); return {}; ## Set heatpump on/off - platform: modbus_controller modbus_controller_id: mitsubishi name: "Heat pump on/off" register_type: coil address: 0001 bitmask: 0 entity_category: config icon: "mdi:toggle-switch" text_sensor: ## Defrost mode - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_defrost name: "Defrost" icon: mdi:snowflake-melt address: 0x1A ## FC4: 26 register_type: read bitmask: 0 raw_encode: HEXBYTES lambda: |- uint16_t value = modbus_controller::word_from_hex_str(x, 0); ESP_LOGD("main", "Value for defrost mode %d", value); switch (value) { case 0: return std::string("Off"); case 1: return std::string("Standby"); case 2: return std::string("Defrost"); case 3: return std::string("Waiting restart"); default: return std::string("Unknown"); } return x; ## Residual heat removal - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_residual_heat_removal name: "Residual heat removal" icon: mdi:car-defrost-rear address: 0x1B ## FC4: 27 register_type: read bitmask: 0 raw_encode: HEXBYTES lambda: |- uint16_t value = modbus_controller::word_from_hex_str(x, 0); ESP_LOGD("main", "Value for residual heat removal %d", value); switch (value) { case 0: return std::string("Normal"); case 1: return std::string("Prepared"); case 2: return std::string("Residual heat removal"); default: return std::string("Unknown"); } return x; ## System On/Off - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_system_onoff name: "System On/Off" icon: mdi:power address: 0x19 ## FC3: 25 register_type: holding bitmask: 0 raw_encode: HEXBYTES lambda: |- uint16_t value = modbus_controller::word_from_hex_str(x, 0); ESP_LOGD("main", "Value for system on/off %d", value); switch (value) { case 0: return std::string("Off"); case 1: return std::string("On"); default: return std::string("Unknown"); } return x; ## System operating mode - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_operating_mode name: "System operating mode" icon: mdi:message-question-outline address: 0x1A ## FC3: 26 register_type: holding bitmask: 0 raw_encode: HEXBYTES lambda: |- uint16_t value = modbus_controller::word_from_hex_str(x, 0); ESP_LOGD("main", "Value for system operating mode %d", value); switch (value) { case 0: return std::string("Stop"); case 1: return std::string("Hot Water"); case 2: return std::string("Heating"); case 3: return std::string("Cooling"); case 5: return std::string("Freeze Stat"); case 6: return std::string("Legionella"); default: return std::string("Unknown"); } return x; ## System SWW operating mode - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_sww_operating_mode name: "System SWW operating mode" icon: mdi:car-cruise-control address: 0x1B ## FC3: 27 register_type: holding bitmask: 0 raw_encode: HEXBYTES lambda: |- uint16_t value = modbus_controller::word_from_hex_str(x, 0); ESP_LOGD("main", "Value for SWW operating mode %d", value); switch (value) { case 0: return std::string("Normal"); case 1: return std::string("Eco"); default: return std::string("Unknown"); } return x; ## System heating mode - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_heating_mode name: "System heating mode" icon: mdi:sun-snowflake-variant address: 0x1C ## FC3: 28 register_type: holding bitmask: 0 raw_encode: HEXBYTES lambda: |- uint16_t value = modbus_controller::word_from_hex_str(x, 0); ESP_LOGD("main", "Value for heating mode %d", value); switch (value) { case 0: return std::string("Heating room temperature"); case 1: return std::string("Heating flow temperature"); case 2: return std::string("Heating curve"); case 3: return std::string("Cooling room temperature"); case 4: return std::string("Cooling flow temperature"); case 5: return std::string("Heating startup procedure"); default: return std::string("Unknown"); } return x; ## System heat source - platform: modbus_controller modbus_controller_id: mitsubishi id: mitsubishi_heat_source name: "System heat source" icon: mdi:heating-coil address: 0x50 ## FC3: 80 register_type: holding bitmask: 0 raw_encode: HEXBYTES lambda: |- uint16_t value = modbus_controller::word_from_hex_str(x, 0); ESP_LOGD("main", "Value for heat source %d", value); switch (value) { case 0: return std::string("Heatpump"); case 1: return std::string("Screw-in heater"); case 2: return std::string("Electric heater"); case 3: return std::string("Screw-in heater and electric heater"); case 4: return std::string("SWW boiler"); default: return std::string("Unknown"); } return x; select: - platform: modbus_controller id: mitsubishi_set_hc_mode name: "H/C mode" address: 0x1C ## FC6: 28 optionsmap: "Heating room": 0 "Heating flow": 1 "Heating curve": 2 "Cooling room": 3 "Cooling flow": 4 "Heating startup": 5
[ Voor 100% gewijzigd door Proton_ op 31-12-2023 16:10 . Reden: Zoveel regels mogen wel ingeklapt met quote tags ]
dubbel, zie hierbovenAUijtdehaag schreef op zondag 31 december 2023 @ 13:00:
@Jeroenrobbert
Probeer bovenstaande bericht nog even aan te passen
Het is nu niet leesbaar om te kijken waar het aan ligt. HA is erg spatiegevoelig.
[Afbeelding]
1
2
| name: waveshare1 ... |
[ Voor 97% gewijzigd door Proton_ op 31-12-2023 16:13 ]
als je dit goed gekopieerd hebt, staat er een spatie voor name
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| # Example configuration.yaml entry modbus: - type: tcp host: IP_ADDRESS port: 502 switches: - name: Switch1 address: 13 write_type: coil - name: Switch2 slave: 2 address: 14 write_type: coil verify: - name: Register1 address: 11 command_on: 1 command_off: 0 verify: input_type: holding address: 127 state_on: 25 state_off: 1 |
[ Voor 71% gewijzigd door LittleKiller op 31-12-2023 13:43 ]
Ik heb het grootste gedeelte van de code Gekopieerd Van esphome code , alleen het eerste stukje aangepast omdat het bij mij geen esphome printje is maar waveshare isLittleKiller schreef op zondag 31 december 2023 @ 13:34:
[...]
als je dit goed gekopieerd hebt, staat er een spatie voor name
overigens kun je hier https://yamlchecker.com/ het ook zelf checken
Ik zou ook even goed naar: https://www.home-assistant.io/integrations/modbus/ kijken.
Je mist: " modus: " aan het begin.. Daarnaast kan je niet overal " - platform" gebruiken.
Eigenlijk is je gehele yaml verkeerd![]()
Kijk even goed naar de voorbeelden op de home assistant website
code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 # Example configuration.yaml entry modbus: - type: tcp host: IP_ADDRESS port: 502 switches: - name: Switch1 address: 13 write_type: coil - name: Switch2 slave: 2 address: 14 write_type: coil verify: - name: Register1 address: 11 command_on: 1 command_off: 0 verify: input_type: holding address: 127 state_on: 25 state_off: 1
Ik denk niet dat je dat zomaar kunt doen. dat het yaml is betekent niet dat het voor beide gelijk is.Jeroenrobbert schreef op zondag 31 december 2023 @ 14:10:
[...]
Ik heb het grootste gedeelte van de code Gekopieerd Van esphome code , alleen het eerste stukje aangepast omdat het bij mij geen esphome printje is maar waveshare is
Het ik-wil-een-warmtepomp FAQ topic- '23 MG5, douchen met wtw en Auer Edel Eau, verwarming met Vaillant Arotherm Plus.
code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 alias: Warmtepomp - legionellacyclus description: "" trigger: - platform: state entity_id: - sensor.zonneplan_current_tariff_group from: null to: low - platform: numeric_state entity_id: - sensor.mitsubishi_sww_boiler_temperatuur above: 57 id: boiler temperatuur is 57 graden - platform: numeric_state entity_id: - sensor.mitsubishi_sww_boiler_temperatuur above: 65 id: boiler temperatuur is 65 graden - platform: state entity_id: - timer.wp_legionella_bestrijding from: active to: idle id: einde legionella bestrijding condition: - condition: state entity_id: sensor.zonneplan_current_tariff_group state: low - condition: time weekday: - sat - condition: template value_template: "{{(as_timestamp(now())|timestamp_custom ('%U') | int % 2) == 1 }}" alias: Alleen op even weken - condition: time after: "00:00:00" action: - choose: - conditions: - alias: Komende 4 uur laag energietarief condition: and conditions: - condition: state entity_id: sensor.zonneplan_forecast_tariff_group_hour_1 state: low - condition: state entity_id: sensor.zonneplan_forecast_tariff_group_hour_2 state: low - condition: state entity_id: sensor.zonneplan_forecast_tariff_group_hour_3 state: low sequence: - service: notify.mobile_app_iphone_van_henk data: message: Legionella bestrijding gestart title: Melding - device_id: 4eb1c631aed031b8698d2b645bcffd61 domain: number entity_id: 26c7514cf519b1c6d8404894cff0beb6 type: set_value value: 58 alias: boiler voorverwarmen met wp - conditions: - condition: numeric_state entity_id: sensor.mitsubishi_sww_boiler_temperatuur above: 57 below: 60 - condition: state entity_id: timer.wp_legionella_bestrijding state: idle - condition: state entity_id: switch.pow320d_wp_2kw_booster state: "off" sequence: - service: switch.turn_on target: entity_id: switch.pow320d_wp_2kw_booster data: {} - device_id: 4eb1c631aed031b8698d2b645bcffd61 domain: number entity_id: 26c7514cf519b1c6d8404894cff0beb6 type: set_value value: 50 - service: timer.start target: entity_id: timer.wp_legionella_bestrijding data: {} alias: Boiler booster starten en legionella bestrijding starten - conditions: - condition: state entity_id: timer.wp_legionella_bestrijding state: idle - condition: state entity_id: switch.pow320d_wp_2kw_booster state: "on" sequence: - service: switch.turn_off target: entity_id: switch.pow320d_wp_2kw_booster data: {} - service: notify.mobile_app_iphone_van_henk data: message: Legionella run is succesvol afgerond title: Melding alias: Einde legionella run mode: single trace: stored_traces: 10
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
12x 280Wp ZW, 12x 280Wp ZO, Zubadan SHW80YAA 8kW, Zehnder Q450 ERV
Gokje:P5ycho schreef op donderdag 4 januari 2024 @ 20:46:
Kun je dan ook even uitleggen wat het effect is zodat we niet door je yanl code hoeven ploegen voordat we het snappen?
WP: ME PUHZ-SW75YAA + ERSD-VM2D + EV-WP-TWS-1W 300; AC: ME MXZ-2F42VF + 2x MSZ-LN25VGV; PV: 14.08 kWp O/W + SMA STP 8.0; Vent: Zehnder Q600 ERV + Ubbink AirExcellent.
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
WP: ME PUHZ-SW75YAA + ERSD-VM2D + EV-WP-TWS-1W 300; AC: ME MXZ-2F42VF + 2x MSZ-LN25VGV; PV: 14.08 kWp O/W + SMA STP 8.0; Vent: Zehnder Q600 ERV + Ubbink AirExcellent.
Alles kan, maar dan moet je wel eerst een PWM-sturing voor de waterpomp maken.henkonoly schreef op vrijdag 5 januari 2024 @ 10:19:
Als we de SWW tank op 57 graden hebben en schaken de wp softwarematig uit, en vervolgens de klep (5) en pomp (18) aansturen
Moet toch wel mogelijk zijn?
WP: ME PUHZ-SW75YAA + ERSD-VM2D + EV-WP-TWS-1W 300; AC: ME MXZ-2F42VF + 2x MSZ-LN25VGV; PV: 14.08 kWp O/W + SMA STP 8.0; Vent: Zehnder Q600 ERV + Ubbink AirExcellent.
Heb je een goed puntAndrehj schreef op vrijdag 5 januari 2024 @ 10:21:
[...]
Alles kan, maar dan moet je wel eerst een PWM-sturing voor de waterpomp maken.
En vervolgens val jij morgen dood neer en moeten je nabestaanden een installateur vinden die uit de wirwar van aanpassingen in je WP nog wijs kan worden. Succes, maar dit moet je zo gewoon niet willen.
Temperatuur:
De temperatuur is heel belangrijk voor de bacterie. De ideale temperatuur is 37°C, dit is de optimaal voor de bacterie om te kunnen groeien. Boven de 55°C gaat de bacterie dood. Bij hele lage temperaturen gaat de bacterie niet dood, maar kan het ook niet groeien.
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
SUZ-SWM80VA & ERSD-VM2D, 200L SWW, 5330Wp O 45°, 2870Wp W 45°, 820Wp Z 10°, Fresh-r on the wall compac WTW
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| climate: - platform: thermostat name: "${name} Climate" id: ${name}_climate visual: min_temperature: 10.0 max_temperature: 45.0 temperature_step: 0.5 sensor: room_temperature_zone_1 min_heating_off_time: 60s min_heating_run_time: 60s ## remove min_cool_time if not used #min_cooling_off_time: 60s #min_cooling_run_time: 60s min_idle_time: 30s heat_action: - logger.log: format: "Heating" level: DEBUG tag: climate ## remove cool_action if not used #cool_action: # - logger.log: # format: "Cooling" # level: DEBUG # tag: climate idle_action: - logger.log: format: "Idle" level: DEBUG tag: climate |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
| - id: '1663182606288' alias: Mitsubishi climate description: '' trigger: - platform: state entity_id: - climate.mitsubishi_climate attribute: temperature id: setpoint - platform: state entity_id: - climate.mitsubishi_climate attribute: hvac_action id: heating to: heating - platform: state entity_id: - climate.mitsubishi_climate attribute: hvac_action to: 'off' id: 'off' condition: - condition: and conditions: - condition: template value_template: '{% if trigger.to_state.context.user_id is not none %} true {% endif %}' action: - choose: - conditions: - condition: trigger id: - setpoint sequence: - service: number.set_value data: value: '{{ trigger.to_state.attributes.temperature|float }}' target: entity_id: number.mitsubishi_verw_koelen_doel_temperatuur - conditions: - condition: trigger id: - heating sequence: - service: switch.turn_on data: {} target: entity_id: switch.mitsubishi_systeem_aan_uit - conditions: - condition: trigger id: - 'off' sequence: - service: switch.turn_off data: {} target: entity_id: switch.mitsubishi_systeem_aan_uit mode: single |
[ Voor 46% gewijzigd door AUijtdehaag op 10-01-2024 15:41 ]
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
Helaas is de enige WAR uit de procon de firmWARebreinonline schreef op donderdag 11 januari 2024 @ 16:12:
Ik draai nu 2 dagen op WAR. Op de FTC kan je de hele WAR curve een graad omhoog of omlaag regelen. Kan dat ook via de procon? Ik zie zo snel niets staan in de registertabellen
Zo heb ik het gedaan. In Node Red pak ik buitentemp en vervolgens bepaal ik de Ta die ik dan weer als Tset stuur naar de WPAUijtdehaag schreef op donderdag 11 januari 2024 @ 16:47:
Op heating flow zetten en zelf een war maken?
Gasloos sinds 12-2022 || Hoekhuis 1968 || WP: SUZ SWM80 VA || 300 l boiler || SOLAR: 2,1 kWp OZO / 2,4 kWp WNW (SolarEdge) + 3,6 kWp S (Solis)
[ Voor 32% gewijzigd door P5ycho op 11-01-2024 17:38 ]
12x 280Wp ZW, 12x 280Wp ZO, Zubadan SHW80YAA 8kW, Zehnder Q450 ERV
Vraag me af of het daadwerkelijk nodig is, het is zo'n langzaam proces en de invloeden kunnen dusdanig verschillen (warm/koud, wind/storm/geen wind, regen) dat het me lastig lijkt in te regelen.P5ycho schreef op donderdag 11 januari 2024 @ 17:34:
Iemand die PID gebruikt om de Ta te bepalen toevallig? Lijkt me een mooie vervanger voor de stooklijn, maar ben nog niet helemaal zeker of het beter is.
Met een PID regelaar voorkom je in theorie dat je wp ooit uit gaat als er warmtevraag is. Compenseren ook voor andere zaken zoals windinvloeden.
Gasloos sinds 12-2022 || Hoekhuis 1968 || WP: SUZ SWM80 VA || 300 l boiler || SOLAR: 2,1 kWp OZO / 2,4 kWp WNW (SolarEdge) + 3,6 kWp S (Solis)
Ja, dat was mijn alternatiefAUijtdehaag schreef op donderdag 11 januari 2024 @ 16:47:
Op heating flow zetten en zelf een war maken?
Heb je nog een instelling dat de twoonkamer een bepaalde tijd de vereiste waarde moet hebben? Ik zie hier nog wel eens dan de waarde een paar keer verspringt voordat de thermostaat daadwerkelijk een hogere of lagere waarde aangeeft. Als je dan meteen reageert dan is dat niet per definitie efficiënt lijkt mij?JustMyOpinion schreef op donderdag 11 januari 2024 @ 18:33:
[...]
Vraag me af of het daadwerkelijk nodig is, het is zo'n langzaam proces en de invloeden kunnen dusdanig verschillen (warm/koud, wind/storm/geen wind, regen) dat het me lastig lijkt in te regelen.
Kan je wellicht beter gaan voor een wat meer 'Russische' methode: Als de ingestelde thermostaat temperatuur bijna wordt gehaald de Tset voor Ta lager zetten. Dan zakt de temp in huis weer licht dan vervolgens Tset weer wat hoger zetten. Enige probleem hiermee is dat de hysterese groter zal moeten zijn omdat je toch ergens op moet regelen.
Ik heb een Netatmo thermostaat en krijg de temperatuur per 0,1 °C. Om hier beetje op te regelen dat de WP aan blijft en dus net onder de afschakelwaarde zit van de thermostaat zal je dan toch grotere afwijking moeten accepteren, je moet namelijk kunnen bepalen of temperatuur aan het dalen of stijgen is.
Zelf heb ik het opgelost door een WAR te maken waarbij de temperatuur net wat stijgt in huis, maar als dus de thermostaat afschakelwaarde bijna wordt gehaald knal ik de Tset naar beneden.
[Afbeelding]
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
Gasloos sinds 12-2022 || Hoekhuis 1968 || WP: SUZ SWM80 VA || 300 l boiler || SOLAR: 2,1 kWp OZO / 2,4 kWp WNW (SolarEdge) + 3,6 kWp S (Solis)
1
2
3
4
5
6
7
8
9
10
11
12
13
| if (flowtemp < tset) { msg.payload = (tset) * 100; msg.topic = "Tset"; return msg; } if ((flowtemp - tset) > 1) { msg.payload = (flowtemp - 1.2) * 100; msg.topic = "Tset"; return msg; } else { return null; } |
Gasloos sinds 12-2022 || Hoekhuis 1968 || WP: SUZ SWM80 VA || 300 l boiler || SOLAR: 2,1 kWp OZO / 2,4 kWp WNW (SolarEdge) + 3,6 kWp S (Solis)
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
Ik programmeer in Node Red. Startvoorwaarde van de berekening is een wijziging in Ta, daarna is een voorwaarde om door te gaan als de WP in 'heating' staat. Daarna maakt hij pas de berekening. Dus die stijging neem ik idd niet mee.breinonline schreef op vrijdag 12 januari 2024 @ 21:03:
En de buitentemperatuur haal je van de buitenunit? Filter je dan nog de defrosts er tussenuit op de een of andere wijze? De temperatuur van de buitenunit loopt dan immers even erg op.
Gasloos sinds 12-2022 || Hoekhuis 1968 || WP: SUZ SWM80 VA || 300 l boiler || SOLAR: 2,1 kWp OZO / 2,4 kWp WNW (SolarEdge) + 3,6 kWp S (Solis)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
| automation manual: ## Adaptive WAR ## - id: "20240114074501" alias: Adaptive WAR description: Regel verwarming op buitentemperatuur en afwijking van ingestelde gewenste binnentemperatuur trigger: - platform: state #trigger als buitentemperatuurwijziging entity_id: sensor.ecodan_outdoor_ambient_temperature - platform: template #trigger als woonkamertemperatuurwijziging value_template: "{{ state_attr('climate.living_room', 'current_temperature') | int > 0 }}" - platform: template #trigger als gewenste tempatuur gewijzigd wordt value_template: "{{ state_attr('climate.living_room', 'temperature') | int > 0 }}" - platform: homeassistant event: start - platform: event event_type: automation_reloaded condition: #geen defrost bezig - condition: state entity_id: sensor.ecodan_defrost state: "Off" - condition: state entity_id: select.ecodan_a_c_mode_zone_1 state: "Heating flow" action: - service: number.ecodan_h_c_thermostat_target_temperature_zone_1 data_template: event: > {% set mapper = { "18.0":"25", "17.0":"25", "16.0":"25", "15.0":"25", "14.0":"25.5", "15.0":"26", "16.0":"26.5", "11.0":"27", "10.0":"27.5", "9.0":"28", "8.0":"28.5", "7.0":"29", "6.0":"29.5", "5.0":"30", "4.0":"30.5", "3.0":"31", "2.0":"31.5", "1.0":"32", "0.0":"32.5", "-1.0":"33", "-2.0":"33.5", "-3.0":"34", "-4.0":"34.5", "-5.0":"35", "-6.0":"35.5", "-7.0":"36", "-8.0":"36.5", "-9.0":"37", "-10.0":"37", } %} {% set selection = states("sensor.ecodan_outdoor_ambient_temperature") %} {% set tset = state_attr('climate.living_room', 'temperature') | float %} {% set tact = state_attr('climate.living_room', 'current_temperature') | float %} {% if (tact - tset) > 0 %} {{ (mapper[selection] | float - 1) }} {% elif (tact - tset) == 0 %} {{ (mapper[selection] | float ) }} {% elif (tact - tset) < 0.1 %} {{ (mapper[selection] | float ) }} {% elif (tact - tset) < 0.2 %} {{ (mapper[selection] | float + 0.5 ) }} {% elif (tact - tset) < 0.3 %} {{ (mapper[selection] | float + 1 ) }} {% else %} 37 {% endif %} mode: single trace: stored_traces: 20 |
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
1
2
3
4
5
6
7
8
9
10
11
12
| {% set ta_low = 25 %} {% set ta_high = 37 %} {% set war_start_temp = 15 %} {% set war_end_temp = -9 %} {% set outside_temp = states("sensor.ecodan_outdoor_ambient_temperature") | float(default=15) %} {% if outside_temp > war_start_temp %} {{ ta_low }} {% elif outside_temp < war_end_temp %} {{ ta_high }} {% else %} {{ ((ta_high - ta_low) * ((war_start_temp - outside_temp) / (war_start_temp - war_end_temp)) + ta_low) | round(1, 'half') }} {% endif %} |
Dat is heel simpel. De WP gaat uit als het verschil tussen Tset en Ta >2 graden (dus als hij te warm maakt dan Tset). Om dit te voorkomen zorg ik dat ik mijn Tset aanpas als dit 'lijkt te gebeuren'. Ik zet Tset dan 1,6 °C lager dan Ta, hierdoor blijft de incentive om lager te gaan regelen bestaan.breinonline schreef op zondag 14 januari 2024 @ 20:36:
Waarom als Ta wijzigt? In feite kijkt de originele WAR toch naar een buitentemperatuurwijziging?
Gasloos sinds 12-2022 || Hoekhuis 1968 || WP: SUZ SWM80 VA || 300 l boiler || SOLAR: 2,1 kWp OZO / 2,4 kWp WNW (SolarEdge) + 3,6 kWp S (Solis)
WP: Mitsubishi PUHZ-SW75YAA + ERSD-VM2D
[ Voor 22% gewijzigd door AUijtdehaag op 24-01-2024 14:22 ]
Gasloos sinds 12-2022 || Hoekhuis 1968 || WP: SUZ SWM80 VA || 300 l boiler || SOLAR: 2,1 kWp OZO / 2,4 kWp WNW (SolarEdge) + 3,6 kWp S (Solis)
Hier heb ik hem inderdaad via esphome:JustMyOpinion schreef op vrijdag 2 februari 2024 @ 08:32:
Heren,
Ik heb via @AUijtdehaag een Procon en Modbus adapter gekocht (Werkt prima!). Echter heb ik hem aangesloten op HA via Node Red. Laatste tijd doet deze het alleen niet echt lekker. De data is dan aan het 'haperen'. Je ziet dan bv de status van de WP Heating aan en uit gaan:
[Afbeelding]
Dit gaat weer over als ik Node Red heb gereset. Ik kan alleen niets vinden in de logs.
Wat is nu hier de 'standaard' de manier zoals ik het heb afgesloten of via de ESP methode, zoals omschreven in TS?
Zit er namelijk aan te denken om over te stappen, dus ESP en niet Node Red.
Hoor graag jullie mening!
Voor de rest: esp oplossingen heb ik liggen...code:
1 [{"id":"9755354.1a5d8c8","type":"tab","label":"NR restart","disabled":false,"info":""},{"id":"d6c8cea1.fe47b","type":"modbus-flex-getter","z":"9755354.1a5d8c8","name":"","showStatusActivities":false,"showErrors":false,"logIOActivities":false,"server":"bf7baafe14ba37f7","useIOFile":false,"ioFile":"","useIOForPayload":false,"emptyMsgOnFail":false,"keepMsgProperties":false,"x":590,"y":60,"wires":[["9a147c0f.83b3","59cf0460.04dbfc"],[]]},{"id":"714dc4a1.77becc","type":"inject","z":"9755354.1a5d8c8","name":"60s","props":[{"p":"payload"}],"repeat":"60","crontab":"","once":false,"onceDelay":"60","topic":"","payload":"","payloadType":"date","x":90,"y":60,"wires":[["fd16d8b5.29ebf8"]]},{"id":"fd16d8b5.29ebf8","type":"function","z":"9755354.1a5d8c8","name":"Create request","func":"return {\n \"payload\": {\n \"value\":1,\n \"fc\":3,\n \"unitid\": 1,\n \"address\":0,\n \"quantity\":10\n }\n}","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":300,"y":60,"wires":[["71eec7fb.f94d28","d6c8cea1.fe47b"]]},{"id":"71eec7fb.f94d28","type":"delay","z":"9755354.1a5d8c8","name":"Comm Timeout","pauseType":"delay","timeout":"120","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"outputs":1,"x":820,"y":160,"wires":[["ec7416c1.2c2bb8"]]},{"id":"ec7416c1.2c2bb8","type":"api-call-service","z":"9755354.1a5d8c8","name":"Restart Node-RED","server":"a230fa69.44ecb8","version":5,"debugenabled":false,"domain":"hassio","service":"addon_restart","areaId":[],"deviceId":[],"entityId":[],"data":"{\"addon\":\"a0d7b954_nodered\"}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1030,"y":160,"wires":[[]]},{"id":"9a147c0f.83b3","type":"change","z":"9755354.1a5d8c8","name":"Reset timeout","rules":[{"t":"set","p":"reset","pt":"msg","to":"true","tot":"bool"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":160,"wires":[["71eec7fb.f94d28"]]},{"id":"59cf0460.04dbfc","type":"debug","z":"9755354.1a5d8c8","name":"Respons","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":800,"y":60,"wires":[]},{"id":"61aa58c.7d5d9a8","type":"inject","z":"9755354.1a5d8c8","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":true,"onceDelay":"1","topic":"","payload":"","payloadType":"date","x":110,"y":160,"wires":[["38cbbccf.039a24"]]},{"id":"38cbbccf.039a24","type":"debug","z":"9755354.1a5d8c8","name":"node-red restarted","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":370,"y":160,"wires":[]},{"id":"bf7baafe14ba37f7","type":"modbus-client","name":"Procon","clienttype":"serial","bufferCommands":true,"stateLogEnabled":true,"queueLogEnabled":false,"failureLogEnabled":false,"tcpHost":"127.0.0.1","tcpPort":"502","tcpType":"DEFAULT","serialPort":"/dev/serial/by-id/usb-Silicon_Labs_CP2104_USB_to_UART_Bridge_Controller_0107146D-if00-port0","serialType":"RTU-BUFFERD","serialBaudrate":"9600","serialDatabits":"8","serialStopbits":"1","serialParity":"none","serialConnectionDelay":"150","serialAsciiResponseStartDelimiter":"","unit_id":"","commandDelay":"30","clientTimeout":"1000","reconnectOnTimeout":false,"reconnectTimeout":"2000","parallelUnitIdsAllowed":false},{"id":"a230fa69.44ecb8","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]
Gasloos sinds 12-2022 || Hoekhuis 1968 || WP: SUZ SWM80 VA || 300 l boiler || SOLAR: 2,1 kWp OZO / 2,4 kWp WNW (SolarEdge) + 3,6 kWp S (Solis)
WP: ME PUHZ-SW75YAA + ERSD-VM2D + EV-WP-TWS-1W 300; AC: ME MXZ-2F42VF + 2x MSZ-LN25VGV; PV: 14.08 kWp O/W + SMA STP 8.0; Vent: Zehnder Q600 ERV + Ubbink AirExcellent.
1) Ik draai Procon met een eigen modbus-script, die slaat de data op in mysql, sqlite, json en stuurt het naar mqtt. MQTT-data pik ik verder op in Node-red voor dashboard en wat logica, ik neem aan dat Domoticz dat ook kan. Commando's stuurt ik via MQTT naar mijn modbus-script en die zet het weer door naar de ProconAndrehj schreef op dinsdag 6 februari 2024 @ 22:00:
Gezien de perikelen met Melcloud even wat vragen van een Procon newbie:
- Zijn er eigenlijk mensen die een Procon aan Domoticz hebben hangen of deze aansturen met een eigen Modbus script? (Ik wil eigenlijk het Melcloud2Domoticz script min of meer 1:1 vervangen door iets wat de data uit de Procon vist, iets werkends om mee te beginnen is dan altijd handig).
- Draaien jullie de procon op de standaard 9600 baud? Of hoger? En wordt die hogere standaard onthouden na stroomuitval? Want ik zie dat je die snelheid via Modbus in kunt stellen, maar vraag me af hoe dat in de praktijk gaat. Want je moet toch alle devices bij aan de bus (er hangen ook nog 8 kWh meters aan) op dezelfde snelheid draaien?
Ik heb nu ik op de Netatmo draai natuurlijk een ander plaatje nodig. Misschien ook leuk voor anderen hier:breinonline schreef op dinsdag 18 april 2023 @ 21:35:
Even een schopje: de besturing werkt hier perfect. Geen fouten of gekke dingen meegemaakt![]()
Hoewel niet iedereen in dit topic met Home Assistant werkt is het denk ik wel de meest logische plek om dit te delen: ik heb een visualisatie gemaakt die de belangrijkste parameters toont en visueel maakt wat de warmtepomp aan het doen is. Zo zijn de leidingen rood/blauw gekleurd richting de vloerverwarming of richting de SWW tank. En als de warmtepomp standby staat zijn alle leidingen grijs (zoals op het ene voorbeeld). Mocht iemand geïnteresseerd zijn, hieronder de lovelace code.
[...]
En de bijbehorende plaatjes:
https://tweakers.net/gallery/27131/fotoalbum/?MapID=175184
Plaatjes staan hier, inclusief in verschillende kleuren de Netatmo en zowel horizontaal als verticaal. Voorbeeld:YAML:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 type: picture-elements image: local/images/ecodan/ecodan-basis2.png?v=1 elements: - type: conditional conditions: - entity: sensor.ecodan_operating_mode state: Stop elements: - type: image image: local/images/ecodan/ecodan-off.png?v=2 style: top: 50% left: 50% width: 100% - type: conditional conditions: - entity: sensor.ecodan_operating_mode state: Heating - entity: sensor.ecodan_defrost state: 'Off' elements: - type: image image: local/images/ecodan/ecodan-heating.png?v=2 style: top: 50% left: 50% width: 100% - type: state-label entity: sensor.ecodan_current_power_output style: top: 51% left: 10% color: white - type: conditional conditions: - entity: sensor.ecodan_operating_mode state: Hot Water elements: - type: image image: local/images/ecodan/ecodan-hot-water.png?v=2 style: top: 50% left: 50% width: 100% - type: conditional conditions: - entity: sensor.ecodan_defrost state: Defrost elements: - type: image image: local/images/ecodan/ecodan-defrost.png?v=2 style: top: 50% left: 50% width: 100% - type: conditional conditions: - entity: sensor.ecodan_operating_mode state: Cooling elements: - type: image image: local/images/ecodan/ecodan-cooling.png?v=2 style: top: 50% left: 50% width: 100% - type: state-label entity: sensor.ecodan_current_power_output style: top: 51% left: 10% color: white - type: conditional conditions: - entity: sensor.ecodan_operating_mode state: Hot Water - entity: sensor.ecodan_heat_source_status state: Electric heater elements: - type: image image: local/images/ecodan/ecodan-element.png?v=2 style: top: 50% left: 50% width: 100% - type: conditional conditions: - entity: sensor.ecodan_operating_mode state: Legionella - entity: sensor.ecodan_heat_source_status state: Electric heater elements: - type: image image: local/images/ecodan/ecodan-element.png?v=2 style: top: 50% left: 50% width: 100% - type: conditional conditions: - entity: sensor.ecodan_operating_mode state: Legionella - entity: sensor.ecodan_heat_source_status state: Heatpump elements: - type: image image: local/images/ecodan/ecodan-hot-water.png?v=2 style: top: 50% left: 50% width: 100% - type: conditional conditions: - entity: input_boolean.wtw_naloop_aan state: 'on' - entity: sensor.comfoairq_percentage state: '100' elements: - type: state-label entity: sensor.shelly_hw_temperature style: top: 30% left: 64% color: white - type: icon icon: mdi:faucet style: top: 29% left: 55% color: red - type: state-label entity: climate.living_room attribute: temperature style: top: 80% left: 10.5% color: black font-weight: bold transform: translate(-50%,-50%) scale(0.9,1.5) - type: state-label entity: climate.living_room attribute: current_temperature style: top: 80% left: 17% font-weight: bold color: lightgrey transform: translate(-50%,-50%) scale(0.9,1.5) - type: state-label entity: sensor.ecodan_flow_temperature style: top: 19% left: 74% color: white align: right - type: state-label entity: sensor.delta_t prefix: 'Δt: ' style: top: 35% left: 10% color: white - type: state-label entity: sensor.ecodan_return_temperature style: top: 38% left: 74% color: white align: right - type: state-label entity: sensor.ecodan_tank_water_temperature style: top: 31% left: 42% color: white - type: state-label entity: sensor.shelly_lower_tank_temperature style: top: 51% left: 42% color: white - type: state-label entity: sensor.ecodan_refrigerant_liquid_temperature style: top: 54% left: 85% color: white - type: state-label entity: sensor.ecodan_outdoor_ambient_temperature style: top: 92% left: 82% color: white - type: state-label entity: sensor.ecodan_heat_pump_frequency_master style: top: 68% left: 83% color: white - type: state-label entity: sensor.ecodan_flow_rate style: top: 13% left: 72% color: white
WP: Mitsubishi Ecodan PUHZ-SHW112YAA, ERSC-VM2C, Procon ┃ PV: 4800Wp, SolarEdge SE5K, 15x JAM60S17/320, ZW 15º ┃ WTW: Zehnder Q600 ┃ SH: Home Assistant, Proxmox, Intel NUC 8i5 Mini
Eenvoudig + Goedkoop Mitsubishi Warmtepomp uitlezen/besturen met een ESP32
Apple iPhone 16e LG OLED evo G5 Google Pixel 10 Samsung Galaxy S25 Star Wars: Outlaws Nintendo Switch 2 Apple AirPods Pro (2e generatie) Sony PlayStation 5 Pro
Tweakers is onderdeel van
DPG Media B.V.
Alle rechten voorbehouden - Auteursrecht © 1998 - 2025
•
Hosting door TrueFullstaq