GithubHelp home page GithubHelp logo

Comments (4)

TimSoethout avatar TimSoethout commented on August 10, 2024 1

Great! I will close this issue for now, since I don't know if we can fix this on our side. :)

from goodwe-sems-home-assistant.

bitcrumb avatar bitcrumb commented on August 10, 2024

Ah, I just read the other issue (#27) where you gave instructions on how to debug by adding extra logs.

It seems the API keeps returning None as the name for the inverter in the invert_full playload:

"invert_full":{
   "sn":"13000DSN164W0184",
   "powerstation_id":"da550800-01de-4062-9337-03f193b5b24e",
   "name":"None", <------------------------------------------------------------ 👀
   "model_type":"GW3000D-NS"
   ...
}

Not sure if this could be an issue with other users as well?
Especially considering you've added support for multiple inverters, it might be better to change this the sensor name to something that is guaranteed to be unique (e.g. sn).

Bedankt voor deze integratie trouwens! ❤️

from goodwe-sems-home-assistant.

TimSoethout avatar TimSoethout commented on August 10, 2024

Thanks for reporting.
It should indeed show the field you're referencing for the name. Home assistant should pick a unique name if there is a clash, just as Light 2 for example. However I did not test this, since I only have a single inverter. (Although mocks and unit tests would allow us to test this of course...)
The unique id, is the serial number, which is what HA uses internally for uniqueness.

As a work around you can always change the device id and name in the HA gui yourself. :) Since it is internally using SN, it should update just fine. :)

from goodwe-sems-home-assistant.

bitcrumb avatar bitcrumb commented on August 10, 2024

That's a good suggestion indeed, I'll change it via HA.

Guess I am not surprised about the API behaving like this... the Goodwe SEMS API & portal seem to be of really poor quality unfortunately :(

Thanks again :)

from goodwe-sems-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.