Hello, after a bit of trial and error I was able to read the values from my E3DC home power station without any problems. It works perfectly.
Now I am trying to read values from the Lamda heat pump. I have tried everything possible, but unfortunately I always get the error message “A Modbus Exception Occurred - See Response Body [ILLEGAL DATA ADDRESS]”. Here are a few examples:
What could be the problem?
Does something else need to be set on the heat pump side?
Does anyone have a working example?
BR
Andreas
RonnyW
May 20, 2025, 6:39pm
463
Looks good so far.
Do you know if the numbers are address or Register? You can try the flow card option “Register, beginnend mit #1 ”.
… it seems the address.
but how can I find the Register?
RonnyW
May 20, 2025, 8:08pm
465
Register and address is the same, just with a offset of 1.
Address numbers are starting at 0, registers at 1. That means reqister 1 = address 0.
It depends, what kind of representation the manufacturer is using.
The flow card option only makes it easier to use the numbers from the manual and just select if it’s a register or address representation.
RonnyW
May 21, 2025, 5:36am
467
Your flow card settings are correct
holding register
address number
type is also right.
Is your dehice perhaps not the main device (master) and connected to another modbus device? In this case you have to check which Modbus ID the device is using. If you are using IP/port and default ID, you are perhaps requesting the master in your Modbus network.
Would it be possible to get When-flowcards for the connection (established and lost) and some tag for the current connection status?
My use-case would be to react on the restart of my inverter, which goes offline every evening for some minutes.
the Lamda heat pump and the heating controller are separate devices. That’s why I didn’t get any values for the buffer tank. All values for the heat pump are correct.
Thank you for your quick support
Hello all,
I need some help.
I have a sma solar system with a home manager2.0 and two inverters.
If the hourprice go’s below zero I want to reduce power to zero export.
With sma you can do this by writing value 0 in register 40016.
I already have put in a grid guard code to be able to write registers.
If I test the flow below in test mode, all works fine, no alarms.
But when I activate the flow, nothing happends, the inverters keep feeding the grid.
What am I doing wrong?
RonnyW
August 1, 2025, 2:09pm
471
Try the flow card option “Register, starting at #1 ”
Some manufacturers are using addresses, some registers
Tje difference is only, that one starts to count at 0 and tho other at 1.
Thanks for the fast replay,
I already tryed this, no result.
RonnyW
August 1, 2025, 2:27pm
473
If you connect with flow card, please disconnect, too. Or set ‘auto connect’ in device settings. Not that an open connection blocks another call.
Do you get an error from the flow card (error output at the bottom, should get red if you test your flow).
You got the register from manufacturers manual?
I made a new flow with disconnect also.
No errors while testing.
The register 40016 is the one witch sets the homemanager to zero, always taking selfconsumption in account.
I’m going to dig further into unlocking with the grid guard code, maybe I made a mistake there.
I let you know later
Hi Ronny,
I think i need more help.
All the settings in sma looks fine.
When I test in testmode no erros, if I test in livemode this error appeers.
I made the connection manualy, so I connect and disconnect everey time.
I don’t know if this means somethig? Device works fine but cannot be controlled
RonnyW
August 5, 2025, 6:35pm
477
Yes, that’s ok. The device itself has no controls, only flows.
RonnyW
August 5, 2025, 6:42pm
478
Based on the error I would say you set Unit-ID =1?
Try ID=2 in device settings - based on page 20 in the manual.
I changed id to 2 and no error in livemode.
The sun is almost down here, but maybe it looks working now.
Tomorrow I let you know.
Hi Ronny
A small update,
This morning it was not working,
I tried much different settings, no result.
Now I tried registertype INT32 and it looks to be working.
Leds see if it keeps doing this tomorrow on automatic.
Everything Worked fine today.
I only have to modify the flow because sma falls back to 100% every hour, but that’s not going to be a problem.
Thank you very much Ronny for this great app.
1 Like