Daikin Altherma heat pump monitoring

There are not a lot of differences between the definitions files.
You’ll find a page in the wiki to help you choose the best one.

Hi, I have an old Altherma, 2008 16 kW model.

I get the following in HA and on the display of the M5stickPlus:

Querying register 0x30…
Time out! Check connection
Retrying…
Querying register 0x60…
Time out! Check connection
Retrying…

Pretty sure the wires are connected properly.

I configured “default”.

Any guess on what may be wrong?

Ref on my board says 3pw43696-1A
Heatpunp is a EKHWS(U)150

Check your wires. Double check. Triple check.
And if it still not work, change your wires.

Also if you power your esp with USB charger make sure you still have a wire linking the gnd of x10a to the ground of the ESP.

Checked wires, these are fine. Changed all of them. No difference. Ground is connected and TX and RX. powered by usb c on ipad power supply.

I have the alternative port on my print.

Can you clarify this?
Also, can you make a picture of your setup?

Hi,
Sadly no. It’s not compatible with my 11 years old heat pump I guess so I moved on.

Sorry, that wasn’t very clear, I mean, mine has the 8 pin X10A Connection but it’s not a Rotex but a Daikin Altherma.

Mine is an Altherma with 8 pins port too.
I used a ESP32-CAM and it work perfectly, powered directly from the port 5V.

Hi Raomin,

first thank you, I appreciated your work.
I still don’t get any data of mz rotex, may be you have an idea
What I tried to do

  1. Ground from the board and directly from the frame
  2. Changed wire and crossed also
  3. 5v from board and power supply
  4. Connected to X10 and X9

image

Hi Alex, what type is it and what model year?

Hi.
Daikin Altherma HPSU Compact 8kW (EHSX08P50B) - year 2016

Hey guys,

So I tried an ESP32 Wroom bought on Ali and I couldn’t make it work. Checked the voltage, used an external USB supply and apparently the wifi is the problem.

I tried using a D1 mini esp8266 and apparently it has a better wifi reception, even though it is exactly in the same area… Anyone saw this?

Anyways I was that the project was updated to use esp8266, gonna try it out :slight_smile:

If it works, I think I’ll stick to D1 mini from now on instead of ESP32 for my projects…

This. Or extend your WiFi :wink: or your cables…

Yeah tried to extend the cables but I need to make it very far away…

So I tried to flash the project on a AZ Delivery D1 mini based on esp8266 but apparently the D1 can’t seem to connect to my wifi, the blue led keeps flashing. Do I need to do something in particluar in order to change the environment? I only changed the Project Environment in the bottom bar (not familiar with VSCODE yet).

Btw I’m sure now that it isn’t the signal strength since my repeater is right next to me ^^

Leave the ESP connected to the pc and have a look at the serial monitoring. (the plug icon)
Paste here what it says

Not sure that it can help you, unless you can decode it xD

--- Terminal on COM6 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp8266_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3460, room 16
tail 4     
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v00053630
~ld

 ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3460, room 16
tail 4
chksum 0xcc
load 0x3fff20b8, len 40, room 4
tail 4
chksum 0xc9
csum 0xc9
v00053630
~ld

Same thing after and after. Looks like it doesn’t seem to initialize correctly. Maybe not enough power? I didn’t link anything to it yet.

Btw, I configured to use the pin 3 for RX and pin 1 for TX and pin 5 for thermostat relay (even if not used, I prefear to set it to an unused pin).

The setup.h seems to work fine on my esp32, I only changed the pins.

Isn’t because it’s a D1 mini? Saw earlier in the thread that it was needed to have 2 serial buses or something like that, therefore the ESP32 was necessary

Program is not starting like it was not uploaded properly.
Can you paste the upload?

Here is the build process:

Processing nodemcuv2 (platform: espressif8266; framework: arduino; board: nodemcuv2)
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (4.0.1) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
 - framework-arduinoespressif8266 @ 3.30002.0 (3.0.2)
 - tool-esptool @ 1.413.0 (4.13)
 - tool-esptoolpy @ 1.30000.201119 (3.0.0)
 - tool-mklittlefs @ 1.203.210628 (2.3)
 - tool-mkspiffs @ 1.200.0 (2.0)
 - toolchain-xtensa @ 2.100300.210717 (10.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 36 compatible libraries
Scanning dependencies...
Dependency Graph
|-- PubSubClient @ 2.8.0
|-- ArduinoOTA @ 1.0
|   |-- ESP8266WiFi @ 1.0
|   |-- ESP8266mDNS @ 1.2
|   |   |-- ESP8266WiFi @ 1.0
|-- ESP8266WiFi @ 1.0
|-- EspSoftwareSerial @ 6.12.7
|-- EEPROM @ 1.0
Building in release mode
Retrieving maximum program size .pio\build\nodemcuv2\firmware.elf
Checking size .pio\build\nodemcuv2\firmware.elf
Advanced Memory Usage is available via "PlatformIO Home > Project Inspect"
RAM:   [====      ]  44.3% (used 36276 bytes from 81920 bytes)
Flash: [===       ]  32.3% (used 337396 bytes from 1044464 bytes)
Configuring upload protocol...
AVAILABLE: espota, esptool
CURRENT: upload_protocol = esptool
Looking for upload port...
Auto-detected: COM5
Uploading .pio\build\nodemcuv2\firmware.bin
esptool.py v3.0
Serial port COM5
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: c4:5b:be:55:05:c9
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Compressed 341552 bytes to 241817...
Writing at 0x00000000... (6 %)
Writing at 0x00004000... (13 %)
Writing at 0x00008000... (20 %)
Writing at 0x0000c000... (26 %)
Writing at 0x00010000... (33 %)
Writing at 0x00014000... (40 %)
Writing at 0x00018000... (46 %)
Writing at 0x0001c000... (53 %)
Writing at 0x00020000... (60 %)
Writing at 0x00024000... (66 %)
Writing at 0x00028000... (73 %)
Writing at 0x0002c000... (80 %)
Writing at 0x00030000... (86 %)
Writing at 0x00034000... (93 %)
Writing at 0x00038000... (100 %)
Wrote 341552 bytes (241817 compressed) at 0x00000000 in 3.2 seconds (effective 841.6 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
======================================================================= [SUCCESS] Took 10.04 seconds =======================================================================

Environment    Status    Duration
-------------  --------  ------------
nodemcuv2      SUCCESS   00:00:10.045
======================================================================== 1 succeeded in 00:00:10.045 ========================================================================

Maybe this D1 is crappy but kinda strange, never used it before. To check, I used it with ESPHOME and I managed to connect to my wifi without any issues.

However, just a quick info, my SSID is hidden, I need to activate fast_connect in order for my esphome to connect to it. Maybe there is an option that needs to be added in the project? With the ESP32 I didn’t have any issues, found the SSID directly.

Btw the flashing using ESPHOME is quite longer, not sure if my issue is linked to the firmware being smaller. I checked the esphome logs and it doesn’t really give me info on the hardware, just stuff concerning the wifi.