Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

missing Victron Solarcharger after change Charger hardware #179

Closed
Heiko00000 opened this issue Mar 5, 2024 · 7 comments
Closed

missing Victron Solarcharger after change Charger hardware #179

Heiko00000 opened this issue Mar 5, 2024 · 7 comments
Labels
shipped This issue has been shipped. 🚢

Comments

@Heiko00000
Copy link

Heiko00000 commented Mar 5, 2024

Hello,

I build a HA System with RP5 and actuell software Januar 2024.
Yesterday, i musst change the MPPT 150/60 (faulty) against the same type.

In Victron VRM is the Charger find and work normaly.

The Rescan find no Solarcharger.
Delate the Victron Hub in HA and Scan, 5 Items find, no Solarcharger.

New Apdate for Victron Cerbo GX von 3.13 to 3.22, no improvement.
New Apdate HA to Home Assistant (2024.2.3) to 2024.2.5. no improvement.
New apdate hass-victron to V0.1.7, no improvement.

Solarcharger have the Number 216 /281

Thanks Heiko

@Heiko00000 Heiko00000 changed the title missing Solarcharger after change Charger hardware missing Victron Solarcharger after change Charger hardware Mar 5, 2024
@Heiko00000
Copy link
Author

Heiko00000 commented Mar 7, 2024

Hello,

I did a test, reconnected the defective solar charger to the Cerbo and after another scan HA found it. HA model number 224, Victron ID 278.
Reconnected the new solar charger, HA cannot find a charger.
Disabled the defective and disconnected solar charger in HA, no improvement.

Both solar chargers have the same hardware and software.
built 2022 week 40
built 2022 week 49

Screenshot 2024-03-07 091624

Does anyone have an idea where the error is?

Thank you, Heiko

@sfstar
Copy link
Owner

sfstar commented Mar 13, 2024

Hello and thank you for opening this issue,

It seems that the new device might use an non-documented unit id.
Thereby, causing this integration to not detect it upon scanning.

Valid unit id's this integrations checks are:

valid_unit_ids = [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 
                   11, 12, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 
                   31, 32, 33, 34, 40, 41, 42, 43, 44, 45, 46, 100, 223, 
                   224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 
                   235, 236, 237, 238, 239, 242, 243, 245, 246, 247
                   ]

Please check under:
Services -> Modbus TCP -> Available Services
to find what the unit id is of the new solarcharger.

@Heiko00000
Copy link
Author

Hello und thanks for your help.

The Solarcharge have the VRM Instance 281.
In Hass-Victron it should be 216.

Heiko

@sfstar
Copy link
Owner

sfstar commented Mar 13, 2024

Hello @Heiko00000,

Is either 281 or 216 the id that is visible on this screen:
image
related to the victron solarcharger?

@sfstar
Copy link
Owner

sfstar commented Mar 13, 2024

You can try installing the latest main version by:
Going to hacs
Selecting redownload for the integration.
There you select "main" as the version (since the unit id change hasn't been released yet).

After downloading, restart HA and perform a rescan of all available devices.
This should then yield the new solarcharger as an device.

@Heiko00000
Copy link
Author

Hello,
the solarcharger is found and works, thank you.

But I had to enter the number 216 directly in the "const.py" because the call "main" kept getting replaced by 0.1.7.

Greetings Heiko

@sfstar sfstar added shipped This issue has been shipped. 🚢 and removed shipping in next release labels Mar 29, 2024
@sfstar
Copy link
Owner

sfstar commented Mar 29, 2024

The release (v0.2.0) has been shipped.
Closing issue, feel free to re-open if the issue persists with the new release

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

No branches or pull requests

2 participants