Closed MarkoPaasila closed 2 years ago
Now it looks like I have no communication between the unit and the esp32. I'll close this issue and open a separate one to discuss how to troubleshoot the unit.
Did you solve this issue? Having the exact same crash when changing fan modes.
At least I set the baud rate at 2400. I put a capacitor between 3v and gnd. Also tried another esp. I can’t remember what fixed it.
Thanks. Mine is clearly something else as I am using an ESP-01s which doesn't have a 3v input and have already set the baud at 2400. It only crashes when changing fan modes. Every other change is sent to the hp without issue.
Everything works until I change fan_mode through esphome. Then it abruptly disconnects from wifi. Here's the end of the log with very_verbose loglevel:
Checking from Melcloud, the fan_mode doesn't change. The same happens with all speeds. I am using a nodemcu-v2 / devkitC board without pullup resistors. Tried both with and without a level shifter in between. Tried default baud rate and 9600 - which seemed to work better. I observed the available fan_modes (in esphome log) by stepping through them all (controlling through Melcloud). All values can be read, and are updated when controlling with IR or Melcloud. Setting temperature and climate mode works with esphome. Here's my config: