Commit Graph

159 Commits

Author SHA1 Message Date
Martin Preuss
fc2c18b489 Allow for prefill of form elements, improved I18N. 2023-08-09 00:55:07 +02:00
Martin Preuss
28bc8efac8 Minor format changes. 2023-08-09 00:54:12 +02:00
Martin Preuss
aafecfa704 aqhome: more work on http server. 2023-08-08 23:49:28 +02:00
Martin Preuss
1efcd09f0c aqhome: more work on http service. 2023-08-07 14:08:52 +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
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
893ae6867b aqhome: started http endpoint. 2023-07-18 10:52:09 +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
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
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
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
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
5ba0bdff55 aqhome: fixed memory leaks. 2023-04-26 02:07:00 +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
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
1c09127235 aqhome: fixed a bug. 2023-04-22 14:46:40 +02:00
Martin Preuss
97016b21b9 Rebooting and flashing a node now works! 2023-04-21 23:38:44 +02:00
Martin Preuss
02b934c080 aqhome: fixed typos/bugs (in part copy'n'paste errrors) 2023-04-20 23:58:09 +02:00
Martin Preuss
82c7626783 flashing a device via boot loader works now!!
- use a simple rjmp to start main firmware
- add buffer size as a parameter for com2ReceivePacketRaw
- fixed bugs in
  - Flash_StartPage
  - Flash_FinishPage
  - Flash_ReadPageIntoPageBuffer
- assume irqs disabled in flash routines
- increase flash receive buffer size to 128
2023-04-20 23:57:13 +02:00
Martin Preuss
c65bd60bc5 avr: added flash-related messages. 2023-04-20 00:43:07 +02:00
Martin Preuss
fd2c4da9ce aqhome: added FLASH_READY msg. 2023-04-19 15:39:51 +02:00
Martin Preuss
db86d61e33 aqhome: make some parameters const. 2023-04-18 21:17:56 +02:00
Martin Preuss
4e409851f6 aqhome: added lib for hexfiles and flash records. 2023-04-18 19:41:56 +02:00
Martin Preuss
93e89e801e aqhome: added defines for FLASH messages. 2023-04-17 01:14:18 +02:00
Martin Preuss
ce85548938 aqhome: added ipc message and calls to set acceptable msg groups for ipc endpoint.
this filters the messages which are copied to the ipc client.
2023-04-17 01:13:59 +02:00
Martin Preuss
d53b061aed aqhome: implemented IPC client, fixed some bugs.
sending a PING request and retrieving the PONG response works now.
2023-04-16 23:22:03 +02:00
Martin Preuss
c00b90bf28 more work on switching to new COM and TIMER stack. 2023-04-13 21:16:51 +02:00
Martin Preuss
ded08b8c47 avr: new com2 and timer stack basically works again. 2023-04-12 21:46:34 +02:00