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
Martin Preuss
104a4e1a2f
added/fixed some helper scripts
...
- aqhome-tool.sh: calls aqhome-tool inside 0-build/
- aqhomed.sh: calls aqhomed inside 0-build/
- vg_calls.sh: calls aqhomed inside valgrind to collect the call tree
- vg_run.sh: calls aqhomed inside valgrind to collect memory leaks
2023-04-26 02:08:30 +02:00
Martin Preuss
5ba0bdff55
aqhome: fixed memory leaks.
2023-04-26 02:07:00 +02:00
Martin Preuss
8228f2cad4
aqhomed: added option to let aqhomed stop after a given time period.
...
used for valgrind tests.
2023-04-26 02:06:39 +02:00
Martin Preuss
35da1e80dc
new entries for .gitignore.
2023-04-26 02:05:50 +02:00
Martin Preuss
3094048e4b
mqtt client: removed unused code.
2023-04-25 00:37:40 +02:00
Martin Preuss
2bc1752597
mqtt: fixed connect issues.
...
no works with connectable endpoint code.
2023-04-25 00:36:40 +02:00
Martin Preuss
7c946e50e8
removed TODO.
2023-04-24 20:36:38 +02:00
Martin Preuss
6469a257f1
added entry.
2023-04-24 20:36:29 +02:00
Martin Preuss
8847d051c1
aqhome-tool: more work on getdevices.
2023-04-24 20:36:13 +02:00
Martin Preuss
5f7e192e27
implemented ipc messages getdevices req/rsp
2023-04-22 19:13:59 +02:00
Martin Preuss
1893d50908
avr: minor changes to watchdogOn (not used, yet).
2023-04-22 16:38:03 +02:00
Martin Preuss
4bf20fb032
avr: added a note about the wait macro.
2023-04-22 16:37:37 +02:00
Martin Preuss
ad925c38ab
aqhome-tool: increased verbosity
2023-04-22 16:37:15 +02:00
Martin Preuss
ebd5829435
avr: renamned some filesfrom flash module. handle FLASH_END.
2023-04-22 14:47:16 +02:00
Martin Preuss
1c09127235
aqhome: fixed a bug.
2023-04-22 14:46:40 +02:00
Martin Preuss
0f6ecdd95d
aqhome-tool: cleanup of flash command.
2023-04-22 14:46:25 +02:00