slightly better tasmota commands support

This commit is contained in:
openshwprojects
2022-07-30 13:53:37 +02:00
parent a873e98f76
commit c35a3578bd
3 changed files with 90 additions and 2 deletions

View File

@ -689,6 +689,7 @@ static int http_rest_get_info(http_request_t *request){
hprintf128(request, "\"mac\":\"%s\",", HAL_GetMACStr(macstr));
hprintf128(request, "\"mqtthost\":\"%s:%d\",", CFG_GetMQTTHost(), CFG_GetMQTTPort());
hprintf128(request, "\"mqtttopic\":\"%s\",", CFG_GetShortDeviceName());
hprintf128(request, "\"chipset\":\"%s\",", PLATFORM_MCU_NAME);
hprintf128(request, "\"webapp\":\"%s\"}", CFG_GetWebappRoot());
poststr(request, NULL);