Skip to content

entities disappear #21

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

Closed
OlePZ9 opened this issue Jan 3, 2023 · 18 comments
Closed

entities disappear #21

OlePZ9 opened this issue Jan 3, 2023 · 18 comments
Labels
shipped This issue has been shipped. 🚢

Comments

@OlePZ9
Copy link

OlePZ9 commented Jan 3, 2023

After having installed the integration successfully, the integration found 509 entities, both solarchargers included. After a while (reboot?) some of the entities disappeared.
image
image
image
image

What happened here?

@sfstar
Copy link
Owner

sfstar commented Jan 3, 2023

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

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

image

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

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

image

@sfstar
Copy link
Owner

sfstar commented Jan 3, 2023

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?

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

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

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

image

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

image

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

image

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

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

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

image

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

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

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 3, 2023

image

@dansonamission
Copy link

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.

@sfstar
Copy link
Owner

sfstar commented Jan 4, 2023

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.

@OlePZ9
Copy link
Author

OlePZ9 commented Jan 4, 2023

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....

@OlePZ9 OlePZ9 changed the title entities diappear entities disappear Jan 8, 2023
@Raini20
Copy link

Raini20 commented Jan 21, 2023

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

@sfstar
Copy link
Owner

sfstar commented May 19, 2024

The issue has been shipped in the latest release (v0.3.0) closing issue as resolved.
Feel free to re-open if the issue persists with the v0.3.0 release

@sfstar sfstar closed this as completed May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shipped This issue has been shipped. 🚢
Projects
None yet
Development

No branches or pull requests

4 participants