Commit Graph

437 Commits

Author SHA1 Message Date
Martin Preuss
87114cecea aqhome-react: more work on modules and networks.
- tested AND network and new suntime units.
- add unit XML property "invert" (inverts output for logical units)
2024-04-20 17:28:20 +02:00
Martin Preuss
f3c68a8bba aqhome-react: fixed typo. 2024-04-20 02:03:49 +02:00
Martin Preuss
f083fb1c00 aqhome-react: handle MULTI inputs, set input port flags. 2024-04-20 02:03:32 +02:00
Martin Preuss
88d049d68a aqhome-react: added code to determine sunset/sunrise times. 2024-04-20 02:00:06 +02:00
Martin Preuss
7ee7edffec aqhome-react: rename "name" to "typeName" in AQHREACT_Unit 2024-04-18 23:28:27 +02:00
Martin Preuss
e486a7e69d aqhome-react: finish new network reading code, improved debugging helper code. 2024-04-18 22:40:13 +02:00
Martin Preuss
2443fbca9f aqhome-react: added example network. 2024-04-18 22:39:25 +02:00
Martin Preuss
716c1c58df aqhome-react: consistently named function. 2024-04-17 23:13:15 +02:00
Martin Preuss
7ea260031e fixed compiler warnings. 2024-04-17 23:11:52 +02:00
Martin Preuss
02c256ffa2 aqhome-react: replaced example networks. 2024-04-17 23:11:15 +02:00
Martin Preuss
02f02b1ad1 aqhome-react: removed uneeded files. 2024-04-17 22:29:28 +02:00
Martin Preuss
f4902d5717 fixed a compiler warning. 2024-04-17 22:27:02 +02:00
Martin Preuss
8bb60fdba7 build: more gcc warnings. 2024-04-17 22:26:47 +02:00
Martin Preuss
1050ee1c75 aqhome-react: major rebuild of unit handling.
now nested networks are allowed to allow for complex networks.
2024-04-17 22:26:17 +02:00
Martin Preuss
ec816bddcf aqhome-react: added more logical units (or, and, xor). started "module" unit.
module units now are units created from previous networks of units
thus introducing nested units.
2024-04-14 23:42:10 +02:00
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
9a4eb3c608 decrease StartLimitIntervalSec to 1m. 2024-04-13 00:04:03 +02:00
Martin Preuss
dd133c7368 added systemd file for aqhome-react. 2024-04-13 00:03:37 +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
a94ebeca29 fixed a bug (was not using pathName). 2024-04-12 22:53:46 +02:00
Martin Preuss
1b1d2f6c9e incremented version. 2024-04-12 22:42:00 +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
2653b16939 add AQH_FindPathOfDataFile(). 2024-04-12 22:33:56 +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
d92ae455db fixed definition for tasmota devices. 2024-03-22 00:08:36 +01:00
Martin Preuss
f9a5119d1f devices: recognize tasmota plugs out-of-the-box. 2024-03-21 23:41:50 +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
db19019202 Fixed a bug. 2024-03-09 01:25:11 +01:00