-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nibe F1145 heat pump #81
Comments
Please look at the official modbus 40 documentation from nibe. |
forgot to mention the heat pump goes into alarm mode if I enable the MODBUS40 accessory in the 5.2 menu so I guess something is wrong with the connection? |
Not sure what esp you have, but you may need to set up the tx/rx selection pin |
my board definition in esphome is :
pin definitions:
What is the tx/rx selection pin supposed to do? I am correct that on the heat pump I have to enable the MODBUS40 accessory and not the MODBUS setting? |
Rs485 chips need to know if they are transmitting or receiving, this is controlled by a pin on the chips. So it depends on what rs485 treanceiver your board is using and how it is connnected to the esp32 |
Might be the RTSPIN in your case, but without looking at schematics or docs for the board its unknown. Also if its active high or low matters (but that you can test) |
This is the |
Ok thx, I'll try with
and inverted true and false. |
on the same esp hardware I have successfully connected to a Huawei solar modbys RTU using:
So the flow control pin is indeed 2 and what NibeGW calls the dir_pin |
No usually not. It should defsult to the right thing i think. |
I'm still missing something obvious I'm afraid. The heatpump goes into an alarm state the second the modbus option is enabled. I have tried with the dir_pin inverted true and false |
Do you get anything logged in the esp device when you turn on modbus in the pump? |
I have the F1145 as well and good working for two years. Seems they do not talk on the correct ports. I use 10090 |
Can you confirm your Home Assistant add-on settings? @bmwmotor can you confirm my wiring (the 10 and 11 port) is ok? I use an external power supply for the esp so I do not use the 5v from the heat pump to power the esp like you seem to do. I understand it correctly I have to get the pump connected to the esp device before I can connect the home assistant nibe integration to the esp device? |
I still worries me that the the home assistant add-on has the text "Verify that The MODBUS40 accessory has been enabled in the heat pump configuration." and my heat pump only allows me to enable a MODBUS setting in it's menu. |
@scruysberghs if you get errors toggling that setting. It is the right setting. Dont bother with home assistant settings until you can turn that setting (modbus) on without errors. It should work standalone. Turn up logging in the esphome device and look if it is receiving data and/or trying to send. Ps. Pump supplies 12 volt, not 5. |
In HA --> ESPHome go to LOGS at your heatpump. It opens a new window : click on wireless. When not look at your router if the IP adress is correct and fixed. When this is oke then go to the NIBE add-on in HA. I do not remember how I filled in that ports. Just try some settings. This part in ESPHome config file is sending the messages to your HA - Nibe addon. Configure NibeGWnibegw:
Be aware that the board stops communicating when it gets updates in HA-ESPHome. Then the F1145 gives an MODBUS error. Just cancel it on the heatpump and it will work. Thats normal. Good Luck |
only thing in my esphome logs is this [12:23:10][C][nibegw:120]: NibeGw when enabling the modbus option nothing is logged and the heat pump goes into alarm. |
Do you have Nibe menu 5.2.4? Scroll all the way down and activate MODBUS there |
my esp device has a SP3485EN chip so I've ordered a LillyGo board to ensure that isn't the problem |
I only have a modbus option at the bottom of menu 5.2 there is no 5.2.4 menu |
and when you leave it on (ignore the alarm), can you then get 5.3 ? Here is the compleet config file. You have to change IP adress and Wifi etc . |
@scruysberghs i wonder if you have some old variant of the f1145, since your photos of the boards dont seem to match the modbus40 images. |
the pictures in my first post were the wrong boards somewhere in the back of the heat pump. Quite sure the cable now is connected to the right board like in @bmwmotor 's picture. |
I found the ports in the ESPHome logfile. You need them in the HA (Nibe) add-on screens [13:43:36][C][nibegw:122]: Target: 192.168.2.16:10090 seems the same as you :) |
Could your pump have a really old firmware version? |
that could well be the case. We are trying to upgrade it now (it never had a firmware update since it was installed) |
Hey, how did the firmware update go? I have the same issue I cannot log any data and I have the original Modbus 40 accessory connected to F1145. Still getting errors I tried serial connection to HA with RS485 to USB now I am trying with ELFIN11RTU to TCP. Looking for a solution too |
Look on page 10 of this manual, it says that the module software must be 1161 or later. Can you update through an USB key? |
Did not do the upgrade myself but word of warning. The owner appartly used a wrong version of the firmware, got an error message after rebooting and after using the option to revert to the previous/original firmware the controlboard was bricked and had to be replaced... Mind you, this heat pump was 15 years old and still had the original firmware. |
Hi
I have a F1145 that I want to control using Home Assistant and esphome (or modbus). Had a look inside and there are 2 controller boards in there (one for home and one for swimming pool I think) but they don't look like any of the other wiring schema's I've seen with the number 11 and 12 being used. Am I not looking in the right place? Anyone here with more Nibe HP experience that can shed a light?
The text was updated successfully, but these errors were encountered: