Coder Social home page Coder Social logo

Comments (8)

ViktorReinhold avatar ViktorReinhold commented on June 12, 2024

Hi @elektrinis,
are you aware of the WiNet-S UI?
It is available under the IP of you WiNet-S-Dongle. If you login with Username 'admin' and Password 'pw8888' you can access a tab called 'General Parameters' under the menu 'Device Monitoring'. There is a form where you can issue some commands to read and write registers you want. I have not tried to write anything here. The same form is available for the inverter and for the battery.

grafik

I'm not familar with the hex schema, but in this example you can see, that I can read out the device type code of my SH10RT-V112 inverter. When you ignore the two pairs of zeros at the beginning, the rest of "0E 0F" matches the code which is checked in the modbus_sungrow.yaml configuration file.

{% elif ((states('sensor.sungrow_device_type_code') | int(default=0)) == 0x0E0F) %}
SH10RT-V112

If you want to have a decimal number, you also need to convert the last four digits from Hex to Dec.

I'm also not sure what the exact meaning of 'Register Number' and 'Address Type' is. But with this settings I could get something meaningful.
And you are not alone with a Sungrow SBR battery ;-) I also have one, as you can see.

from sungrow-shx-inverter-modbus-home-assistant.

Louisbertelsmann avatar Louisbertelsmann commented on June 12, 2024

I also have a Sungrow SBR battery, but it doesn't show up in the web interface. Did you change anything?

from sungrow-shx-inverter-modbus-home-assistant.

ViktorReinhold avatar ViktorReinhold commented on June 12, 2024

Hi @Louis712, no, I did nothing for that.

from sungrow-shx-inverter-modbus-home-assistant.

lassej01 avatar lassej01 commented on June 12, 2024

I read in a forum that it depends on the version of the SBR battery if they show up as own entities or not. There is a standard model and two version of a premium model. The 2nd version of the premium model shows up if i understood it right, and the first version of the premium may show up after the latest battery upgrade. I am probably on the latest described version. But have not seen any working updates for me yet. Some zip file though, but i cannot install that one.

from sungrow-shx-inverter-modbus-home-assistant.

Louisbertelsmann avatar Louisbertelsmann commented on June 12, 2024

@lassej01 I know, that there are two versions and I have the older one (orange label on the packaging). How did you do your update? My battery doesn't show up in iSolarCloud or anything. I wanted to do it locally, downloaded SBR128 firmware, but the app said, that there wasn't any file found. Do you have any information on that?

from sungrow-shx-inverter-modbus-home-assistant.

mkaiser avatar mkaiser commented on June 12, 2024

I also understand I can make a script with modbus.write_register service call myself, but perhaps this could be a good idea to include a simple GUI in the dashboard?

I don't think this is a good idea, because people will fuck up when they have a chance to randomly access registers :)
If you want to test registers, I can also recommend QModBus Master for this (Windows Software).

from sungrow-shx-inverter-modbus-home-assistant.

elektrinis avatar elektrinis commented on June 12, 2024

I have automated this a little with service that's already provided, and it's good enough. I think you are right, people can mess up things and current way is good enough for advanced user.
Thanks and I'm closing this for now.

from sungrow-shx-inverter-modbus-home-assistant.

elektrinis avatar elektrinis commented on June 12, 2024

Sorry, I just noticed there is service to write, but not to read data.
Not sure if those registers are a part of this project though.
Can we implement a service modbus read register?

from sungrow-shx-inverter-modbus-home-assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.