Skip to content
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

modbus register wrong? #20

Closed
backuprestore opened this issue Oct 29, 2024 · 19 comments
Closed

modbus register wrong? #20

backuprestore opened this issue Oct 29, 2024 · 19 comments

Comments

@backuprestore
Copy link

backuprestore commented Oct 29, 2024

Hi please check

ModbusItem(34102,"Betriebsstunden 2. WEZ",FORMATS.TIME_H,TYPES.SENSOR,DEVICES.W2),
ModbusItem(34103,"Schaltspiele 2. WEZ",FORMATS.NUMBER,TYPES.SENSOR,DEVICES.W2),

to my research this should be

ModbusItem(34102,"Schaltspiele 2. WEZ E1",FORMATS.NUMBER,TYPES.SENSOR,DEVICES.W2),
ModbusItem(34103,"Schaltspiele 2. WEZ E2",FORMATS.NUMBER,TYPES.SENSOR,DEVICES.W2),

grafik
vs.
grafik

also there are some more registers, like
33 106 input Verdampfungstemperatur
33 107 input Verdichtersauggastemp.

Parameter Elektrische Leistung Soll in W (0 … 30.000 W) 40002 Holding R/W
WBB_WP_ModbusTCP.xlsx

thank you for your work

@OStrama
Copy link
Owner

OStrama commented Oct 29, 2024

Thanks for the info! We‘ll change it in next release.
Much thanks also for the register info!

@thetschulian
Copy link

About elektrische Leistung:

I have no value in my dashboard for this

image

@OStrama
Copy link
Owner

OStrama commented Oct 30, 2024

Ahh yes, that‘s my Shelly Powermeter which measures the real heatpump consumption.

@thetschulian
Copy link

thetschulian commented Oct 30, 2024

AH I see, okay, so with the

Parameter Elektrische Leistung Soll in W (0 … 30.000 W) 40002 Holding R/W

EDIT: ups, its Elektrische Leistung Soll and net the current Elektrische Leistung (IST)

@OStrama
Copy link
Owner

OStrama commented Oct 30, 2024

Exactly. As far as I understand it right, address 40002 allows setpoint specification for usage with PV-optimizaton. Means: The value can be adapted to optimize usage of PV energy. (High value when sun is shining, low val if not,..)

Up to now, I did not find a real electrical power signal from the HP. I guess they only estimate it from nominal values of the certain components. I wanted to know it exactly, so I installed a Shelly. If I compare it with the statistic values, it looks like this:

{A83C2C34-03C9-4B5E-AFC2-17557AF332A2}

So I ask myself if it would make sense to add 0.5 to all statistical values to reduce the error of only taking the integer part..

@OStrama
Copy link
Owner

OStrama commented Oct 30, 2024

Have changed the register configuration and added the other values. The unknown ones as "?" without any translation. If we know more, they will be updated

@OStrama OStrama closed this as completed Oct 30, 2024
@MadOne
Copy link
Collaborator

MadOne commented Nov 18, 2024

I think this is still wrong. Reopening it.
Additional info in #35

@MadOne MadOne reopened this Nov 18, 2024
@OStrama
Copy link
Owner

OStrama commented Nov 18, 2024

At my WBB12 I only see useful values at Schaltspiele and active. Operating hours are always zero.
What do we have to change?

@backuprestore
Copy link
Author

backuprestore commented Nov 18, 2024 via email

@backuprestore
Copy link
Author

backuprestore commented Nov 18, 2024 via email

@MadOne
Copy link
Collaborator

MadOne commented Nov 18, 2024

Bildschirmfoto vom 2024-11-18 20-08-48

WEM:
Bildschirmfoto vom 2024-11-18 20-09-22

@dhoeld
Copy link

dhoeld commented Nov 18, 2024

@MadOne which firmware version is installed on your WBB?

@backuprestore
Copy link
Author

@MadOne: did you checked this with a different modbus tool like ModbusTool of OpenModScan? Maybe Weishaupt is doing wrong: this is how it look at my side... but i can't check, because i didn't reach 1h in real live so 0 is ok for my device
grafik

@MadOne
Copy link
Collaborator

MadOne commented Nov 18, 2024

Bildschirmfoto vom 2024-11-18 21-19-36

Bildschirmfoto vom 2024-11-18 21-37-15

At least the value weishaupt has in wemportal is not on modbus.

@OStrama
Copy link
Owner

OStrama commented Nov 18, 2024

In Wem portal it‘s more than 10 hours..

@backuprestore
Copy link
Author

i thing they don't but data in the register ... because documentation was also wrong with the description of reg 34102
grafik

meanwhile i'm reverse engineering the RS485 RTU bus...
https://github.com/backuprestore/weishaupt_modbus_rtu

problem: it's "single-master", so i can only listen... otherwise i get errors on the bus (and also some permanent and not erasable warning in WEM Portal - fun with warrenty). but i can get some nice infos like "rpm of the inverter" or "Druckgastemperatur" etc... so lot of hardware related information that is missing on modbus TCP side.

i'm not done yet because there are 2 different buses but i need to diassamble the front panel to get access on the "main-computer" for the second bus. will take some time.

best regards
Maik

@MadOne
Copy link
Collaborator

MadOne commented Nov 19, 2024

Impressive work, but for me personally it is not worth the effort.

@OStrama
Copy link
Owner

OStrama commented Nov 20, 2024

This is ho it is implemented today:

ModbusItem( address=34101, name="Status 2. WEZ", mformat=FORMATS.STATUS, mtype=TYPES.SENSOR, device=DEVICES.W2, resultlist=W2_STATUS, translation_key="status_2_wez"),
ModbusItem( address=34102, name="Schaltspiele E-Heizung 1", mformat=FORMATS.NUMBER, mtype=TYPES.SENSOR, device=DEVICES.W2, translation_key="schaltsp_e1"),
ModbusItem( address=34103, name="Betriebsstunden E1", mformat=FORMATS.TIME_H, mtype=TYPES.SENSOR, device=DEVICES.W2, translation_key="betriebss_e1"),
ModbusItem( address=34104, name="Status E-Heizung 1", mformat=FORMATS.STATUS, mtype=TYPES.SENSOR, device=DEVICES.W2, resultlist=W2_STATUS, translation_key="status_e1"),
ModbusItem( address=34105, name="Status E-Heizung 2", mformat=FORMATS.STATUS, mtype=TYPES.SENSOR, device=DEVICES.W2, resultlist=W2_STATUS, translation_key="status_e2"),
ModbusItem( address=34106, name="Schaltspiele E-Heizung 2", mformat=FORMATS.NUMBER, mtype=TYPES.SENSOR, device=DEVICES.W2, translation_key="schaltsp_e2"),
ModbusItem( address=34107, name="Betriebsstunden E2", mformat=FORMATS.TIME_H, mtype=TYPES.SENSOR, device=DEVICES.W2, translation_key="betriebss_e2"),
ModbusItem( address=44101, name="W2_Konfiguration", mformat=FORMATS.STATUS, mtype=TYPES.SENSOR, device=DEVICES.W2, resultlist=W2_KONFIG, translation_key="w2_konf"),
ModbusItem( address=44102, name="Konfiguration EP1", mformat=FORMATS.STATUS, mtype=TYPES.SENSOR, device=DEVICES.W2, resultlist=EP1_KONFIG, translation_key="adr44102"),
ModbusItem( address=44103, name="Konfiguration EP2", mformat=FORMATS.STATUS, mtype=TYPES.SENSOR, device=DEVICES.W2, resultlist=EP2_KONFIG, translation_key="adr44103"),
ModbusItem( address=44104, name="Grenztemperatur", mformat=FORMATS.TEMPERATUR, mtype=TYPES.NUMBER, device=DEVICES.W2, resultlist=TEMPRANGE_BIVALENZ, translation_key="grenztemp"),
ModbusItem( address=44105, name="Bivalenztemperatur", mformat=FORMATS.TEMPERATUR, mtype=TYPES.NUMBER, device=DEVICES.W2, resultlist=TEMPRANGE_BIVALENZ, translation_key="bivalenztemp"),
ModbusItem( address=44106, name="Bivalenztemperatur WW", mformat=FORMATS.TEMPERATUR, mtype=TYPES.NUMBER, device=DEVICES.W2, resultlist=TEMPRANGE_BIVALENZ, translation_key="bivalenztemp_ww"),

On my WBB12 I can see "Status E-Heizung 1|2" and "Schaltspiele E-Heizung 1|2" as well as "Grenztemperatur" and "Bivalenz WW". All others are not available or always 0.

Can you canfirm this on your installations? Or please let me know what to change. Otherwise I'll close this topic and add a nwe topic to get these values by other methods..

@MadOne
Copy link
Collaborator

MadOne commented Nov 24, 2024

For now i think we did everything right and the problem is on the weishaupt modbus side. Closing now.

@MadOne MadOne closed this as completed Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants