Gå til indhold
smart opladning

Tasmota SML IR-reader for smartmeters e.g. Hichi

Denne side viser nightly-versionen. Skift til release-versionen.

To be able to read the values of the smart meter for evcc correctly, the IR reader script must be changed so that the following JSON tags are generated:

  • SML as the group name of the read parameters
  • Total_in for the total consumption in KWh (4 decimal places)
  • Total_out for the total feed-in in KWh (4 decimal places)
  • Power_curr for the current consumption or the current feed-in in W (0 decimal places) As an option, phase values are also supported.
  • power_l1, power_l2, power_l3 for the power of the individual phases in W (0 decimal places)
  • voltage_l1, voltage_l2, voltage_l3 for the voltage of the individual phases in V (4 decimal places)
  • current_l1, current_l2, current_l3 for the current of the individual phases in A (4 decimal places)

A corresponding IR reader script looks like this:

>D
>B
=>sensor53 r
>M 1
+1,3,s,16,9600,SML
1,77070100010800ff@1000,Gesamtverbrauch,KWh,Total_in,4
1,77070100020800ff@1000,Gesamteinspeisung,KWh,Total_out,4
1,77070100100700ff@1,Verbrauch,W,Power_curr,0
1,77070100600100ff@#,Zählernummer,,Meter_Id,0
# Optional
1,77070100240700ff@1,Leistung_L1,W,power_l1,0
1,77070100380700ff@1,Leistung_L2,W,power_l2,0
1,770701004c0700ff@1,Leistung_L3,W,power_l3,0
1,77070100200700ff@1,Spannung L1,V,voltage_l1,4
1,77070100340700ff@1,Spannung L2,V,voltage_l2,4
1,77070100480700ff@1,Spannung L3,V,voltage_l3,4
1,770701001f0700ff@1,Strom L1,A,current_l1,4
1,77070100330700ff@1,Strom L2,A,current_l2,4
1,77070100470700ff@1,Strom L3,A,current_l3,4
#

Anvendelsesområder

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

Parametre

NavnBeskrivelseVærdiNiveau
hostIP address or hostname
Eksempel: 192.0.2.2
valgfri
userUsername

admin is default

valgfri
passwordPassword

Service account password

valgfri
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: tasmota-sml
usage: grid
host: 192.0.2.2 # IP address or hostname
user: # Username, admin is default (optional)
password: # Password, Service account password (optional)
meters:
- name: my_pv
type: template
template: tasmota-sml
usage: pv
host: 192.0.2.2 # IP address or hostname
user: # Username, admin is default (optional)
password: # Password, Service account password (optional)
meters:
- name: my_battery
type: template
template: tasmota-sml
usage: battery
host: 192.0.2.2 # IP address or hostname
user: # Username, admin is default (optional)
password: # Password, Service account password (optional)
meters:
- name: my_charger
type: template
template: tasmota-sml
usage: charge
host: 192.0.2.2 # IP address or hostname
user: # Username, admin is default (optional)
password: # Password, Service account password (optional)