Hello everyone, hello Mosibi
First of all, sorry for the Google translation into English.
After several days of trying to establish a connection to my Midea Klone Kaisai heat pump, I am asking for your help. I’m a total novice when it comes to programming. The connection between the Pi3B+ and the boardBoard is successful. Likewise the integration to HA. But then the problems start. My first attempt with USB to RS485 converter from Mosibi failed after various attempts. Then I tried again with this one. Converter2
The TX LED shows me that the program is queried at 10-second intervals. The RX LED for receiving remains dark. I’ve tried all possible solutions. These were: All 16 addresses 0x0 to 0xF in the program changed, with some addresses the error ”Duplicate Modbus found” appears. Pin 16/17 changed to pin 1/3. 120 ohm resistor soldered in, here only error messages like "CRC Check failed”. Then the same mass / earth on the board as well as on the display of the pump. Tried 3 out of 5 boards. Flow control pin 5 removed from the program, boards have automatic flow control. Cable type changed. Now I’ve given up because I don’t have a new approach anymore. Maybe something else in the program that I don’t see? I added the personalized YAML. Does somebody has any idea?
Thanks in advance, Volker
substitutions:
devicename: heatpump
description: Heatpump Controller
entity_prefix: Heatpump
globals:
- id: unmasked_value_water_temperature_t1s
type: int
restore_value: no
initial_value: '0'
- id: unmasked_curve_selection
type: int
restore_value: no
initial_value: '0'
esphome:
name: "${devicename}"
comment: "${description}"
friendly_name: "${description}"
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
level: INFO
baud_rate: 0
# Enable Home Assistant API
api:
encryption:
key: "U6usp04Lr2zFM6KOn044EyMSp5+UxLPjHSqrTza3TJo="
web_server:
port: 80
ota:
password: "4838b17608a38073aa52fabd0888f579"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${devicename}"
password: "zHZ2Ur5uDMVz"
captive_portal:
uart:
id: mod_bus
tx_pin: 1
rx_pin: 3
baud_rate: 9600
stop_bits: 1
modbus:
id: heatpump_modbus
modbus_controller:
- id: "${devicename}"
## the Modbus device addr
address: 0xF
modbus_id: heatpump_modbus
setup_priority: -10
update_interval: 10s
sensor:
As a last chance, I would like to access Mosibi’s board