raomin / ESPAltherma

Monitor your Daikin Altherma / ROTEX heat pump with ESP32
MIT License
341 stars 113 forks source link

WIFI connects only when Heat pump switched off #203

Open AjubaGit opened 1 year ago

AjubaGit commented 1 year ago

First of all - Yeah, it works - Thanks a lot for this great development.

Only a minor issue: Wifi connects only when the heat pump is switched off and I start the m5StickC with the internal accumulator. Then it connects quickly to my Wifi and I can start the heat pump. Basically Wifi works fine, even in cellar where Wifi is weak. Only problem, once it loses connection it does not reconnect as long as heat pump is on. m5StickC is power supplied from the heat pump. Of course I could place a repeater to increase Wifi strength but I do not know if this solves the basic probloem of not connecting to my Wifi while heat pump is on.

Any solution recommended?

And just a question about security: In the definition file I have to write the Wifi password and MQTT password in clear text. Any possibility to handle this safer?

Thank you for hints. Andi

raomin commented 1 year ago

Hi @AjubaGit, welcome.

Have a look at the wifi rssi value reported in the sensor values. Less than -70 (eg -80) is very weak. You can also increase the FREQUENCY here so you have less traffic, less opportunity to disconnect.

It's common that when the signal is weak, the heat pump operation creates noise and weakens the signal too much to establish proper connection. What you could do is increase the distance from the heat pump with longer cable (a cat5 network cable should be good for that), hence increasing the distance from the noise (and closer to the wifi AP at the same time if possible)

Regarding security the credentials in the setup.h, it stays where you put them, in a file on your drive... If this is a concern for you, just empty it when you're done flashing, and clear your compiled code.

AjubaGit commented 1 year ago

Hi Raomin

Thank you for the quick and professional support. I have set a repeater close to the heat pump and now it connects without issues. Wifi is now at -43.

Thank you not only for the great project but also for the detailed fool proof documentation which encouraged me to start.

Enjoy your beers. Andi

seb-koch commented 10 months ago

I have the same issue, except my M5StickC only connects when i disconnect it from the Heatpump. I assume the HP connection somewhat interferes with the sticks built in antenna. Thoughts?