Gå til indhold
smart opladning

ioBroker

The rest-api adapter (not simple-api) must be installed on the ioBroker instance being used. It must be configured as an extension of a web adapter. Authentication can only be performed using basic authentication. If no password is provided, no authentication will be performed. When specifying the entities for the individual measured values, ensure that they are correctly URL-encoded. For example, shelly.0.SHEM-3#8CAAB561991E#1.Total.ConsumedPower becomes shelly.0.SHEM-3%238CAAB561991E%231.Total.ConsumedPower

Anvendelsesområder

  • Elnetsmåler
  • Solproduktion
  • Batteri
  • Opladermåler

Parametre

NavnBeskrivelseVærdiNiveau
uriThe full uri of the host to query

HTTP(S) address

Eksempel: https://iobroker.homelab.lan:8082
valgfri
userUsername

e.g. email address, user id, etc.

valgfri
passwordPassword

Service account password

valgfri
power [W]Powervalgfri
soc [%]State of Chargevalgfri
capacity [kWh]Battery capacity
Eksempel: 50
valgfri
minsoc [%]Minimum charge

Lower limit as configured on the battery system. Used by optimizer.

Standard: 0
Eksempel: 25
valgfri
maxsoc [%]Maximum charge

Upper limit as configured on the battery system. Used by optimizer and for grid charging.

Standard: 100
Eksempel: 95
valgfri
cacheCache

Time interval for data refresh

Eksempel: 5m
avanceret
energy [kWh]Meter readingavanceret
currentL1 [A]L1 currentavanceret
currentL2 [A]L2 currentavanceret
currentL3 [A]L3 currentavanceret
maxchargepower [W]Maximum charge power

For forced charging of the battery.

avanceret
maxdischargepower [W]Maximum discharge power

Maximum discharge power of the storage.

avanceret
maxacpower [W]Maximum AC power of the hybrid inverter
Standard: 0
Eksempel: 5000
avanceret
Konfigurationseksempel til evcc.yaml

Hvis du ikke vil konfigurere via webgrænsefladen, kan du i stedet bruge denne YAML-blok.

meters:
- name: my_grid
type: template
template: iobroker
usage: grid
uri: https://iobroker.homelab.lan:8082 # The full uri of the host to query, HTTP(S) address
user: # Username, e.g. email address, user id, etc. (optional)
password: # Password, Service account password (optional)
power: # Power (W), optional
soc: # State of Charge (%), optional
cache: 5m # Cache, Time interval for data refresh (optional)
energy: # Meter reading (kWh), optional
currentL1: # L1 current (A), optional
currentL2: # L2 current (A), optional
currentL3: # L3 current (A), optional
meters:
- name: my_pv
type: template
template: iobroker
usage: pv
uri: https://iobroker.homelab.lan:8082 # The full uri of the host to query, HTTP(S) address
user: # Username, e.g. email address, user id, etc. (optional)
password: # Password, Service account password (optional)
power: # Power (W), optional
soc: # State of Charge (%), optional
cache: 5m # Cache, Time interval for data refresh (optional)
energy: # Meter reading (kWh), optional
currentL1: # L1 current (A), optional
currentL2: # L2 current (A), optional
currentL3: # L3 current (A), optional
maxacpower: 0 # Maximum AC power of the hybrid inverter (W), optional
meters:
- name: my_battery
type: template
template: iobroker
usage: battery
uri: https://iobroker.homelab.lan:8082 # The full uri of the host to query, HTTP(S) address
user: # Username, e.g. email address, user id, etc. (optional)
password: # Password, Service account password (optional)
power: # Power (W), optional
soc: # State of Charge (%), optional
capacity: 50 # Battery capacity (kWh), optional
minsoc: 0 # Minimum charge (%), Lower limit as configured on the battery system. Used by optimizer. (optional)
maxsoc: 100 # Maximum charge (%), Upper limit as configured on the battery system. Used by optimizer and for grid charging. (optional)
cache: 5m # Cache, Time interval for data refresh (optional)
energy: # Meter reading (kWh), optional
currentL1: # L1 current (A), optional
currentL2: # L2 current (A), optional
currentL3: # L3 current (A), optional
maxchargepower: # Maximum charge power (W), For forced charging of the battery. (optional)
maxdischargepower: # Maximum discharge power (W), Maximum discharge power of the storage. (optional)
meters:
- name: my_charger
type: template
template: iobroker
usage: charge
uri: https://iobroker.homelab.lan:8082 # The full uri of the host to query, HTTP(S) address
user: # Username, e.g. email address, user id, etc. (optional)
password: # Password, Service account password (optional)
power: # Power (W), optional
soc: # State of Charge (%), optional
cache: 5m # Cache, Time interval for data refresh (optional)
energy: # Meter reading (kWh), optional
currentL1: # L1 current (A), optional
currentL2: # L2 current (A), optional
currentL3: # L3 current (A), optional