mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-12 22:17:17 +02:00
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:
parent
573bd31f0a
commit
b1946df32f
13 changed files with 272 additions and 350 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue