Closed pjgregory closed 5 months ago
It might help if you put the binding in debug logging and show the logged entries when the thing is initialised.
smaenergymeter is working in openhab 4.1.1 but is useless due to: 1/ broadcast frames disturbing the reading of power and energy values 2/ mixing the readings in case of serveral SMA meters in the network (homemanager 2.0 and energymeter 20)
2024-01-30 10:57:03.362 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 10:57:03.363 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:1b03d949af' 2024-01-30 10:57:14.697 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:cfdb5f9581' 2024-01-30 10:58:03.698 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:1b03d949af' 2024-01-30 10:58:03.700 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 10:58:15.166 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:cfdb5f9581' 2024-01-30 10:59:01.411 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Disposing SMAEnergyMeter handler 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 10:59:04.157 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:1b03d949af' 2024-01-30 10:59:15.335 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:cfdb5f9581' 2024-01-30 10:59:19.401 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Initializing SMAEnergyMeter handler 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 10:59:19.650 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Found a SMA Energy Meter with S/N '1901411959' 2024-01-30 10:59:19.650 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 10:59:19.651 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Polling job scheduled to run every 60 sec. for 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 10:59:45.893 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Disposing SMAEnergyMeter handler 'smaenergymeter:energymeter:cfdb5f9581' 2024-01-30 10:59:52.062 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Initializing SMAEnergyMeter handler 'smaenergymeter:energymeter:cfdb5f9581' 2024-01-30 10:59:52.138 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Found a SMA Energy Meter with S/N '1901412043' 2024-01-30 10:59:52.139 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:cfdb5f9581' 2024-01-30 10:59:52.140 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Polling job scheduled to run every 60 sec. for 'smaenergymeter:energymeter:cfdb5f9581' 2024-01-30 11:00:03.672 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Disposing SMAEnergyMeter handler 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 11:00:04.158 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:1b03d949af' 2024-01-30 11:00:13.045 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Initializing SMAEnergyMeter handler 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 11:00:13.142 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Found a SMA Energy Meter with S/N '1901412043' 2024-01-30 11:00:13.143 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Polling job scheduled to run every 60 sec. for 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 11:00:13.143 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:b33a5eb6' 2024-01-30 11:00:22.255 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Disposing SMAEnergyMeter handler 'smaenergymeter:energymeter:1b03d949af' 2024-01-30 11:00:26.272 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Initializing SMAEnergyMeter handler 'smaenergymeter:energymeter:1b03d949af' 2024-01-30 11:00:26.312 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Found a SMA Energy Meter with S/N '-1288020298' 2024-01-30 11:00:26.313 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Update SMAEnergyMeter data 'smaenergymeter:energymeter:1b03d949af' 2024-01-30 11:00:26.313 [DEBUG] [ternal.handler.SMAEnergyMeterHandler] - Polling job scheduled to run every 60 sec. for 'smaenergymeter:energymeter:1b03d949af'
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/130
smaenergymeter is working in openhab 4.1.1 but is useless due to: 1/ broadcast frames disturbing the reading of power and energy values 2/ mixing the readings in case of serveral SMA meters in the network (homemanager 2.0 and energymeter 20)
1 => https://github.com/openhab/openhab-addons/issues/3429 PR-pending 2 => https://github.com/openhab/openhab-addons/issues/11497 PR-pending
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/146
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/151
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
As both related PR’s are merged I close this. If there is still a problem with 4.2 snapshot this can be re-opened.
I have just upgraded from OH 3.3 to OH 4.0.3 running on a raspberry pie. I have both an SMA Energy Meter and an SMA Home Controller 2.0 on my house network. Both worked correctly under 3.3. Following the upgrade, both things were marked as GONE. I have reinstalled the binding, (version 4.0.3), deleted the existing two things and installed them again with the default parameters. The thing for the Home Controller starts INITIALISING, but then goes to GONE after some 30 seconds. The thing for the Energy Meter changes to ONLINE for about a minute and then goes to GONE.
Has the distributed binding been tested with 4.0.3 or is there a newer version?
PJG