Closed m-reuter closed 3 years ago
Hi @m-reuter, thanks and welcome!
The very latest code (few minutes ago) handles the screen properly: it displays the logs at the beginning and shuts off until you press the main button.
You can look at the logs from the warmth of your mqtt broker also:
~$ mosquitto_sub -v -t "espaltherma/#"
Now, if you get nothing from the heatpump, cross check again the RX TX Pins from setup.h
. Remember they are crossed: the RX of ESP goes to TX of the heatpump X10A.
What is the model of your heat pump?
Thanks for the fast reply.
here a pic of the cabling:
https://up.picr.de/40339297na.jpg
5v red: 1 (pin on the right in the photo) G26 orange 2 G36/G25 green 3 GND brown 5 (blue and yellow are not connected at the moment).
How can I run the mosquitto_sub on my raspi (my home assistant runs in a docker and so does the mosquitto)? mosquitto_sub is not available in the OS.
After restarting home assistant, I currently see no data at all in sensor.althermasensors
Could it be that I need to power the StickC via USB? Although I still see it in Wifi clients on my network. And it is now connected to mosquito again after the restart.
My heat pump is the Rotex HPSU Compact Ultra RHSX08P50D (aka: DAIKIN Altherma 3 R ECH2O )
Your RX and TX are reversed. You should have this:
Thanks, will try tomorrow. But then your drawing in the readme is incorrect.
Damn, yes, my drawing is wrong, I forgot to update it!
Your Orange wire should go to G36 and your Green one to G26.
Note: you have an M5Stickc Plus, never had one before but you might have to put the G25 as floating as it shares G36: gpio_pulldown_dis(GPIO_NUM_25); gpio_pullup_dis(GPIO_NUM_25);
Where would I need to put those lines?
In main.cpp line 147
...
digitalWrite(PIN_THERM, HIGH);
gpio_pulldown_dis(GPIO_NUM_25);
gpio_pullup_dis(GPIO_NUM_25);
EEPROM.begin(10);
...
Ok, I updated the schema. Thanks for noticing!
Working now?
yes, just tried it and it works! Thanks. I did not need to change the lines in main.cpp .
I noticed on my StickC Plus that your screen output only covers 1/4 of the screen the rest is filled with noise intensities, probably the screen on the older stickc is much smaller.
Great I'm glad it works! Maybe I'll make another environnement for the M5stickc plus, but I don't have any at hand to test at the moment.
You can try, it should be as easy as changing the library from m5stickc.h to #include <M5StickCPlus.h>
and changing also the lib-dep in platformio.ini.
This should be enough to have a proper screen display!
Now, this is not really a critical feature for ESPAltherma 😉
Thanks, it is not critical indeed. I won't open the heatpump again until Tuesday or Wednesday (to attach a permanent USB cable so I have faster access in the future). Will let you know then.
Also do you know where I would attach the cables for switching on and off (via the relay?). On the Daikini board or on the Rotex board? Maybe @KalaNagHTD would know as I have the same model. Thanks.
Can't wait to see your final setup.
Regarding controlling your heatpump, I checked what could be the technical drawings for it and if I'm not mistaken, I would say go in parallel of J16
But better to let @KalaNagHTD confirm indeed!
Edited: the previous one was probably for backup heating..
Yes, you should connect to the RT („room thermostat“) connector J16, pin 1 and 2!
Hi, and thanks for all this amazing work!
I am trying to get my m5 stickC connected to my heatpump. Double checked cabling and all seems fine, also I used your newest code with
include "def/German/ALTHERMA(LT_CA_CB_04-08KW).h"
(and uncommented a few items there). pio worked also, but the screen on the stickC looks scrambled and is switched on (is this the way it is supposed to look, also would pull much more power from the heatpump board with the screen on).
The StickC is getting into Wifi and connects to the MQTT Broker (as I can see in the Home Assistant Mosquitto log). However, this is all I get from the sensor.althermasensors (by the way, the name "sensor.althermasensors" is different from what is in your readme):
M5VIN: 4.949V M5AmpIn: 107.500mA M5BatV: 4.165V M5BatCur: 0.000mA M5BatPwr: 0.000mW friendly_name: AlthermaSensors
How can I debug this? Thanks