Commit Graph

607 Commits

Author SHA1 Message Date
Martin Preuss
c2d7564e0c avr: removed debug vars from CPRO module. 2024-09-29 15:08:33 +02:00
Martin Preuss
d70c673b8a avr: introduced screens. 2024-09-29 15:05:33 +02:00
Martin Preuss
23489dd5bf avr: removed unneeded code. 2024-09-29 15:03:36 +02:00
Martin Preuss
5767c1307d avr: improved protocol timing for COM2.
- increased waiting time after lowering ATTN line
- lengthten stop bit for cleaner frames (now recognized by PulseView)
- count "NOTFORME" conditions
- introduce definition COM_HALFBIT_LENGTH (I dont' trust value calculations
  in avrasm)
2024-09-29 14:59:19 +02:00
Martin Preuss
b93ead5e5f avr: fixed a typo. 2024-09-27 01:23:27 +02:00
Martin Preuss
6fc7f5fc7a avr: fixed clobber lists. 2024-09-27 01:23:16 +02:00
Martin Preuss
60c86c7598 Revert "avr: Try to fix a bug (not respecting DENY_ADDRESS)."
This reverts commit 07f99b7050.
2024-09-27 00:33:26 +02:00
Martin Preuss
07f99b7050 avr: Try to fix a bug (not respecting DENY_ADDRESS). 2024-09-27 00:33:11 +02:00
Martin Preuss
6676024cb0 aqhome: added "modality" to values. 2024-09-26 21:12:42 +02:00
Martin Preuss
cf9118e41d aqhome-nodes: started using requests. 2024-09-26 21:12:26 +02:00
Martin Preuss
49d037c040 more work on data and nodes service. 2024-09-26 21:11:33 +02:00
Martin Preuss
b0b6efb1c3 adapted to latest changes in gwen, more work on data and nodes servers. 2024-09-26 10:45:22 +02:00
Martin Preuss
be053b035f aqhome-react: enable setvalue 2024-09-22 21:25:45 +02:00
Martin Preuss
a839d97140 aqhome-tool: added command "setnodevalue". 2024-09-22 21:25:05 +02:00
Martin Preuss
bdcbaa2b46 aqhome-nodes: improved handling of VALUE3 messages. 2024-09-22 21:24:34 +02:00
Martin Preuss
a624331166 aqhome: add constructor for VALUE3 messages. 2024-09-22 21:23:53 +02:00
Martin Preuss
7e4977f472 avr: fixed a typo. 2024-09-22 21:22:56 +02:00
Martin Preuss
9adb95d532 avr: make basetimer work on AtTiny85, too. 2024-09-22 21:22:46 +02:00
Martin Preuss
f729766e6b avr: added device n14 (led strip controller @ 8MHz). 2024-09-22 21:21:46 +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
caa7138738 avr: disabled debug led. 2024-09-18 20:24:48 +02:00
Martin Preuss
91752156f2 avr: fixed timer usage in COM2 and COM2_PROTO module. 2024-09-18 20:24:32 +02:00
Martin Preuss
a1a64fec42 avr: use sk6812 in n12 device (test case). 2024-09-18 20:23:59 +02:00
Martin Preuss
9e80636acb avr: enable sk6812 module. 2024-09-18 20:23:16 +02:00
Martin Preuss
741dd4fe12 avr: some sorting. 2024-09-18 20:22:13 +02:00
Martin Preuss
5ca1fd4275 avr: added module for sk6812 LED controllers. 2024-09-18 20:21:55 +02:00
Martin Preuss
7590aa3717 aqhome-nodes: write db on fini(). Extract info from DEVICE message. 2024-09-18 00:15:43 +02:00
Martin Preuss
08399ecf87 aqhome-nodes: decreased verbosity. 2024-09-18 00:14:42 +02:00
Martin Preuss
0e83988904 avr: fixed wait phase in 1-wire-master code. 2024-09-18 00:14:08 +02:00
Martin Preuss
3bec999ae0 avr: don't wait before checking ATTN line. 2024-09-18 00:13:37 +02:00
Martin Preuss
5b3c813981 avr: beautifications. 2024-09-18 00:12:56 +02:00
Martin Preuss
b490646799 avr: fixed docu. 2024-09-18 00:11:59 +02:00
Martin Preuss
f912c537d4 avr: use n12 as test node (using new pcb "X01") with 8MHz. 2024-09-18 00:11:47 +02:00
Martin Preuss
3af514d946 avr: add Utils_WaitFor100MicroSecs 2024-09-18 00:09:35 +02:00
Martin Preuss
9a2a1764d9 aqhome: fixed a bug. 2024-09-18 00:09:16 +02:00
Martin Preuss
4687a8726b aqhome: moved datafile implementations into their own folder. 2024-09-13 21:43:00 +02:00
Martin Preuss
7a5900be25 avr: added functions to change speed.
Main code might work at 8 MHz, but boot code is compiled for 1 MHz,
so we need to set speed accordingly when rebooting into boot loader.
2024-09-13 21:41:38 +02:00
Martin Preuss
2d09e22ec6 avr: "Utils_WaitNanoSecs 100000" doesn't work at 8MHz (too many cycles). 2024-09-13 21:40:22 +02:00
Martin Preuss
cdcb4e2b3e avr: rewrote timer code (split into timer and basetimer).
Only basetimer depends on hardware and clock speed. Works onj AtTiny 84
at 1 MHz and 8 MHz.
2024-09-13 21:39:24 +02:00
Martin Preuss
6ff68b848c avr: fixed firmware variant. 2024-09-13 01:11:33 +02:00
Martin Preuss
0f98ed87a4 aqhome: improved error handling. 2024-09-13 01:11:11 +02:00
Martin Preuss
ee94d8a583 avr: finalized label names. 2024-09-13 01:08:07 +02:00
Martin Preuss
4ba0e01c9f avr: disable DS18B20 support for devices n11 and n12. 2024-09-12 19:19:14 +02:00
Martin Preuss
c908eb4840 avr: removed dead code. 2024-09-12 13:12:01 +02:00
Martin Preuss
892dc65898 avr: added missing defs. 2024-09-12 13:11:50 +02:00
Martin Preuss
0c819bcd19 avr: added documentation about COM2 lines and protocol. 2024-09-12 13:06:35 +02:00
Martin Preuss
caf04e88f3 avr: n12: handle MODULES_DS18B20 and MODULES_OWI_MASTER 2024-09-12 13:06:10 +02:00
Martin Preuss
79f4018341 avr: send DS18B20 sensor data. 2024-09-12 13:05:27 +02:00
Martin Preuss
f1fe99673b avr: added debug instr. 2024-09-12 13:05:01 +02:00
Martin Preuss
79afc70b92 avr: include printDs inside #ifdef 2024-09-12 13:04:39 +02:00