Commit Graph

177 Commits

Author SHA1 Message Date
Martin Preuss
9468911451 aqhome-react: make more functions virtual. 2024-04-14 23:39:45 +02:00
Martin Preuss
61ce363a8a aqhome-react: sort list of network files before reading. 2024-04-13 00:55:00 +02:00
Martin Preuss
563e5f0eff aqhome-react: add "sourceNet" and "targetNet" to links. 2024-04-13 00:51:32 +02:00
Martin Preuss
ec5aeb9a05 aqhome-react: expand properties also when reading units and links. 2024-04-13 00:41:15 +02:00
Martin Preuss
a7267c061a aqhome-react: extended reading of network files.
network files can now extend a template network making it much easier
to create new networks based on existing one.
2024-04-13 00:03:08 +02:00
Martin Preuss
83cdc8abe3 aqhome-react: switch locations of template files and system network files.
- template files are stored in $PATH/share/aqhome/react/networks
- system network files are in $PATH/etc/aqhome/react/networks
2024-04-12 22:41:36 +02:00
Martin Preuss
ee19014644 aqhome-mqttlog: remove unused var. 2024-04-12 22:33:41 +02:00
Martin Preuss
a479538743 aqhome-react: enable network loading.
This application has now basic functionality.
2024-04-12 21:29:40 +02:00
Martin Preuss
2ac4887f01 aqhome-mqttlog: removed another unneeded file. 2024-04-03 22:47:54 +02:00
Martin Preuss
8a7a4c7a64 aqhome-mqttlog: remove unneeded files. 2024-04-03 22:46:58 +02:00
Martin Preuss
c62165cd92 aqhome-react: Unified function names. 2024-04-03 21:58:34 +02:00
Martin Preuss
5305aa7fe3 Move device files into subfolders (first: devices/mqtt). 2024-04-03 21:57:42 +02:00
Martin Preuss
e29a32f24b Fixed a typo. 2024-03-25 23:18:29 +01:00
Martin Preuss
50bdefcb4a More work on aqhome-react service. 2024-03-25 23:18:18 +01:00
Martin Preuss
02d12b4209 units now use aqh as argument. 2024-03-24 18:51:56 +01:00
Martin Preuss
6f9e20095a aqhome-react: periodically check for network file changes and reload if necessary. 2024-03-24 14:21:20 +01:00
Martin Preuss
e0476924c1 aqhome-react: read network files. 2024-03-24 00:46:13 +01:00
Martin Preuss
2787bb9b79 add missing file to 0BUILD. 2024-03-22 00:08:51 +01:00
Martin Preuss
e162d9564b mqttlog: improved log message. 2024-03-21 23:41:17 +01:00
Martin Preuss
6889d5d851 mqttlog: enable setting data. 2024-03-21 23:41:05 +01:00
Martin Preuss
87d22b1e16 apps: set app log level by command line parameter. 2024-03-21 23:40:44 +01:00
Martin Preuss
30522df662 fixed a typo. 2024-03-19 23:48:24 +01:00
Martin Preuss
ed4fc1852a added function AqHomeReact_AddUnit(). 2024-03-19 23:48:05 +01:00
Martin Preuss
d6494d07d5 fixed a typo. 2024-03-19 23:47:29 +01:00
Martin Preuss
2c8e57ecff Replaced u_hold with more generic u_stabilize. 2024-03-11 21:32:22 +01:00
Martin Preuss
d3a6256c8c More work on aqhome-react.
- added some units
- added some types
2024-03-10 20:15:21 +01:00
Martin Preuss
656c9cf66f No parameters needed for basic units. 2024-03-09 01:35:09 +01:00
Martin Preuss
a3efa18a61 More work on aqhome-react. 2024-03-09 01:23:06 +01:00
Martin Preuss
605d78a2b7 aqhome-react: More work on units. 2024-02-26 21:22:42 +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
9e49e60aa8 aqhome-react: Started working on module which reacts to value changes. 2024-02-21 22:29:02 +01:00
Martin Preuss
4c44890d3c Improved mqttlog daemaon: persistent registered devices. 2024-02-17 17:33:09 +01:00
Martin Preuss
1ba263fb13 aqhome-mqttlog: Implemented SETDATA. 2024-02-17 01:09:46 +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
de1a975586 aqhome-mqttlog: increased verbosity. 2024-02-11 22:22:42 +01:00
Martin Preuss
13d161d119 aqhome-data: fixed a typo. 2024-02-11 22:22:09 +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
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
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
7f1c66cbe6 Fixed default value for timeout in aqhome-tool watch 2023-10-06 00:19:57 +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