Commit Graph

49 Commits

Author SHA1 Message Date
Martin Preuss
b0b6efb1c3 adapted to latest changes in gwen, more work on data and nodes servers. 2024-09-26 10:45:22 +02:00
Martin Preuss
a839d97140 aqhome-tool: added command "setnodevalue". 2024-09-22 21:25:05 +02:00
Martin Preuss
5f2da242c5 aqhome: adapted to latest changes. 2024-09-07 14:57:40 +02:00
Martin Preuss
9b724d5a5f aqhome: adapted to latest changes in node firmware. 2024-09-06 22:52:25 +02:00
Martin Preuss
7ea260031e fixed compiler warnings. 2024-04-17 23:11:52 +02:00
Martin Preuss
e29a32f24b Fixed a typo. 2024-03-25 23:18:29 +01:00
Martin Preuss
dce1b8698a aqhome-tool: add command "addjsondata". 2024-02-25 01:21:47 +01:00
Martin Preuss
e4c753cefd aqhome-tool: Fixed a typo (was not setting correct client). 2024-02-25 01:21:24 +01:00
Martin Preuss
1ba263fb13 aqhome-mqttlog: Implemented SETDATA. 2024-02-17 01:09:46 +01:00
Martin Preuss
62abfd56e9 Added functionality to print a value difference.
Also call GWEN_MsgEndpoint_IoLoop() only after checking all messages in
the endpoint's list.
2023-10-21 02:19:16 +02:00
Martin Preuss
f0cfbfccc4 Condensed functions for GetDataPoints to only use one.
Keep HandleGetLastData for now (for older clients).
2023-10-18 15:27:53 +02:00
Martin Preuss
077b367299 Decreased verbosity, fixed broker connection setup. 2023-10-07 23:06:31 +02:00
Martin Preuss
7f1c66cbe6 Fixed default value for timeout in aqhome-tool watch 2023-10-06 00:19:57 +02:00
Martin Preuss
8613fbdad7 Added handling of timeout cmd arg for valgrind test. fixed memory leaks. 2023-10-05 23:56:53 +02:00
Martin Preuss
b66f3d2ef4 aqhome-tool: added command to watch values changed on the server. 2023-10-04 23:33:40 +02:00
Martin Preuss
831c94f898 Read config file for fallback when no command line arguments are given. 2023-10-03 16:51:15 +02:00
Martin Preuss
17d4ce5125 Change AQH_Value field NameForDriver to Name and make it only contain the value name.
Previously this field contained the device name, too. This would make it
necessary for drivers to remove the device part of the name when SetValue
is called. Instead the device name is now always provided by the driver in
the appropriate field DeviceNameForDriver.
2023-10-03 13:31:05 +02:00
Martin Preuss
253b3862da add IPC command to modify device info on the server. 2023-10-02 23:22:59 +02:00
Martin Preuss
043541f936 Set timestampCreation on created devices, show that in aqhome-tool. 2023-10-01 23:58:19 +02:00
Martin Preuss
45da38b64a added devices, added command getdevices. 2023-10-01 23:44:26 +02:00
Martin Preuss
c57472d86e removed unneeded IPC message types. 2023-10-01 21:53:55 +02:00
Martin Preuss
1e27223dfa Simplified IPC code to use less different IPC messages. Share more code. More qork on MQTT code. 2023-10-01 21:31:02 +02:00
Martin Preuss
2adefc4b79 Decreased verbosity. 2023-09-20 17:50:20 +02:00
Martin Preuss
5f6581d126 Fixed default message size. 2023-09-16 15:48:03 +02:00
Martin Preuss
9b7d043682 Started working on aqhome-nodes which will replace aqhomed. 2023-09-13 23:31:02 +02:00
Martin Preuss
161b979e84 added specific IPC messages and use them instead of more generic messages. 2023-09-13 12:07:11 +02:00
Martin Preuss
e1639a9d13 Implemented setdata in server and aqhome-tool. 2023-09-12 00:04:37 +02:00
Martin Preuss
71f5ce8c7e Implemented GETLASTDATA in server and aqhome-tool. 2023-09-11 22:55:38 +02:00
Martin Preuss
518a3a53f9 Heavy work on IPC.
We will now have a broker (aqhome-data) which stores data and distributes
value change messages among connected clients.
aqhomed will connect to that broker and send its values there.
aqhome-mqtt will also connect to the broker and send its values there.
Other clients can later connect to check for changes and react according
to rules.
2023-09-10 23:13:03 +02:00
Martin Preuss
3bfb39966f aqhome-data: adding datapoints basically works now. 2023-08-17 00:24:38 +02:00
Martin Preuss
f9ae85b9ad more work on IPC data protocol. 2023-08-14 21:38:21 +02:00
Martin Preuss
290967a7c5 added generic IPC result message. 2023-08-13 17:56:00 +02:00
Martin Preuss
64938b9cb0 Prepared introduction of multiple ipc protocols. 2023-08-13 14:09:15 +02:00
Martin Preuss
0fd58567fe adapted to latest changes in gwen (msgio API v2 becomes v1). 2023-07-12 19:30:53 +02:00
Martin Preuss
4489314b47 aqhome: removed invalid includes. 2023-07-12 13:34:32 +02:00
Martin Preuss
08c3875a26 aqhome: completed adapting to msgio2 interface. 2023-07-12 13:33:04 +02:00
Martin Preuss
8847d051c1 aqhome-tool: more work on getdevices. 2023-04-24 20:36:13 +02:00
Martin Preuss
5f7e192e27 implemented ipc messages getdevices req/rsp 2023-04-22 19:13:59 +02:00
Martin Preuss
ad925c38ab aqhome-tool: increased verbosity 2023-04-22 16:37:15 +02:00
Martin Preuss
0f6ecdd95d aqhome-tool: cleanup of flash command. 2023-04-22 14:46:25 +02:00
Martin Preuss
c73f671deb aqhome-tool: flush out message queue after sending FLASH_END 2023-04-22 12:47:11 +02:00
Martin Preuss
317524bd0f aqhome-tool: write response messages for ping command 2023-04-22 12:46:33 +02:00
Martin Preuss
ea29e478e5 aqhome-tool: decreased verbosity. 2023-04-22 12:46:04 +02:00
Martin Preuss
0add18eeb7 aqhome: added Utils_FlushOutMessageQueue 2023-04-22 12:45:42 +02:00
Martin Preuss
97016b21b9 Rebooting and flashing a node now works! 2023-04-21 23:38:44 +02:00
Martin Preuss
73404d79f6 aqhome: increased verbosity 2023-04-20 23:58:29 +02:00
Martin Preuss
6f5ab3b0b8 aqhome-tool: started working on flash module 2023-04-20 00:43:35 +02:00
Martin Preuss
20efe7d473 aqhome-tool: recorganized code for improved reusability. 2023-04-19 15:39:15 +02:00
Martin Preuss
95cb4e93c3 tools: added aqhome-tool.
First command implemented is PING.
2023-04-18 23:26:19 +02:00