It seems i didnt had to open up my Fairland IPHCR33. There is a modbus connection on the outside! It is connected to the modbus connection on the motherboard.
See connector right next to the yellow warning label.
It is a 4 pin connector. does somebody know what the type of connector is?
Looks like a four pin M9 connector?
The RS485 connector #2 is used by the WiFi module, the connector #1 is free - so I decided to give the esphome solution from @rstcologne a try. Great work and thanks for sharing!
I use an ESP8266 (NodeMCU Amica v2) and a RS485-2-TTL converter.
After compiling the esphome firmware, esphome came up and the TX LED on the RS485-2-TTL board starts blinking - but the log window is flooded by messages that indicate problems with the MODBUS:
(...)
22:14:37 [D] [sensor:093]
'PWP Compressor Power': Sending state nan W with 1 decimals of accuracy
22:14:37 [D] [modbus_controller:037]
Modbus command to device=1 register=0x00 countdown=0 no response received - removed from send queue
22:14:38 [D] [sensor:093]
'PWP Compressor Power': Sending state nan W with 1 decimals of accuracy
22:14:38 [W] [modbus_controller:178]
Duplicate modbus command found: type=0x1 address=0 count=1
22:14:38 [W] [modbus_controller:178]
Duplicate modbus command found: type=0x2 address=48 count=15
22:14:38 [W] [modbus_controller:178]
Duplicate modbus command found: type=0x2 address=64 count=32
22:14:38 [W] [modbus_controller:178]
Duplicate modbus command found: type=0x4 address=0 count=1
22:14:38 [W] [modbus_controller:178]
Duplicate modbus command found: type=0x4 address=2 count=3
22:14:38 [W] [modbus_controller:178]
Duplicate modbus command found: type=0x4 address=10 count=2
(...)
I tried several things, but none of them solves the problem.
tried to throttle the MODBUS controller with command_throttle: 2ms
tried to disable the serial logger
tried to swap UART0
tried another ESP and another RS485-2-TTL converter
Also if I disconnect the RS485-2-TTL converter, there is no change in the warning messages. Same content, same frequency.
I even tried to connect the ESP and the RS485-2-TTL converter to the heatpump - just to check if these are just warning messages that could be ignored - but none of the sensors changed, so I assume the ESP/RS485 is just not working properly.
please update your code on github (t-can…yaml) at line 47
this is new since ESPhome update 2024.06.04 (otherwise…it won’t work any longer)
best regards Thomas
[modbus_controller:037]
Modbus command to device=1 register=0x00 countdown=0 no response received - removed from send queue
Edit. Just added the main switch and it is working. Still need to test other options.
Edit 2. I can write (switch on/off, change heating, cooling) but I cannot read any sensor for example:
Quite likely - Ours had similar (4 pin circular with +12, Gnd, A, B). Sadly the cable I purchased off ebay was slightly too fat to fit compared to the original, so I chopped the (supplied) tuya wifi module one off and re-used that for my own ESPhome board
Hi Wojtas, how did you finally get it to work. I have the same issue. Using an ESP8266, I can turn on and off the heatpump but cannot receive any sensor data.
Thanks,
Bernd
I also have a Fairland HeatPump (IPHR55)
After inspection, I have the blue connector for the RS485 but my initial tests were unsuccesfull in getting data to my Waveshare adapter.
Does somebody know if the DIP switches need to be set to a specifc value ? mine is now as follow ( 1 ON - 2 OFF - 3 ON - 4 OFF)
Also, how are you guys making a connection to this connector ?
If I remember correctly (I’m not close to the device right now), I removed the side panels which exposes screws to hold down the top. Top is held in place with screws in the back as well. Then I removed the top which exposes a box which contains the control board. This can be opened by unscrewing the obvious screws holding the cover in place.
At least with my device, it was reasonably obvious how to disassemble the thing.