Skip to content

Commit cfae383

Browse files
committed
Release v1.0
1 parent a63593b commit cfae383

File tree

8 files changed

+551
-399
lines changed

8 files changed

+551
-399
lines changed

Payload-data-read.md

Lines changed: 466 additions & 352 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 81 additions & 29 deletions
Large diffs are not rendered by default.

arduino-altherma-controller/advanced_settings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const unsigned int WEB_IDLE_TIMEOUT = 400; // Time (ms) from last client d
4646
const unsigned int TCP_DISCON_TIMEOUT = 500; // Timeout (ms) for client DISCON socket command, non-blocking alternative to https://www.arduino.cc/reference/en/libraries/ethernet/client.setconnectiontimeout/
4747
//const unsigned int TCP_RETRANSMISSION_TIMEOUT = 50; // Ethernet controller’s timeout (ms), blocking (see https://www.arduino.cc/reference/en/libraries/ethernet/ethernet.setretransmissiontimeout/)
4848
//const byte TCP_RETRANSMISSION_COUNT = 3; // Number of transmission attempts the Ethernet controller will make before giving up (see https://www.arduino.cc/reference/en/libraries/ethernet/ethernet.setretransmissioncount/)
49-
const unsigned int TCP_RETRANSMISSION_TIMEOUT = 10; // Ethernet controller’s timeout (ms), blocking (see https://www.arduino.cc/reference/en/libraries/ethernet/ethernet.setretransmissiontimeout/)
49+
const unsigned int TCP_RETRANSMISSION_TIMEOUT = 50; // Ethernet controller’s timeout (ms), blocking (see https://www.arduino.cc/reference/en/libraries/ethernet/ethernet.setretransmissiontimeout/)
5050
const byte TCP_RETRANSMISSION_COUNT = 3; // Number of transmission attempts the Ethernet controller will make before giving up (see https://www.arduino.cc/reference/en/libraries/ethernet/ethernet.setretransmissioncount/)
5151
const int FETCH_INTERVAL = 2000; // Fetch API interval (ms) for the Modbus Status webpage to renew data from JSON served by Arduino
5252

arduino-altherma-controller/arduino-altherma-controller.ino

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
1-
/* Altherma UDP Controller: Monitors and controls Daikin E-Series (Altherma) through P1/P2 bus.
1+
/* Altherma UDP Controller: Monitors and controls Daikin E-Series (Altherma) het pumps through P1/P2 bus.
22
33
Version history
44
v0.1 2020-11-30 Initial commit, save history of selected packets, settings
55
v0.2 2020-12-05 Hysteresis, vertify commands sent to P1P2
66
v0.3 2020-12-09 More effective and reliable writing to P1P2 bus
77
v0.4 2020-12-10 Minor tweaks
8-
v1.0 2023-XX-XX Major upgrade: web interface, store settings in EEPROM, P1P2 error counters
9-
10-
changes:
11-
- only Daikin E* heat pumps (Altherma)
12-
- no SW_SCOPE
13-
- no error budget
14-
- no write budget (Write Cycles can are displayed via web UI)
15-
- use single queue for all write packets (0x3X, counter requests, daikin restart, etc.)
16-
- write all packets after 0x30 (disable #define KLICDA writing after 0x12 packet)
17-
- write any packets (incl. counter requests, restarts, etc.) only if connected as controller
18-
- if the main controller sends request to our auxiliary controller, always respond
8+
v1.0 2023-04-18 Major upgrade: web interface, store settings in EEPROM, P1P2 error counters
199
2010
*/
2111

@@ -42,10 +32,6 @@ enum first_last : byte {
4232
LAST
4333
};
4434

45-
46-
47-
/****** DEFAULT FACTORY SETTINGS ******/
48-
4935
enum status : byte {
5036
PACKET_SEEN, // Packet Type was detected on P1P2 bus
5137
PACKET_SENT, // Packet is sent via UDP

arduino-altherma-controller/src/P1P2Serial_mod/P1P2Serial_mod.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575

7676
#ifdef __AVR_ATmega2560__
7777

78-
#error ATmega2560 code has not been tested, use with caution.
78+
#warning ATmega2560 code has not been tested, use with caution.
7979

8080
// RW using timer5
8181
#define INPUT_CAPTURE_PIN 48 // PL1

pics/loxone10.png

56 KB
Loading

pics/loxone8.png

30.8 KB
Loading

pics/loxone9.png

56.4 KB
Loading

0 commit comments

Comments
 (0)