Vielen Dank für die Antwort,
aber leider bekomme ich immer noch die Fehler:
In file included from D:\Dokumente\Arduino\esmart3_esp_pro\esmart3_esp_pro.ino:31:0:
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:79:46: error: could not convert '{"charge_mod", 0, 8, 1, 0}' from '<brace-enclosed initializer list>' to 'item_int'
item_int charge_mod = {"charge_mod",0,8,1,0}; // uint 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:80:47: error: could not convert '{"PvVolt", 0, 10, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float PvVolt = {"PvVolt",0,10,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:81:49: error: could not convert '{"BatVolt", 0, 12, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float BatVolt = {"BatVolt",0,12,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:82:49: error: could not convert '{"ChgCurr", 0, 14, 1.0000000000000001e-1, 0, 'A'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float ChgCurr = {"ChgCurr",0,14,0.1,0,'A'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:83:49: error: could not convert '{"OutVolt", 0, 16, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float OutVolt = {"OutVolt",0,16,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:84:51: error: could not convert '{"LoadVolt", 0, 18, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float LoadVolt = {"LoadVolt",0,18,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:85:51: error: could not convert '{"LoadCurr", 0, 20, 1.0000000000000001e-1, 0, 'A'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float LoadCurr = {"LoadCurr",0,20,0.1,0,'A'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:86:47: error: could not convert '{"ChgPower", 0, 22, 1, 0, "W"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int ChgPower = {"ChgPower",0,22,1,0,"W"}; // uint 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:87:49: error: could not convert '{"LoadPower", 0, 24, 1, 0, "W"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int LoadPower = {"LoadPower",0,24,1,0,"W"}; // uint 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:88:46: error: could not convert '{"BatTemp", 0, 26, 1, 1, "\'C"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int BatTemp = {"BatTemp",0,26,1,1,"'C"}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:89:50: error: could not convert '{"InnerTemp", 0, 28, 1, 1, "\'C"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int InnerTemp = {"InnerTemp",0,28,1,1,"'C"}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:90:43: error: could not convert '{"BatCap", 0, 30, 1, 0, "%"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int BatCap = {"BatCap",0,30,1,0,"%"}; // uint 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:91:41: error: could not convert '{"CO2", 0, 32, 1.0000000000000001e-1, 0, "kg"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long CO2 = {"CO2",0,32,0.1,0,"kg"}; // 4B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:92:41: error: could not convert '{"Fault", 0, 36, 1, 0, "_"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int Fault = {"Fault",0,36,1,0,"_"}; // uint 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:93:59: error: could not convert '{"SystemReminder", 0, 38, 1, 0, "_"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int SystemReminder = {"SystemReminder",0,38,1,0,"_"}; // uint 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:96:41: error: could not convert '{"BatType", 1, 10, 1, 0}' from '<brace-enclosed initializer list>' to 'item_int'
item_int BatType = {"BatType",1,10,1,0}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:97:47: error: could not convert '{"BatSysType", 1, 12, 1, 0}' from '<brace-enclosed initializer list>' to 'item_int'
item_int BatSysType = {"BatSysType",1,12,1,0}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:98:51: error: could not convert '{"BulkVolt", 1, 14, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float BulkVolt = {"BulkVolt",1,14,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:99:53: error: could not convert '{"FloatVolt", 1, 16, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float FloatVolt = {"FloatVolt",1,16,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h

55: error: could not convert '{"MaxChgCurr", 1, 18, 1.0000000000000001e-1, 0, 'A'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float MaxChgCurr = {"MaxChgCurr",1,18,0.1,0,'A'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:101:61: error: could not convert '{"MaxDisChgCurr", 1, 20, 1.0000000000000001e-1, 0, 'A'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float MaxDisChgCurr = {"MaxDisChgCurr",1,20,0.1,0,'A'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:102:65: error: could not convert '{"EqualizeChgVolt", 1, 22, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float EqualizeChgVolt = {"EqualizeChgVolt",1,22,0.1,0,'V'};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:103:63: error: could not convert '{"EqualizeChgTime", 1, 24, 1, 0, "min"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int EqualizeChgTime = {"EqualizeChgTime",1,24,1,0,"min"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:104:51: error: could not convert '{"LoadUseSel", 1, 26, 1, 0, "%"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int LoadUseSel = {"LoadUseSel",1,26,1,0,"%"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:107:50: error: could not convert '{"TodayEng", 2, 20, 1, 0, "kWh"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long TodayEng = {"TodayEng",2,20,1,0,"kWh"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:108:50: error: could not convert '{"MonthEng", 2, 28, 1, 0, "kWh"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long MonthEng = {"MonthEng",2,28,1,0,"kWh"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:109:50: error: could not convert '{"TotalEng", 2, 36, 1, 0, "kWh"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long TotalEng = {"TotalEng",2,36,1,0,"kWh"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:110:58: error: could not convert '{"LoadTodayEng", 2, 40, 1, 0, "kWh"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long LoadTodayEng = {"LoadTodayEng",2,40,1,0,"kWh"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:111:58: error: could not convert '{"LoadMonthEng", 2, 44, 1, 0, "kWh"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long LoadMonthEng = {"LoadMonthEng",2,44,1,0,"kWh"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:112:58: error: could not convert '{"LoadTotalEng", 2, 48, 1, 0, "kWh"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long LoadTotalEng = {"LoadTotalEng",2,48,1,0,"kWh"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:113:60: error: could not convert '{"BacklightTime", 2, 52, 1, 0, "sec"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int BacklightTime = {"BacklightTime",2,52,1,0,"sec"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:114:51: error: could not convert '{"SwitchEnable", 2, 54, 1, 0}' from '<brace-enclosed initializer list>' to 'item_int'
item_int SwitchEnable = {"SwitchEnable",2,54,1,0};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:116:53: error: could not convert '{"E_PV_Heute", 2, 20, 1, 0, "Wh"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long E_PV_Heute = {"E_PV_Heute",2,20,1,0,"Wh"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:117:57: error: could not convert '{"E_Load_Heute", 2, 40, 1, 0, "Wh"}' from '<brace-enclosed initializer list>' to 'item_long'
item_long E_Load_Heute = {"E_Load_Heute",2,40,1,0,"Wh"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:121:56: error: could not convert '{"PvVoltRatio", 3, 10, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int PvVoltRatio = {"PvVoltRatio",3,10,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:122:58: error: could not convert '{"PvVoltOffset", 3, 12, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int PvVoltOffset = {"PvVoltOffset",3,12,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:123:58: error: could not convert '{"BatVoltRatio", 3, 14, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int BatVoltRatio = {"BatVoltRatio",3,14,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:124:60: error: could not convert '{"BatVoltOffset", 3, 16, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int BatVoltOffset = {"BatVoltOffset",3,16,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:125:58: error: could not convert '{"ChgCurrRatio", 3, 18, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int ChgCurrRatio = {"ChgCurrRatio",3,18,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:126:60: error: could not convert '{"ChgCurrOffset", 3, 20, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int ChgCurrOffset = {"ChgCurrOffset",3,20,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:127:60: error: could not convert '{"LoadCurrRatio", 3, 22, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int LoadCurrRatio = {"LoadCurrRatio",3,22,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:128:62: error: could not convert '{"LoadCurrOffset", 3, 24, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int LoadCurrOffset = {"LoadCurrOffset",3,24,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:129:60: error: could not convert '{"LoadVoltRatio", 3, 26, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int LoadVoltRatio = {"LoadVoltRatio",3,26,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:130:62: error: could not convert '{"LoadVoltOffset", 3, 28, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int LoadVoltOffset = {"LoadVoltOffset",3,28,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:131:58: error: could not convert '{"OutVoltRatio", 3, 30, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int OutVoltRatio = {"OutVoltRatio",3,30,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:132:60: error: could not convert '{"OutVoltOffset", 3, 32, 1.0000000000000001e-1, 0, "dig"}' from '<brace-enclosed initializer list>' to 'item_int'
item_int OutVoltOffset = {"OutVoltOffset",3,32,0.1,0,"dig"};
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:136:61: error: could not convert '{"LoadModuleSelect1", 4, 10, 1, 0}' from '<brace-enclosed initializer list>' to 'item_int'
item_int LoadModuleSelect1 = {"LoadModuleSelect1",4,10,1,0}; // uint 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:137:61: error: could not convert '{"LoadModuleSelect2", 4, 12, 1, 0}' from '<brace-enclosed initializer list>' to 'item_int'
item_int LoadModuleSelect2 = {"LoadModuleSelect2",4,12,1,0}; // uint 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:141:49: error: could not convert '{"LoadOvp", 7, 10, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float LoadOvp = {"LoadOvp",7,10,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:142:49: error: could not convert '{"LoadUvp", 7, 12, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float LoadUvp = {"LoadUvp",7,12,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:143:47: error: could not convert '{"BatOvp", 7, 14, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float BatOvp = {"BatOvp",7,14,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:144:47: error: could not convert '{"BatOvB", 7, 16, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float BatOvB = {"BatOvB",7,16,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:145:47: error: could not convert '{"BatUvp", 7, 18, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float BatUvp = {"BatUvp",7,18,0.1,0,'V'}; // float 2B
^
D:\Dokumente\Arduino\esmart3_esp_pro\var_reg.h:146:47: error: could not convert '{"BatUvB", 7, 20, 1.0000000000000001e-1, 0, 'V'}' from '<brace-enclosed initializer list>' to 'item_float'
item_float BatUvB = {"BatUvB",7,20,0.1,0,'V'}; // float 2B
^
exit status 1
Compilation error: could not convert '{"charge_mod", 0, 8, 1, 0}' from '<brace-enclosed initializer list>' to 'item_int'