add IPC command to modify device info on the server.

This commit is contained in:
Martin Preuss
2023-10-02 23:22:59 +02:00
parent 043541f936
commit 253b3862da
12 changed files with 504 additions and 11 deletions

View File

@@ -19,6 +19,7 @@
#include "./data/getdatapoints.h"
#include "./data/getlastdatapoint.h"
#include "./data/setdata.h"
#include "./data/moddevice.h"
#include <aqhome/api.h>
#include <aqhome/aqhome.h>
@@ -81,6 +82,7 @@ int main(int argc, char **argv)
GWEN_FE_DAH("getdata", AQH_Tool_GetDataPoints, I18N("Request list of datapoints for a value on the data server")),
GWEN_FE_DAH("getlastdata", AQH_Tool_GetLastDataPoint, I18N("Request last datapoint for a value on the data server")),
GWEN_FE_DAH("setdata", AQH_Tool_SetData, I18N("Set data for a value on the data server (e.g. a switch or thermostat)")),
GWEN_FE_DAH("moddevice", AQH_Tool_ModDevice, I18N("Modify a device on the data server")),
GWEN_FE_END(),
};
const GWEN_FUNCS *func;