Commit Graph

331 Commits

Author SHA1 Message Date
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
Martin Preuss
74789b802f added entries to .gitignore. 2023-09-16 15:48:57 +02:00
Martin Preuss
5f6581d126 Fixed default message size. 2023-09-16 15:48:03 +02:00
Martin Preuss
8c60c3c8e4 cleanup connections every 10s. 2023-09-16 15:47:39 +02:00
Martin Preuss
cf005fa60c increased verbosity. 2023-09-16 15:47:15 +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
11798a39d6 Revert "Use INHERIT mechanism for AQH_Tag16IpcMsg."
This reverts commit 07abc76a7a.
2023-09-12 21:33:00 +02:00
Martin Preuss
07abc76a7a Use INHERIT mechanism for AQH_Tag16IpcMsg. 2023-09-12 21:32:51 +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
2b733a52ca Introduces tag16 ipc messages. 2023-09-10 00:22:31 +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
5fdb33c192 started working on aqhome-data.
this will be the data daemon storing datapoints, accessable via IPC.
2023-08-14 02:00:37 +02:00
Martin Preuss
51a13f286f started work on IPC protocol for data service. 2023-08-13 17:56:31 +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
590eccf8d9 ADded entries to README. 2023-08-13 13:49:02 +02:00
Martin Preuss
a4c0f2e6fd aqhome-storage now checks and parses mqtt messages and stores values in datafiles. 2023-08-12 16:55:06 +02:00
Martin Preuss
bcd3e3325c added gource script. 2023-08-12 10:54:09 +02:00
Martin Preuss
c1353c056a added list of received and unknown topics. 2023-08-12 10:53:56 +02:00
Martin Preuss
9602471a9b adapted valgrind calling script to analyze aqhome-storage. 2023-08-12 02:07:49 +02:00
Martin Preuss
f5878f43ff Added datafile and handling of MQTT publish message. 2023-08-12 02:06:54 +02:00
Martin Preuss
edcac1f2b9 Fixed required version of aqdatabase. 2023-08-12 02:05:48 +02:00
Martin Preuss
e25a391fde Fixed an important bug (lead to segfaults). 2023-08-11 03:21:31 +02:00
Martin Preuss
978d3f6f7a editing of values now also works. 2023-08-11 03:21:06 +02:00
Martin Preuss
c5171714b2 added url handler for mqtt topics. 2023-08-11 01:24:31 +02:00
Martin Preuss
96c2b9a649 prepared for u_mqtttopic module. 2023-08-10 22:26:30 +02:00
Martin Preuss
487e506a01 added urlhandler for devices. 2023-08-10 19:28:10 +02:00
Martin Preuss
ec745f5cc9 Improved code sharing.
we now have a base url handler which handles listing, adding and editing
any objects including permission management.
2023-08-10 18:03:24 +02:00
Martin Preuss
17889fd30b Simplified code. 2023-08-10 13:28:37 +02:00
Martin Preuss
23c9e286b1 Fixed invalid memory access. 2023-08-10 13:28:24 +02:00
Martin Preuss
a2c79aa6db Fixed memory leaks. 2023-08-10 13:27:51 +02:00
Martin Preuss
f716ebd338 fixed two bugs. 2023-08-10 01:53:10 +02:00
Martin Preuss
9b0122e34c addd urlhandler for static content, more reusing of code. 2023-08-10 01:45:12 +02:00
Martin Preuss
b9a54b8ffb added #define DISABLE_DEBUGLOG to source files in http and service folders
will alter be enabled to disable verbose debug logging.
2023-08-09 17:45:59 +02:00
Martin Preuss
b5916acf79 fixed memory leaks, added cleanup code, added valgrind scripts to test binaries 2023-08-09 17:24:44 +02:00