Martin Preuss
50546799dc
aqhome: add new msg codes to type group "VALUES".
2024-09-09 15:46:48 +02:00
Martin Preuss
9bc837249e
aqhome: fixed a minor bug.
2024-09-09 15:46:08 +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
6aac577365
aqhome: fixed compiler warning.
2024-08-25 14:28:43 +02:00
Martin Preuss
85a93065a4
aqhome: added virtual function "flush"
2024-08-25 14:28:22 +02:00
Martin Preuss
37a290ce1f
aqhome-react: added missing include.
2024-05-19 01:36:30 +02:00
Martin Preuss
a3bf403ac0
aqhome-react: peridocally write vars.
2024-05-19 01:36:09 +02:00
Martin Preuss
334d0e8096
aqhome: remove flag AQH_PATH_FLAGS_ROOT
2024-05-18 13:10:41 +02:00
Martin Preuss
abada7b89b
aqhome: minor format changes.
2024-05-17 20:35:13 +02:00
Martin Preuss
69893640a3
aqhome: added function AQH_Vars_ReplaceVars()
2024-05-17 20:34:31 +02:00
Martin Preuss
9f7f5ab0db
aqhome: fixed copyright headers.
2024-05-17 19:25:48 +02:00
Martin Preuss
6828438780
aqhome: add writer for AQH_VARS (including a test).
2024-05-17 19:16:16 +02:00
Martin Preuss
05fb3d3b0a
aqhome: added AQH_Vars_Dump().
2024-05-17 17:39:00 +02:00
Martin Preuss
66c583f866
aqhome: use our own implementation of GWEN_Text_GetWordToBuffer().
...
use the same flags like the original function (maybe replace the
original function in gwen later).
2024-05-17 17:16:20 +02:00
Martin Preuss
2363535fe0
aqhome: add AQH_Vars_DataTypeToString()
2024-05-17 17:15:12 +02:00
Martin Preuss
9d0037b83d
vars: minor beautification.
2024-05-17 01:52:49 +02:00
Martin Preuss
f8f4380038
vars: added code to read AQH_VARS from GWEN_DB strings.
2024-05-17 00:03:51 +02:00
Martin Preuss
7ce34b0500
aqhome-react, aqhome: added units/functions for handling local variables.
2024-05-12 17:31:31 +02:00
Martin Preuss
516ac4e34e
vars: added more functions.
2024-05-11 01:07:10 +02:00
Martin Preuss
36e9909060
vars: added more module tests.
2024-05-09 23:08:44 +02:00
Martin Preuss
403392a72e
Add module test for AQH_Vars
2024-05-09 14:57:12 +02:00
Martin Preuss
2c584bbff9
vars: use const in most api functions
...
The idea of not using const was to reduce copy operations.
However, it is not very intuitive to know when and which arguments are const
so to simplify working with this new module and make it as close as possible
to GWEN_DB we use const now as in GWEN_DB.
At least AQH_Vars_SetStringData() still doesn't use const so if the need
arises to avoid copying we can.
2024-05-09 14:56:46 +02:00
Martin Preuss
b6e4a5265a
vars: also check idx.
2024-05-09 00:52:26 +02:00
Martin Preuss
b473d62cdc
aqhome: more work on path and vars modules.
2024-05-09 00:49:57 +02:00
Martin Preuss
3e5bff90d1
aqhome: make delimiter a function argument instead of hardcoding "/".
2024-05-08 00:41:14 +02:00
Martin Preuss
d5b1dbd5ee
aqhome: minor modifications.
2024-05-08 00:20:42 +02:00
Martin Preuss
bcc7629b1e
aqhome: added PATH module, started VARS module.
...
those might later get incorporated into libgwenhywfar.
2024-05-07 23:57:07 +02:00
Martin Preuss
a94ebeca29
fixed a bug (was not using pathName).
2024-04-12 22:53:46 +02:00
Martin Preuss
2653b16939
add AQH_FindPathOfDataFile().
2024-04-12 22:33:56 +02:00
Martin Preuss
50bdefcb4a
More work on aqhome-react service.
2024-03-25 23:18:18 +01:00
Martin Preuss
db19019202
Fixed a bug.
2024-03-09 01:25:11 +01:00
Martin Preuss
4c44890d3c
Improved mqttlog daemaon: persistent registered devices.
2024-02-17 17:33:09 +01:00
Martin Preuss
ef22bd65ea
mqtt: Allow for empty/missing messages.
2024-02-17 01:10:26 +01:00
Martin Preuss
0cf3976fc7
re-implemented SetData command.
...
Allows for string values to be sent.
2024-02-14 23:07:20 +01:00
Martin Preuss
eeffe225ec
Improved mqtt device detection and handling. Add command to announce new values.
2024-02-13 23:49:56 +01:00
Martin Preuss
793d12693b
aqhome: make datafile a virtual class. Add datafile_direct.
...
this is to allow for cached data file handling later.
2024-02-11 22:21:49 +01:00
Martin Preuss
5888bc9068
Storage: make storage class virtual with default implementations.
2024-02-11 20:07:30 +01:00
Martin Preuss
c7ee9dc18c
Fixed bug.
2023-10-21 02:19:30 +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
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
8613fbdad7
Added handling of timeout cmd arg for valgrind test. fixed memory leaks.
2023-10-05 23:56:53 +02:00
Martin Preuss
bfed937950
More work on mqtt tool.
2023-10-04 16:02:02 +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