aqhome-tool: added command "devicestate".

This commit is contained in:
Martin Preuss
2025-09-06 00:37:39 +02:00
parent 33cae3ab26
commit eb27d223fb
4 changed files with 285 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#include "./data/setdata.h"
#include "./data/moddevice.h"
#include "./data/watch.h"
#include "./data/devicestate.h"
#include <aqhome/api.h>
#include <aqhome/aqhome.h>
@@ -101,6 +102,7 @@ int main(int argc, char **argv)
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_DAH("devicestate", AQH_Tool_DeviceState, I18N("Show state of devices")),
GWEN_FE_END(),
};
const GWEN_FUNCS *func;