Commit Graph

76 Commits

Author SHA1 Message Date
Martin Preuss
d0c8b3b284 let setData use double values instead of strings.
this allows for storing value set with setData which can then be used in
the cgi module to retrieve the last value set.
2025-10-07 23:50:50 +02:00
Martin Preuss
494e7b3fbc aqhome-data: send data in multiple messages. remove limits. 2025-10-01 23:19:48 +02:00
Martin Preuss
12a64b8c91 log raw type 2025-09-22 22:41:57 +02:00
Martin Preuss
53e076c2ad added argument "DEVICENAME" to GETDEVICES request.
faster if only a specific device is requested.
2025-09-12 15:06:26 +02:00
Martin Preuss
809439fd26 aqhome-nodes: handle new statistics messages. 2025-09-01 23:20:38 +02:00
Martin Preuss
64854506e5 fixed recvstats message handling. 2025-08-25 14:11:57 +02:00
Martin Preuss
ec3774c7a5 fixed a bug in field order 2025-08-25 11:22:54 +02:00
Martin Preuss
6e062d3f60 improve stats reporting
now again use three messages to transmit stats (much more efficient than
sending single values, also more acurate).
2025-08-25 10:22:05 +02:00
Martin Preuss
cbd498150f avr: fully implemented router functionality in network and router app. 2025-07-07 16:05:53 +02:00
Martin Preuss
86982d0000 reuse code. 2025-07-06 14:39:16 +02:00
Martin Preuss
cbf88e05fe added "mode" argument to "getdata" command. 2025-06-25 00:03:58 +02:00
Martin Preuss
63ebcbadc9 added msg "getValues" 2025-06-25 00:01:12 +02:00
Martin Preuss
24dc3e1c0a aqhome: fixed flashing messages and code
use consisten order of arguments.
2025-03-23 22:38:37 +01:00
Martin Preuss
7e745c98e6 aqhome, aqhome-apps: cleanup, removed unneeded files. 2025-03-14 21:22:48 +01:00
Martin Preuss
9cca3af402 aqhome apps: sending a message via aqhome-nodes to nodes now works. 2025-03-10 23:22:30 +01:00
Martin Preuss
dc4a02a8ff aqhome-apps: removed unneeded files. 2025-03-10 00:15:36 +01:00
Martin Preuss
5011e7e123 aqhome-apps: decreased verbosity. 2025-03-10 00:02:26 +01:00
Martin Preuss
ca2103f7b3 aqhome: adapted server aqhome-mqttlog to events2 api. 2025-03-08 01:03:22 +01:00
Martin Preuss
58c6d12e36 aqhome: finished transformation of aqhome-data and aqhome-tool. 2025-03-02 21:48:22 +01:00
Martin Preuss
4e85b59ec9 aqhome: added missing defs. 2025-03-01 15:23:26 +01:00
Martin Preuss
c7551512bc aqhome: added AQH_IpcdMessageValues_newForOne() 2025-03-01 15:23:07 +01:00
Martin Preuss
f2d527cd2f aqhome-data, aqhome-tool: more work on new protocol. 2025-02-27 23:50:18 +01:00
Martin Preuss
d887747b3c aqhome: more work on transformation to event2/ipc2. 2025-02-27 14:08:44 +01:00
Martin Preuss
f63079af11 aqhome: Prepared reorganizing IPC and nodes code around built-in event2 api. 2025-02-26 00:49:33 +01:00
Martin Preuss
cf8edbbd5f aqhome: started rewriting message code, start using new event2 lib. 2025-02-25 01:13:07 +01:00
Martin Preuss
358ceaaa7d aqhome: add flags to socket to dump incoming data (needs latest gwen). 2025-02-10 23:36:23 +01:00
Martin Preuss
cc8dd6e22f aqhome: modified setup of serial port. 2025-02-01 16:22:36 +01:00
Martin Preuss
a3d5b33105 mainly built-fixes. 2025-01-01 19:33:32 +01:00
Martin Preuss
433720525d aqhome: handle types for CO2 and TVOC. 2024-12-15 18:17:35 +01:00
Martin Preuss
061438b7c8 avr, aqhome: added modality MOTION. 2024-10-28 23:41:27 +01:00
Martin Preuss
a624331166 aqhome: add constructor for VALUE3 messages. 2024-09-22 21:23:53 +02:00
Martin Preuss
4548b3c225 aqhome: discard data on bad messages, make socket non-blocking.
still doesn't seem to recover from bad messages.
2024-09-20 01:28:54 +02:00
Martin Preuss
0f98ed87a4 aqhome: improved error handling. 2024-09-13 01:11:11 +02:00
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
9b7d043682 Started working on aqhome-nodes which will replace aqhomed. 2023-09-13 23:31:02 +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
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
43b23b2636 msg: added endpoint for tty. 2023-07-10 21:38:22 +02:00
Martin Preuss
efcab6f38d aqhome: only say "open" instead of "fully open". 2023-05-13 00:38:51 +02:00
Martin Preuss
9f32f206b3 aqhome: improved "write" module.
- write window status as string translated from value
- reduced code duplication
2023-05-13 00:15:07 +02:00
Martin Preuss
6a22fb9956 aqhome: write values also to file "value".
- if valueType is known write value into the given file
- always write raw value into file "value"
2023-05-13 00:00:17 +02:00
Martin Preuss
226922d3e4 avr/reed: implemented tilt detection mode
- implemented tilt detection mode
- added docu
- change the way a VALUE2 message is printed when value type is "door"
2023-05-12 23:19:01 +02:00
Martin Preuss
bcf1674b3b Fixed a bug (hanging process). 2023-05-02 00:03:01 +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
5ba0bdff55 aqhome: fixed memory leaks. 2023-04-26 02:07:00 +02:00