syssi / esphome-soyosource-gtn-virtual-meter

ESPHome component to simulate the current clamp to control the Soyosource GTN1200 limiter
Apache License 2.0
78 stars 21 forks source link

Adjust hard limits of the maximum power demand and extend examples #88

Closed syssi closed 2 years ago

syssi commented 2 years ago

Fixes #86

DL6ER commented 2 years ago

Tested this PR using

external_components:
  - source: github://syssi/esphome-soyosource-gtn-virtual-meter@adjust-hard-limits
    refresh: 0s

with

number:
  - platform: soyosource_virtual_meter
    manual_power_demand:
      initial_value: 0
      max_value: 1800
    max_power_demand:
      initial_value: 900
      max_value: 1800

and confirm this is working, too.