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
897fdffcf9
aqhome: cleanup AQH_HttpService_ParsePostBody().
2023-07-24 21:59:42 +02:00
Martin Preuss
53e1fbae56
aqhome: removed unneeded classes.
2023-07-24 21:53:31 +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
06b5ab26c8
libtest.sh: make aqhome loglevel configurable by the caller.
2023-07-19 01:26:51 +02:00
Martin Preuss
02797ff092
aqhome: started working on database code.
2023-07-19 01:26:14 +02:00
Martin Preuss
3eb0a9afa9
aqhome: more work on http endpoint.
2023-07-19 01:25:43 +02:00
Martin Preuss
5852ad9a1e
add valgrind log for aqhome-mqttlog.
2023-07-18 10:54:06 +02:00
Martin Preuss
8ee0602f7a
modified in-tree start script for aqhome-mqttlog.
2023-07-18 10:53:22 +02:00
Martin Preuss
f8c325e747
modify valgrind script for aqhome-mqttlog.
2023-07-18 10:52:47 +02:00
Martin Preuss
893ae6867b
aqhome: started http endpoint.
2023-07-18 10:52:09 +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
7a4edb6854
added example systemd scripts.
2023-07-12 16:46:51 +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
43b23b2636
msg: added endpoint for tty.
2023-07-10 21:38:22 +02:00
Martin Preuss
2d393630d8
aqhome: added AQH_MqttClientEndpoint2_GetNextPacketId(). added test for subscriptions.
2023-07-09 21:19:36 +02:00
Martin Preuss
5105c0c7f7
aqhome: added functions AQH_ConnAckMqttMsg_GetResultFlags() and AQH_ConnAckMqttMsg_GetResultCode()
2023-07-09 20:48:15 +02:00
Martin Preuss
6f5a26b0cf
aqhome: Started rewriting endpoints for version 2 of the msgio interface.
...
This interface is much simpler.
First rewritten endpoint is that for MQTT.
2023-07-09 20:47:47 +02:00
Martin Preuss
d766a3635a
mqtt: started working on 2nd generation msgio implementation.
2023-07-08 01:58:43 +02:00
Martin Preuss
b4175f4a89
added tool aqhome-mqttlog.
2023-05-24 23:08:28 +02:00
Martin Preuss
f0917064af
aqhome: fixed mqtt message handling
...
PUBLISH: the message itself is NOT preceeded by size
2023-05-24 23:07:45 +02:00
Martin Preuss
1751170940
aqhome/mqtt: added messages regarding subscription.
2023-05-14 22:24:55 +02:00
Martin Preuss
3e85dc9bd5
avr: removed unused code.
2023-05-14 22:24:05 +02:00
Martin Preuss
54301fed44
avr/reed: moved notification source to REED_Run.
...
This make the node send the new status almost immediately after change.
2023-05-13 01:13:28 +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
a29a314976
minor docu fix.
2023-05-12 23:48:30 +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
84403d07f6
avr: added initial module to handle reed contacts.
...
Detects and reports opening and closing of a window/door.
Nexts step is to allow for external configuration (e.g. standard mode
with one reed contact versus multi-contact mode to detect tilting of a
window/door).
2023-05-12 21:41:39 +02:00
Martin Preuss
c6e013fdcf
gixed build rule for flashing bootloader.
20230510-faddress_handling_fixed
2023-05-10 21:10:17 +02:00
Martin Preuss
45a63ad70b
avr: minor reformatting
2023-05-10 21:10:00 +02:00
Martin Preuss
f8d9447fde
avr/lcd: renamed some defs.
2023-05-10 21:09:37 +02:00
Martin Preuss
44bed4dc14
avr: fixed some bugs in address handling code
...
- fixed bugs in jumptable code and calls
NOTE to self: addresses in flash are WORD addresses, so we need
to double the address difference when working with bytes!
- correctly set params for call to cproAddressSetTimer
2023-05-10 21:09:08 +02:00
Martin Preuss
459f261133
avr: added include for tiny841.
2023-05-10 21:06:02 +02:00
Martin Preuss
4a093905e8
Started working on CNY70 module (doesn't work, yet).
2023-05-02 00:03:41 +02:00
Martin Preuss
bcf1674b3b
Fixed a bug (hanging process).
2023-05-02 00:03:01 +02:00
Martin Preuss
383e3ad93d
build: added more build files for subfolders.
2023-04-26 17:55:40 +02:00
Martin Preuss
992eba86ef
added command for installed aqhomed.
2023-04-26 17:34:51 +02:00
Martin Preuss
6479d6c305
added missing files.
2023-04-26 17:34:30 +02:00
Martin Preuss
33e08ad343
improved error message.
2023-04-26 17:34:15 +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
e647a17c7e
fixed a typo.
2023-04-26 17:32:21 +02:00
Martin Preuss
7e77dcaf51
build: make assembling avr code optional.
2023-04-26 13:22:54 +02:00