Skip to content

create unique prefix per hub#36

Open
larsxschneider wants to merge 1 commit into
redpomodoro:mainfrom
larsxschneider:ls/prefix
Open

create unique prefix per hub#36
larsxschneider wants to merge 1 commit into
redpomodoro:mainfrom
larsxschneider:ls/prefix

Conversation

@larsxschneider

Copy link
Copy Markdown

If you add multiple inverter then HA complains about already used entity keys.

Let's fix this by making the entity keys unique per hub.

Should fix #35


Note: I do not have experience with HA integrations. I just changed it on my system to make it work. Please let me know if you are aware of a better/more "standard" way to do this.

@DAVIZINH0

DAVIZINH0 commented Oct 22, 2025

Copy link
Copy Markdown

thanks a lot for this PR. i apply it manually! and works great!!
i have my 2 fronius working well!!!!

some entity not works in the second inverter, (like temperature), but the important works perfect!
edit: i saw in other post that the temperature sensor problem is because fronius change something in firmware. so this modification its perfect!

@scruysberghs

Copy link
Copy Markdown

What is needed to get this PR merged?

scruysberghs pushed a commit to smartenergycontrol-be/fronius_modbus that referenced this pull request Apr 1, 2026
Scope entity and device identifiers per hub so multiple Fronius Modbus entries can coexist, and align meter polling and discharge control behavior with the configured hardware. Document multi-inverter support and credit the original idea from PR redpomodoro#36.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding a second Gen24 inverter does not create devices and entities

3 participants