Coder Social home page Coder Social logo

entities disappear about hass-victron HOT 17 CLOSED

sfstar avatar sfstar commented on May 28, 2024
entities disappear

from hass-victron.

Comments (17)

Raini20 avatar Raini20 commented on May 28, 2024 3

Hello I just made a little workaround for the same problem:

automation reload_victron:
    alias: reload victron
    description: 'reload integration if entity unknown/unavailable'
    trigger:
      - platform: state
        entity_id: sensor.victron_solarcharger_yield_power_100
        to:
          - "unknown"
          - "unavailable"
    action:
        service: homeassistant.reload_config_entry
        data: {}
        target:
            entity_id: sensor.victron_solarcharger_yield_power_100
    mode: single

I wrote this in my configuration.yaml and if the trigger entity becomes unavailable/unknown it reloads the integration. For me it automates the reloading and I don't have any data holes anymore

Edit: Had some formatting issues

from hass-victron.

dansonamission avatar dansonamission commented on May 28, 2024 1

I have the same issue, each time we restart or reload HA we loose access to one of our solar charge controllers.

We have two solar charge controllers on VE.CAN. Its always the first controller we loose access to, which is shown as model 0. The other controller is shown as model 1. Both controllers are the same version, MPPT 250/85 ve.can. Cerbo gx on v2.92 and multi II on v494.

It looks like OlePZ9 is also loosing access to 0 as well.

from hass-victron.

sfstar avatar sfstar commented on May 28, 2024

Are there any error messages present in the logs regarding the startup of the integration?

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

image

Since adding the integration, this all is not working anymore...

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

image

from hass-victron.

sfstar avatar sfstar commented on May 28, 2024

What are the errors you see when you click the logs link that you can see in your screenshot?
Are there any errors on that page that were generated by this integration?

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

Honestly speaking, I have no idea what the reason is. The same setup with my manual Modbus integration in another virtual machine clone works fine

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

image

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

image

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

image

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

Braamvr may had explained the reason in his issue about missing data from his grid meter

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

image

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

As you can see in the second picture, the integration also uses 0, in my Modbus setup I am using 100

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

https://www.victronenergy.com/live/ccgx:modbustcp_faq

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

image

from hass-victron.

sfstar avatar sfstar commented on May 28, 2024

Thank you,
This information is really helpfull in understanding what is going on at your ends.
I currently do not have a ve.can devices (planned for the near future) so in order to reproduce your issues I would need to check if I can reproduce it in demo mode.
Since this has a large impact on the functioning of my system I will need some time in order to find a suitable window for down-time.

from hass-victron.

OlePZ9 avatar OlePZ9 commented on May 28, 2024

Thank you for spending time on that! I really appreciate your work and altogether everything looks very promising! If you haben an idea where to change something, I could check, as my productive system runs idependently from the testing environment. Actually it would be too hard to change all names of my Victron entities and dashboards to get it working on my system. My yaml is about 2000 lines....

from hass-victron.

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.