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

[smaenergymeter] Binding should support more that 1 device #3429

Closed
michaeljoos72 opened this issue Mar 30, 2018 · 6 comments · Fixed by #11718
Closed

[smaenergymeter] Binding should support more that 1 device #3429

michaeljoos72 opened this issue Mar 30, 2018 · 6 comments · Fixed by #11718
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@michaeljoos72
Copy link

Right now only 1 Thing is auto discovered....even if there are more that one energy meters in the network.
The result is, that the channels (power in, power out, energy in, energy out) are switching between the different energy meter values (according refresh interval).

It's already possible to add all energy meters to the Things-File. But with the same result. All Things are jumping between the values.

It would be good if the binding can filter the data according serial numbers. Maybe an additional parameter "serialnumber" for each thing?

The binding itself is very helpful, but with more than one meter it's not really usable.

My system:
openHAB 2.3 latest snapshot
2x SMA Energy Meter
Raspi3

@wborn
Copy link
Member

wborn commented Apr 3, 2018

@monnimeter could you implement these changes?

@wborn wborn changed the title SMA Energy Meter Binding should support more that 1 device [SMA Energy Meter] Binding should support more that 1 device Dec 15, 2018
@wborn wborn changed the title [SMA Energy Meter] Binding should support more that 1 device [smaenergymeter] Binding should support more that 1 device Dec 20, 2018
@davidgraeff davidgraeff added the enhancement An enhancement or new feature for an existing add-on label Mar 18, 2019
@hmerk
Copy link
Contributor

hmerk commented Jul 25, 2021

closed due to inactivity

@hmerk hmerk closed this as completed Jul 25, 2021
@FeKn
Copy link

FeKn commented Nov 7, 2021

I've the same problem:
The simultaneous operation of e.g. a SMA Energy Meter and a SMA Sunny Home Manager 2.0 in the same network is not possible, because the binding does not seem to evaluate the serial numbers in the Multicasts and therefore permanently updates the (wrong) values for all Things.

Is there a way to fix this?

@michaeljoos72
Copy link
Author

michaeljoos72 commented Nov 7, 2021

No, not with this binding. Instead I'm using this:

https://github.com/datenschuft/SMA-EM

Does support serial numbers and different options to send the data. I'm using MQTT to send the data to openHAB.
(for MQTT you need to install: sudo pip3 install paho-mqtt)

@openhab-bot
Copy link
Collaborator

This issue has been mentioned on openHAB Community. There might be relevant details there:

https://community.openhab.org/t/sma-energy-meter-binding-yields-unplausible-values/128180/5

splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Dec 5, 2021
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Dec 5, 2021
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Dec 5, 2021
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Dec 6, 2021
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Dec 13, 2021
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Dec 13, 2021
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Dec 13, 2021
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Apr 23, 2022
…fferent than e-meter.

Fix handling of broadcast frames for SMA meter openhab#11497.

Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Nov 6, 2022
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Nov 6, 2022
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Nov 6, 2022
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Nov 6, 2022
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Nov 6, 2022
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Nov 6, 2022
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Nov 6, 2022
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Nov 27, 2022
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
@jlaur jlaur linked a pull request Dec 10, 2022 that will close this issue
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Jan 8, 2023
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Jan 8, 2023
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Jan 8, 2023
Added support for multiple meters in single multicast group openhab#3429.
Ignore frames which are using protocol identifier different than e-meter.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Sep 21, 2023
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Sep 21, 2023
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Sep 21, 2023
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Sep 21, 2023
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
@lsiepel lsiepel reopened this Sep 22, 2023
@lsiepel
Copy link
Contributor

lsiepel commented Sep 22, 2023

re-opened: Issue has an active PR attached.

splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Jan 2, 2024
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
splatch added a commit to ConnectorIO/openhab-addons that referenced this issue Jan 2, 2024
Added support for multiple meters in single multicast group openhab#3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
lolodomo pushed a commit that referenced this issue May 10, 2024
* Fix handling of broadcast frames for SMA meter #11497.

Added support for multiple meters in single multicast group #3429.

Signed-off-by: Łukasz Dywicki <luke@code-house.org>
Co-authored-by: Leo Siepel <leosiepel@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants