Skip to content

Commit

Permalink
Release v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
budulinek committed Apr 24, 2023
1 parent a63593b commit cfae383
Show file tree
Hide file tree
Showing 8 changed files with 551 additions and 399 deletions.
818 changes: 466 additions & 352 deletions Payload-data-read.md

Large diffs are not rendered by default.

110 changes: 81 additions & 29 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion arduino-altherma-controller/advanced_settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const unsigned int WEB_IDLE_TIMEOUT = 400; // Time (ms) from last client d
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/
//const unsigned int TCP_RETRANSMISSION_TIMEOUT = 50; // Ethernet controller’s timeout (ms), blocking (see https://www.arduino.cc/reference/en/libraries/ethernet/ethernet.setretransmissiontimeout/)
//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/)
const unsigned int TCP_RETRANSMISSION_TIMEOUT = 10; // Ethernet controller’s timeout (ms), blocking (see https://www.arduino.cc/reference/en/libraries/ethernet/ethernet.setretransmissiontimeout/)
const unsigned int TCP_RETRANSMISSION_TIMEOUT = 50; // Ethernet controller’s timeout (ms), blocking (see https://www.arduino.cc/reference/en/libraries/ethernet/ethernet.setretransmissiontimeout/)
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/)
const int FETCH_INTERVAL = 2000; // Fetch API interval (ms) for the Modbus Status webpage to renew data from JSON served by Arduino

Expand Down
18 changes: 2 additions & 16 deletions arduino-altherma-controller/arduino-altherma-controller.ino
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
/* Altherma UDP Controller: Monitors and controls Daikin E-Series (Altherma) through P1/P2 bus.
/* Altherma UDP Controller: Monitors and controls Daikin E-Series (Altherma) het pumps through P1/P2 bus.

Version history
v0.1 2020-11-30 Initial commit, save history of selected packets, settings
v0.2 2020-12-05 Hysteresis, vertify commands sent to P1P2
v0.3 2020-12-09 More effective and reliable writing to P1P2 bus
v0.4 2020-12-10 Minor tweaks
v1.0 2023-XX-XX Major upgrade: web interface, store settings in EEPROM, P1P2 error counters

changes:
- only Daikin E* heat pumps (Altherma)
- no SW_SCOPE
- no error budget
- no write budget (Write Cycles can are displayed via web UI)
- use single queue for all write packets (0x3X, counter requests, daikin restart, etc.)
- write all packets after 0x30 (disable #define KLICDA writing after 0x12 packet)
- write any packets (incl. counter requests, restarts, etc.) only if connected as controller
- if the main controller sends request to our auxiliary controller, always respond
v1.0 2023-04-18 Major upgrade: web interface, store settings in EEPROM, P1P2 error counters

*/

Expand All @@ -42,10 +32,6 @@ enum first_last : byte {
LAST
};



/****** DEFAULT FACTORY SETTINGS ******/

enum status : byte {
PACKET_SEEN, // Packet Type was detected on P1P2 bus
PACKET_SENT, // Packet is sent via UDP
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@

#ifdef __AVR_ATmega2560__

#error ATmega2560 code has not been tested, use with caution.
#warning ATmega2560 code has not been tested, use with caution.

// RW using timer5
#define INPUT_CAPTURE_PIN 48 // PL1
Expand Down
Binary file added pics/loxone10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/loxone8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pics/loxone9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cfae383

Please sign in to comment.