Commit Graph

419 Commits

Author SHA1 Message Date
Martin Preuss
5888bc9068 Storage: make storage class virtual with default implementations. 2024-02-11 20:07:30 +01:00
Martin Preuss
b6fe1775bd Improved systemd scripts. 2023-12-18 00:16:19 +01:00
Martin Preuss
90d2467fde Fixed a bug (was not creating new devices for devices similar to existing ones). 2023-12-17 20:54:52 +01:00
Martin Preuss
3c91a83177 Changed debug GCC flags. 2023-10-21 02:19:50 +02:00
Martin Preuss
c7ee9dc18c Fixed bug. 2023-10-21 02:19:30 +02: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
b818065b9b Added function AQH_ValuesDataIpcMsg_GetDatapoints(). 2023-10-21 02:17:48 +02:00
Martin Preuss
c9b88f2cea Add "data" argument to event handlers. 2023-10-18 15:28:32 +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
a3f866f69c Renamed files timer* to eventtimer* 2023-10-13 00:48:47 +02:00
Martin Preuss
16e08d623d Started adding an event layer. 2023-10-12 00:35:08 +02:00
Martin Preuss
077b367299 Decreased verbosity, fixed broker connection setup. 2023-10-07 23:06:31 +02:00
Martin Preuss
d1f7a6b730 added munin files. 2023-10-06 18:07:27 +02:00
Martin Preuss
f26c78a5e9 Fixed systemd files (corrected tool paths). 2023-10-06 18:07:08 +02:00
Martin Preuss
0fc18c1da1 add missing files to DIST list. 2023-10-06 18:06:25 +02:00
Martin Preuss
ddded51f9e removed unavailable includes. 2023-10-06 18:06:09 +02:00
Martin Preuss
7b89df6153 sort files in 0BUILD files. 2023-10-06 18:05:46 +02:00
Martin Preuss
161dee1667 remove unneeded includes. 2023-10-06 18:05:27 +02:00
Martin Preuss
e98afa80d9 fixed another memory leak: handle received result responses
just remove them from the queue.
2023-10-06 18:05:14 +02:00
Martin Preuss
38ae2d3d1d correct installation folder for system tools. 2023-10-06 18:04:35 +02:00
Martin Preuss
79c71563d5 removed dependency aqdatabase (not used). 2023-10-06 18:03:47 +02:00
Martin Preuss
fa12be880a Create bigger gource videos. 2023-10-06 14:02:28 +02:00
Martin Preuss
dcdb512995 Finished systemd service files. 2023-10-06 14:02:08 +02:00
Martin Preuss
7fb4e8b577 added systemd service files. added conf example file. 2023-10-06 12:37:19 +02:00
Martin Preuss
7f1c66cbe6 Fixed default value for timeout in aqhome-tool watch 2023-10-06 00:19:57 +02:00
Martin Preuss
c90e8c899a add valgrind caller script for aqhome-mqttlog 2023-10-06 00:17:32 +02:00
Martin Preuss
ab6480ebca Fixed more meory leaks. 2023-10-06 00:17:15 +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
f1753eeea7 mqtt module now works. 2023-10-04 18:22:53 +02:00
Martin Preuss
bfed937950 More work on mqtt tool. 2023-10-04 16:02:02 +02:00
Martin Preuss
4730943931 add systemd file for aqhome-data. 2023-10-03 17:37:39 +02:00
Martin Preuss
afc0994c38 Add example comfig file. 2023-10-03 17:37:24 +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
0740378ad8 Partially reverted one of the last commits to correct created value name. 2023-10-03 13:47:19 +02:00
Martin Preuss
f56b25d06f renamed deviceNameForDriver of AQH_VALUE and nameForDriver of AQH_DEVICE. 2023-10-03 13:42:21 +02:00
Martin Preuss
eadfead77c Removed function AqHomeData_GetOrCreateValueForDriver(). 2023-10-03 13:32:51 +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
0f896c1729 removed aqhomed. 2023-10-01 21:29:22 +02:00
Martin Preuss
66073737a4 Started reworking mqtt logger tool. 2023-09-20 17:51:24 +02:00
Martin Preuss
bf89562d51 Removed unneeded code. 2023-09-20 17:51:02 +02:00
Martin Preuss
2adefc4b79 Decreased verbosity. 2023-09-20 17:50:20 +02:00
Martin Preuss
f03c078606 decreased verbosity in script. 2023-09-17 19:24:24 +02:00
Martin Preuss
d6ae79cf81 Decreased verbosity. 2023-09-17 19:24:06 +02:00
Martin Preuss
0814cf4af1 added caller script for aqhome-nodes. 2023-09-16 15:49:14 +02:00