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

[Request] Adding communication via modbus #553

Open
ArekKubacki opened this issue Feb 2, 2023 · 8 comments
Open

[Request] Adding communication via modbus #553

ArekKubacki opened this issue Feb 2, 2023 · 8 comments
Labels
enhancement New feature or request

Comments

@ArekKubacki
Copy link

Is your feature request related to a problem? Please describe.

No

Describe the solution you'd like

Is it possible to add Modbus TCP communication to the project?

Describe alternatives you've considered

No response

Additional context

No response

@ArekKubacki ArekKubacki added the enhancement New feature or request label Feb 2, 2023
@Adminius
Copy link

Adminius commented Feb 3, 2023

what would you see on modbus?
As a client(read) or server(send)?

@ArekKubacki
Copy link
Author

Hello,
In the old nomenclature it was a slave.
In the new one, it coincides with the server.
It would be nice if the addresses of the variables coincided with those of the original DTU, but it is not a must have.

@Adminius
Copy link

Do you have any description for original DTU registers?

@ArekKubacki
Copy link
Author

I added pull request with modbus implementation :)

@traeu
Copy link

traeu commented Apr 26, 2023

Just started to learn about Hoymiles HM-600 and this project. It would be really cool if OpenDTU could communicate over modbus TCP using sunspec protocol. the original DTU-pro seems to support sunspec, but only over RS485*, I really can't understand why. I wasn't able to find any microinverter that speaks sunspec over TCP. A solution using OpenDTU would be great.

*"There are two types of modbus protocol on the DTU-Pro, in which one is Hoymiles Modbus
protocol and another is Sunspec Modbus protocol. Hoymiles Modbus protocol is developed
by Hoymiles and implemented on two different types of interface, which is Modbus RTU on
RS485 port and Modbus TCP on Ethernet port. You can find the detailed information in
chapter 4 and chapter 5. Sunspec Modbus protocol is developed by Sunspec Alliance and
Hoymiles also adopted this protocol on the RS485 port."

https://www.shinetech-power.de/wp-content/uploads/2021/07/Technical-Note-Modbus-implementation-using-3Gen-DTU-Pro-V1.2.pdf

@AloisKlingler
Copy link

Hello,

I think I can attach me to the question: are there plans to simulate an modbus-tcp energymeter on the device which can be simply added to e.g. a fronius inverter as additional "inverter-energymeter" ?

Thanks!

image

@Sesshoumaru-sama
Copy link

Sounds interessting, would be nice if OpenDTU would implement SunSpec ... thats the last bit the HoymilesDTU does and if useful for integration in other vendors energy system (like Varta).

@osulivanDE
Copy link

Sunspec Modbus would be perfect to be able to integrate Victron ESS directly via Victron GX device without scripting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

6 participants