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
Martin Preuss
c73f671deb
aqhome-tool: flush out message queue after sending FLASH_END
2023-04-22 12:47:11 +02:00
Martin Preuss
317524bd0f
aqhome-tool: write response messages for ping command
2023-04-22 12:46:33 +02:00
Martin Preuss
ea29e478e5
aqhome-tool: decreased verbosity.
2023-04-22 12:46:04 +02:00
Martin Preuss
0add18eeb7
aqhome: added Utils_FlushOutMessageQueue
2023-04-22 12:45:42 +02:00
Martin Preuss
270066dd9f
avr: cleanup lowlevel com2 routines.
2023-04-22 12:45:06 +02:00
Martin Preuss
462515b566
avr: reduce register use in com2WaitForDataState1ms
2023-04-22 12:12:19 +02:00
Martin Preuss
3b44fb9c5b
avr: split code in multiple files and routines.
2023-04-22 11:54:09 +02:00
Martin Preuss
3e6501c834
finished basic new structure.
2023-04-22 00:23:44 +02:00
Martin Preuss
5e12b8ad4e
started reorganizing code into subfolders.
2023-04-22 00:04:10 +02:00
Martin Preuss
97016b21b9
Rebooting and flashing a node now works!
2023-04-21 23:38:44 +02:00
Martin Preuss
76e58b6fec
avr: removed command to switch on debug led.
2023-04-21 00:15:42 +02:00