Coder Social home page Coder Social logo

Comments (29)

wills106 avatar wills106 commented on May 29, 2024 1

I will properly add your Inverter in as U30E sometime tomorrow.
As I am not sure how exactly the Integration is determining what Inverter you have.

We can then look to see how it's calculating the Voltage and Power and perhaps release another update afterwards.

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024 1

So with the modbus address at 1 you could still read the sensors ok?
But you couldn't write to them till you changed the address to 0.

I'll put a comment in the Readme that the default address might not be 1, as it could have been changed by the installer.

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024 1

Closing this issue down as I believe it's resolved.

If you have any further issues please raise a new issue.

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024

This Integration has only been tested on Pylontech batteries I believe on the Gen2. I am guessing the LG Battery responds different, so I will need a different scale for it.

from homeassistant-solax-modbus.

MJP-76 avatar MJP-76 commented on May 29, 2024

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

It's also the Battery Current values which are x10. Power Values are looking fine, see attachement.

Schermafbeelding 2022-05-23 om 21 21 24

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

Thanks, very much appreciated!!

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024

What is the battery charge / discharge max current? Is it 50A like on the 5kW version?

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024

I have just added in the serial numbers for 3kW & 3.7kW in 0.5.6

After updating to 0.5.6 I would recommend you remove the Integration from the Integration page and readd it, so it detects your Inverter correctly.
Can you let me know if the total entities changes from 55?

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

I'm not sure which version I'm running, I have deleted the integration and added it again. In the error log I see:

2022-05-24 16:43:44 ERROR (MainThread) [custom_components.solax_modbus] unrecognized inverter type - serial number : U30EDxxxxxxxxxx (My serial number mentioned fully)
2022-05-24 16:44:04 ERROR (MainThread) [custom_components.solax_modbus] must be either HYBRID or AC

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024

Did you install through HACS?

You are now on a version of 0.5.x prior to 0.5.6

The first time round when you installed it and went to configure the Integration was there multiple tick boxes to select from?

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

I did indeed install trough HACS. In the mean time I have seen an upgrade to 0.5.6 is available and I have installed it. Now I have 92 entities available and Current and Battery Voltage is correct now!
Schermafbeelding 2022-05-24 om 20 56 39

They look like:
Schermafbeelding 2022-05-24 om 21 02 13
Schermafbeelding 2022-05-24 om 21 02 39
Schermafbeelding 2022-05-24 om 21 02 56

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024

I think when you first installed it and only got 55 entities this was because you had installed 0.3.x or 0.4.x

When installing on 0.5.x the correct behaviour for an unknown Inverter is the error you experienced just.

2022-05-24 16:43:44 ERROR (MainThread) [custom_components.solax_modbus] unrecognized inverter type - serial number : U30EDxxxxxxxxxx

Your Inverter only got added into 0.5.6

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

Thanks for this work! What do I have to do the be able to change setting via this integration? I don't have the idea something changes if I press one of the buttons.

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024

Have you added in the various number and selects to a Dashboard card?

entities:
  - entity: select.solax_charger_use_mode
  - entity: select.solax_allow_grid_charge
  - entity: number.solax_battery_charge_max_current
  - entity: number.solax_battery_discharge_max_current
  - entity: number.solax_battery_minimum_capacity
  - entity: number.solax_battery_minimum_capacity_grid_tied
  - entity: number.solax_forcetime_period_1_max_capacity
  - entity: number.solax_forcetime_period_2_max_capacity
  - entity: select.solax_charger_start_time_1
  - entity: select.solax_charger_end_time_1
  - entity: select.solax_charger_start_time_2
  - entity: select.solax_charger_end_time_2
  - entity: button.solax_battery_awaken
  - entity: button.solax_unlock_inverter
  - entity: button.solax_unlock_inverter_advanced
show_header_toggle: false
title: SolaX Battery
type: entities

You normally only have to press the unlock_inverter once if you haven't previously connected to the cloud of following a power cycle on the Inverter.
If you enable the disabled by default sensor lock_state what does that return?

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024

Is this Integration now working how you expected it to?

If so I will close down this issue.

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

Hi, I have just managed to have all connected again and I'm still having trouble to control the system. on https://community.home-assistant.io/t/solax-inverter-by-modbus-no-pocket-wifi-now-a-custom-component I read something about modbus address, could that be something I have to adapt?

Update: it works now! I changed the modbus address to 0 (default is 1) and now I can control the system!

from homeassistant-solax-modbus.

infradom avatar infradom commented on May 29, 2024

@blb4github @wills106 : As far as I know, modbus address 0 is the broadcast address, so I have a bad feeling about using this address. Maybe your inverter is configured for another non-default address, or something else is wrong ..

from homeassistant-solax-modbus.

wills106 avatar wills106 commented on May 29, 2024

@matthewjporter Do you know if it's possible to change the modbus address on the Gen2? I can't see anything in the manual, so I am guessing possibly not? Does the WiFi Portal / phone app display the address at all?

As you connect the Gen2 and Gen3 via Ethernet over TCP I wouldn't really expect the need to change the address from the default to be honest?

from homeassistant-solax-modbus.

MJP-76 avatar MJP-76 commented on May 29, 2024

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

I can't find a reset option in the app (local connection) and also not on the inverter itself. on the inverter itself I see "Reset Mgr EE"

from homeassistant-solax-modbus.

MJP-76 avatar MJP-76 commented on May 29, 2024

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

Do you mean this button "Clear Config"?

IMG_1189

from homeassistant-solax-modbus.

MJP-76 avatar MJP-76 commented on May 29, 2024

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

I have tried it, the only thing it resets is the WIFI SSID

from homeassistant-solax-modbus.

MJP-76 avatar MJP-76 commented on May 29, 2024

from homeassistant-solax-modbus.

blb4github avatar blb4github commented on May 29, 2024

thanks anyway. It is working for me now, but it is strange then the inverter works on address 0.

from homeassistant-solax-modbus.

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.