aqhome-tool: added command to watch values changed on the server.

This commit is contained in:
Martin Preuss
2023-10-04 23:33:40 +02:00
parent f1753eeea7
commit b66f3d2ef4
8 changed files with 401 additions and 69 deletions

View File

@@ -20,6 +20,7 @@
#include "./data/getlastdatapoint.h"
#include "./data/setdata.h"
#include "./data/moddevice.h"
#include "./data/watch.h"
#include <aqhome/api.h>
#include <aqhome/aqhome.h>
@@ -83,6 +84,7 @@ int main(int argc, char **argv)
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_DAH("watch", AQH_Tool_Watch, I18N("Watch and print changes of values on the data server")),
GWEN_FE_END(),
};
const GWEN_FUNCS *func;
@@ -165,7 +167,6 @@ int main(int argc, char **argv)
AQH_Fini();
return rv;
}