Skip to content

Commit

Permalink
Set the compressor power consumption as a substitution
Browse files Browse the repository at this point in the history
  • Loading branch information
gunstr committed Dec 18, 2023
1 parent a6a7538 commit b34300e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
ESPHome component for Rego 1000 heat pump controller, found in:

* IVT Greenline HE/HC/HA
* IVT Premiumline A Plus
* IVT Premiumline EQ
* IVT Premiumline HQ

### Features

* Poll any variable from heat pump (temperature sensors, timers, PID control values..)
* Read any passive data on the heat pump CAN bus (used for i.e. compressor on/off state)
* Set indoor setpoint using the Home assistant climate integration
* Act as an IVT indoor sensor using the tempeature from a home assistant integrated temperature sensor
* Act as an IVT indoor sensor using the temperature from a home assistant integrated temperature sensor
* Set any heat pump variable, e.g. hysterisis, admin access, hot water eco/comfort mode

### Installation

If the calculated sensor `Energy consumption compressor` will be used the estimated compressor power consumption should be set (or added if missing) in the `rego1000-vx.x.x.yaml file`

Make changes to secrets and CAN bus pins in rego1000.yaml, then install it on the ESP32 using

```bash
esphome run rego1000-<version>.yaml
```

### Connection

![Connection overview](connection_overview.jpg)
![Connection](connection.jpg)

Expand Down
1 change: 1 addition & 0 deletions rego1000-v3.14.0.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
substitutions:
COMPRESSOR_POWER: "2.6"
REGO_CAN_SUFFIX: "270"
ACCESSORIES_CONNECTED_BITMASK: "0x0000"
ACCESS_LEVEL: "0x0001"
Expand Down
4 changes: 3 additions & 1 deletion rego1000.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ sensor:
filters:
- lambda: return x / 3600.0;
accuracy_decimals: 2

# If this calculated sensor is used the COMPRESSOR_POWER should be set in the rego1000-vx.x.x.yaml file
- platform: template
id: energy_consumption_compressor
name: Energy consumption compressor
Expand All @@ -170,7 +172,7 @@ sensor:
device_class: "energy"
accuracy_decimals: 2
lambda: |-
return (id(op_time_compressor_heating).state + id(op_time_compressor_dwh).state) * 2.3;
return (id(op_time_compressor_heating).state + id(op_time_compressor_dwh).state) * $COMPRESSOR_POWER;
update_interval: 60s
- platform: rego1000

Expand Down

0 comments on commit b34300e

Please sign in to comment.