Added electricity meter easymeter Q3C

This commit is contained in:
Michael Voggenreiter 2021-04-28 07:57:05 +02:00
parent 22356d511b
commit de12709ed6
27 changed files with 75 additions and 0 deletions

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Totaal-In" #define D_TPWRIN "Totaal-In"
#define D_TPWRIN0 "Totaal-In T0"
#define D_TPWRIN1 "Totaal-In T1"
#define D_TPWROUT "Totaal-Uit" #define D_TPWROUT "Totaal-Uit"
#define D_TPWRCURR "Stroom-In/Uit" #define D_TPWRCURR "Stroom-In/Uit"
#define D_TPWRCURR1 "Stroom-In p1" #define D_TPWRCURR1 "Stroom-In p1"

View File

@ -577,6 +577,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Общо енергия - IN" #define D_TPWRIN "Общо енергия - IN"
#define D_TPWRIN0 "Общо енергия - IN T0"
#define D_TPWRIN1 "Общо енергия - IN T1"
#define D_TPWROUT "Общо енергия - OUT" #define D_TPWROUT "Общо енергия - OUT"
#define D_TPWRCURR "Активна мощност - In/Out" #define D_TPWRCURR "Активна мощност - In/Out"
#define D_TPWRCURR1 "Активна мощност - In p1" #define D_TPWRCURR1 "Активна мощност - In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Verbrauch" #define D_TPWRIN "Verbrauch"
#define D_TPWRIN0 "Verbrauch T0"
#define D_TPWRIN1 "Verbrauch T1"
#define D_TPWROUT "Einspeisung" #define D_TPWROUT "Einspeisung"
#define D_TPWRCURR "Aktueller Verbrauch" #define D_TPWRCURR "Aktueller Verbrauch"
#define D_TPWRCURR1 "Verbrauch P1" #define D_TPWRCURR1 "Verbrauch P1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Total-In" #define D_TPWRIN "Total-In"
#define D_TPWRIN0 "Total-In T0"
#define D_TPWRIN1 "Total-In T1"
#define D_TPWROUT "Total-Out" #define D_TPWROUT "Total-Out"
#define D_TPWRCURR "Current-In/Out" #define D_TPWRCURR "Current-In/Out"
#define D_TPWRCURR1 "Current-In p1" #define D_TPWRCURR1 "Current-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energía Total-Entrada" #define D_TPWRIN "Energía Total-Entrada"
#define D_TPWRIN0 "Energía Total-Entrada T0"
#define D_TPWRIN1 "Energía Total-Entrada T1"
#define D_TPWROUT "Energía Total-Salida" #define D_TPWROUT "Energía Total-Salida"
#define D_TPWRCURR "Potencia-En/Sal" #define D_TPWRCURR "Potencia-En/Sal"
#define D_TPWRCURR1 "Potencia-Entr p1" #define D_TPWRCURR1 "Potencia-Entr p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energie totale Entrée" #define D_TPWRIN "Energie totale Entrée"
#define D_TPWRIN0 "Energie totale Entrée T0"
#define D_TPWRIN1 "Energie totale Entrée T1"
#define D_TPWROUT "Energie totale Sortie" #define D_TPWROUT "Energie totale Sortie"
#define D_TPWRCURR "Puissance active E/S" #define D_TPWRCURR "Puissance active E/S"
#define D_TPWRCURR1 "Puissance active Ent Ph1" #define D_TPWRCURR1 "Puissance active Ent Ph1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Totale enerzjy yn" #define D_TPWRIN "Totale enerzjy yn"
#define D_TPWRIN0 "Totale enerzjy yn T0"
#define D_TPWRIN1 "Totale enerzjy yn T1"
#define D_TPWROUT "Totale enerzjy út" #define D_TPWROUT "Totale enerzjy út"
#define D_TPWRCURR "Eigentlike krêft In/Out" #define D_TPWRCURR "Eigentlike krêft In/Out"
#define D_TPWRCURR1 "Eigentlike krêft In p1" #define D_TPWRCURR1 "Eigentlike krêft In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Összes bejövő energia" #define D_TPWRIN "Összes bejövő energia"
#define D_TPWRIN0 "Összes bejövő energia T0"
#define D_TPWRIN1 "Összes bejövő energia T1"
#define D_TPWROUT "Összes kimenő energia" #define D_TPWROUT "Összes kimenő energia"
#define D_TPWRCURR "Aktív teljesítmény Be/Ki" #define D_TPWRCURR "Aktív teljesítmény Be/Ki"
#define D_TPWRCURR1 "Aktív teljesítmény-Be p1" #define D_TPWRCURR1 "Aktív teljesítmény-Be p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energia totale IN" #define D_TPWRIN "Energia totale IN"
#define D_TPWRIN0 "Energia totale IN T0"
#define D_TPWRIN1 "Energia totale IN T1"
#define D_TPWROUT "Energia totale OUT" #define D_TPWROUT "Energia totale OUT"
#define D_TPWRCURR "Corrente IN/OUT" #define D_TPWRCURR "Corrente IN/OUT"
#define D_TPWRCURR1 "Corrente IN p1" #define D_TPWRCURR1 "Corrente IN p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Totaal energie-In" #define D_TPWRIN "Totaal energie-In"
#define D_TPWRIN0 "Totaal energie-In T0"
#define D_TPWRIN1 "Totaal energie-In T1"
#define D_TPWROUT "Totaal energie-Uit" #define D_TPWROUT "Totaal energie-Uit"
#define D_TPWRCURR "Werkelijk vermogen-In/Uit" #define D_TPWRCURR "Werkelijk vermogen-In/Uit"
#define D_TPWRCURR1 "Werkelijk vermogen-In p1" #define D_TPWRCURR1 "Werkelijk vermogen-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energia Całkowita-In" #define D_TPWRIN "Energia Całkowita-In"
#define D_TPWRIN0 "Energia Całkowita-In T0"
#define D_TPWRIN1 "Energia Całkowita-In T1"
#define D_TPWROUT "Energia Całkowita-Out" #define D_TPWROUT "Energia Całkowita-Out"
#define D_TPWRCURR "Moc Czynna -In/Out" #define D_TPWRCURR "Moc Czynna -In/Out"
#define D_TPWRCURR1 "Moc Czynna-In p1" #define D_TPWRCURR1 "Moc Czynna-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
//xsns_53_sml.ino //xsns_53_sml.ino
#define D_TPWRIN "Energia-Consumo" #define D_TPWRIN "Energia-Consumo"
#define D_TPWRIN0 "Energia-Consumo T0"
#define D_TPWRIN1 "Energia-Consumo T1"
#define D_TPWROUT "Energia-Geração" #define D_TPWROUT "Energia-Geração"
#define D_TPWRCURR "Potência Ativa-Consumo/Geração" #define D_TPWRCURR "Potência Ativa-Consumo/Geração"
#define D_TPWRCURR1 "Potência Ativa-Consumo F1" #define D_TPWRCURR1 "Potência Ativa-Consumo F1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Tổng lượng vào" #define D_TPWRIN "Tổng lượng vào"
#define D_TPWRIN0 "Tổng lượng vào T0"
#define D_TPWRIN1 "Tổng lượng vào T1"
#define D_TPWROUT "Tổng lượng ra" #define D_TPWROUT "Tổng lượng ra"
#define D_TPWRCURR "Dòng vào/ra" #define D_TPWRCURR "Dòng vào/ra"
#define D_TPWRCURR1 "Dòng vào p1" #define D_TPWRCURR1 "Dòng vào p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -578,6 +578,8 @@
// xsns_53_sml.ino // xsns_53_sml.ino
#define D_TPWRIN "Energy Total-In" #define D_TPWRIN "Energy Total-In"
#define D_TPWRIN0 "Energy Total-In T0"
#define D_TPWRIN1 "Energy Total-In T1"
#define D_TPWROUT "Energy Total-Out" #define D_TPWROUT "Energy Total-Out"
#define D_TPWRCURR "Active Power-In/Out" #define D_TPWRCURR "Active Power-In/Out"
#define D_TPWRCURR1 "Active Power-In p1" #define D_TPWRCURR1 "Active Power-In p1"

View File

@ -59,6 +59,8 @@
// JSON Strings do not translate // JSON Strings do not translate
// max 23 char // max 23 char
#define DJ_TPWRIN "Total_in" #define DJ_TPWRIN "Total_in"
#define DJ_TPWRIN0 "Total_in_0"
#define DJ_TPWRIN1 "Total_in_1"
#define DJ_TPWROUT "Total_out" #define DJ_TPWROUT "Total_out"
#define DJ_TPWRCURR "Power_curr" #define DJ_TPWRCURR "Power_curr"
#define DJ_TPWRCURR1 "Power_p1" #define DJ_TPWRCURR1 "Power_p1"
@ -110,6 +112,7 @@ struct METER_DESC {
#define WGS_COMBO 13 #define WGS_COMBO 13
#define EBZD_G 14 #define EBZD_G 14
#define SML_NO_OP 15 #define SML_NO_OP 15
#define Q3C 16
// select this meter // select this meter
// SML_NO_OP ignores hardcoded interface // SML_NO_OP ignores hardcoded interface
@ -442,6 +445,26 @@ const uint8_t meter[]=
#endif #endif
#if METER==Q3C
#undef METERS_USED
#define METERS_USED 1
struct METER_DESC const meter_desc[METERS_USED]={
[0]={3,'s',0,SML_BAUDRATE,"SML",-1,1,0}};
const uint8_t meter[]=
//0x77,0x07,0x01,0x00,0x01,0x08,0x01,0xff
"1,77070101010800ff@1000," D_TPWRIN0 ",kWh," DJ_TPWRIN0 ",2|" // Verbrauch T0
//0x77,0x07,0x01,0x00,0x01,0x08,0x01,0xff
"1,77070101010801ff@1000," D_TPWRIN1 ",kWh," DJ_TPWRIN1 ",2|" // Verbrauch T1
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
"1,77070100010700ff@1," D_TPWRCURR ",W," DJ_TPWRCURR ",0|" // Strom Gesamt
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
"1,77070100150700ff@1," D_TPWRCURR1 ",W," DJ_TPWRCURR1 ",0|" // Strom L1
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
"1,77070100290700ff@1," D_TPWRCURR2 ",W," DJ_TPWRCURR2 ",0|" // Strom L2
//0x77,0x07,0x01,0x00,0x01,0x07,0x00,0xff
"1,770701003D0700ff@1," D_TPWRCURR3 ",W," DJ_TPWRCURR3 ",0"; // Strom L3
#endif
// this driver uses double because meter vars would not fit in float // this driver uses double because meter vars would not fit in float
//===================================================== //=====================================================