updated REST API and MQTT to use the same functionality

added heap as MQTT publish
updated User_Manual.md to latest changes
development build will have now always the same name because of static link from https://ahoydtu.de
This commit is contained in:
lumapu 2022-11-23 23:57:15 +01:00
parent 573bd31f0a
commit b1946df32f
13 changed files with 272 additions and 350 deletions

View file

@ -97,7 +97,7 @@
var date = new Date();
var obj = new Object();
obj.cmd = "set_time";
obj.ts = parseInt(date.getTime() / 1000);
obj.val = parseInt(date.getTime() / 1000);
getAjax("/api/setup", apiCb, "POST", JSON.stringify(obj));
}