mirror of https://github.com/arendst/Tasmota.git
Updated Smart Meter Interface Descriptors (markdown)
parent
fecc1dc30a
commit
704c86f228
|
@ -4,6 +4,7 @@
|
|||
- [COMBO Meter (Water,Gas,SML)](#COMBO-Meter-WaterGasSML)
|
||||
- [WOLF CSZ 11/300 Heater](#WOLF-CSZ-11300-Heater)
|
||||
- [MODBUS Device](#MODBUS-Device)
|
||||
- [Hager EHZ363 (SML) with daily values](#Hager-EHZ363-SML-with-daily-values)
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
#### Hager EHZ363 (SML)
|
||||
|
@ -139,3 +140,66 @@
|
|||
[Back To Top](#top)
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
||||
|
||||
#### Hager EHZ363 (SML) with daily values
|
||||
|
||||
>`>D`
|
||||
pin=0
|
||||
pout=0
|
||||
pi_d=0
|
||||
po_d=0
|
||||
hr=0
|
||||
; permanent midnight values
|
||||
p:pi_m=0
|
||||
p:po_m=0
|
||||
|
||||
|
||||
>`>B`
|
||||
=>sensor53 r
|
||||
|
||||
>`>T`
|
||||
; get total consumption and total feed
|
||||
pin=SML#Total_in
|
||||
pout=SML#Total_out
|
||||
|
||||
>`>S`
|
||||
; on midnight, save meter total values
|
||||
hr=hours
|
||||
if chg[hr]>0
|
||||
and hr==0
|
||||
then
|
||||
pi_m=pin
|
||||
po_m=pout
|
||||
svars
|
||||
endif
|
||||
|
||||
>; on teleperiod calculate current daily values from midnight
|
||||
if upsecs%tper==0
|
||||
then
|
||||
pi_d=pin-pi_m
|
||||
po_d=pout-po_m
|
||||
endif
|
||||
|
||||
>; show these values on WEB UI
|
||||
>`>W`
|
||||
Tagesverbrauch: {m} %pi_d% kWh
|
||||
Tageseinspeisung: {m} %po_d% kWh
|
||||
|
||||
>; transmit these values with MQTT
|
||||
>`>J`
|
||||
;"daily_consumption":%pi_d%,"daily_feed":%po_d%
|
||||
|
||||
>; meter definition
|
||||
>`>M 1`
|
||||
+1,3,s,0,9600,SML
|
||||
|
||||
>1,77070100010800ff@1000,Verbrauch,KWh,Total_in,4
|
||||
1,77070100020800ff@1000,Einspeisung,KWh,Total_out,4
|
||||
1,77070100100700ff@1,Aktueller Verbrauch,W,Power_curr,0
|
||||
1,77070100000009ff@#,Zähler Nr,,Meter_number,0
|
||||
\#
|
||||
|
||||
[Back To Top](#top)
|
||||
|
||||
------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue