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
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
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
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
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
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
b5916acf79
fixed memory leaks, added cleanup code, added valgrind scripts to test binaries
2023-08-09 17:24:44 +02:00
Martin Preuss
4701a71986
Started experimenting with styles.
2023-08-09 01:57:31 +02:00
Martin Preuss
fc2c18b489
Allow for prefill of form elements, improved I18N.
2023-08-09 00:55:07 +02:00
Martin Preuss
0cc498d830
added TODO remarks.
2023-08-09 00:54:32 +02:00
Martin Preuss
28bc8efac8
Minor format changes.
2023-08-09 00:54:12 +02:00
Martin Preuss
aafecfa704
aqhome: more work on http server.
2023-08-08 23:49:28 +02:00
Martin Preuss
6269431467
aqhome-storage: moved http-specific code to new class.
2023-08-07 14:08:12 +02:00
Martin Preuss
792f167a71
aqhome-storage: started adding class AqHomeHttpService
...
This will be the class handling HTTP requests for AqHome.
2023-08-07 14:07:30 +02:00
Martin Preuss
16ce958964
aqhome: added service definitions, started implementing HTTP service.
2023-07-24 21:49:17 +02:00
Martin Preuss
db5d6cb980
started working on storage service.
2023-07-19 18:17:10 +02:00
Martin Preuss
3efb83ecfd
aqhome-mqttlog: read all messages available on each loop.
2023-07-18 10:51:16 +02:00
Martin Preuss
f30c4895fa
aqhome: removed unused and unneeded code.
2023-07-14 00:02:21 +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
c7f232dd98
decreased verbosity, send MQTT ping every 2 minutes to avoid disconnect.
2023-07-12 16:45:20 +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
39987b31c7
aqhome: re-implemented aqhomed.
...
- added IPC endpoint2
2023-07-12 01:45:24 +02:00
Martin Preuss
b4175f4a89
added tool aqhome-mqttlog.
2023-05-24 23:08:28 +02:00
Martin Preuss
d7ac2c74fb
aqhome: added plugin which writes received values into files. used by munin.
2023-04-26 17:33:44 +02:00
Martin Preuss
8228f2cad4
aqhomed: added option to let aqhomed stop after a given time period.
...
used for valgrind tests.
2023-04-26 02:06:39 +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