Skip to content
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

aggregated devices could not be handled #61

Open
tobima opened this issue Apr 16, 2022 · 0 comments
Open

aggregated devices could not be handled #61

tobima opened this issue Apr 16, 2022 · 0 comments

Comments

@tobima
Copy link

tobima commented Apr 16, 2022

The SunSpec definition for Common Models says:
Device aggregations. A map may contain multiple Common Blocks. Each Common
Block marks the start of a new device. This is useful when a map represents an
aggregation of devices.

Solaredge does use this feature. In one map they aggregate one inverter and up to 3 ac meters. The inverter and all meters have their seperated common model block. With the current implementation of pysunspec2 the relationship between the common model and the according ac meter model gets lost.
Current wrong behavior:
A scan with such a setup generates one device with 1 to 4 items for common in the model list and 0 to 3 ac_meter items and some more for the inverter.
Expected behavior:
scan should generate 1 to 4 devices; one for the inverter and up to 3 for the ac_meters

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

No branches or pull requests

1 participant