HTTP - added definition for TESLA SmartPlus TSL-SPL-1

DRV - added command for functionality to reset energy counter. (HTTP, RESTAPI. TODO: MQTT)
    - MQTT meretring publishing scheduler changes. Values are sent within interval 5-60 seconds.
      too often can block MQTT connection on device side. Server is usually much powerfull
      and can handle >1000 mgs/s
This commit is contained in:
root
2022-10-03 17:05:54 +02:00
parent b7db834c7b
commit 21353b03ec
7 changed files with 66 additions and 6 deletions

View File

@ -99,7 +99,8 @@ template_t g_templates [] = {
{ Setup_Device_ArlecRGBCCTDownlight, "Arlec RGB+CCT LED Downlight ALD092RHA"},
{ Setup_Device_CasaLifeCCTDownlight, "CasaLife CCT LED Downlight SMART-AL2017-TGTS"},
{ Setup_Device_Enbrighten_WFD4103, "Enbrighten WFD4103 WiFi Switch BK7231T WB2S"} ,
{ Setup_Device_Zemismart_Light_Switch_KS_811_3, "Zemismart Light Switch (Neutral Optional) KS_811_3"}
{ Setup_Device_Zemismart_Light_Switch_KS_811_3, "Zemismart Light Switch (Neutral Optional) KS_811_3"} ,
{ Setup_Device_TeslaSmartPlus_TSL_SPL_1, "Tesla Smart Plug. Model: (TSL-SPL-1)"}
};
int g_total_templates = sizeof(g_templates)/sizeof(g_templates[0]);