Looking for a alternative for Modbus with SMA Converter

Hello,
my converter is not providing modbus data anymore (maybe broken - no guaranty anymore)
I tried a lot to make it working again but without success.
Now I found ha-pysmaplus but this is quite focused on HA.

Do we have a way to integrate HA Addons or what ever it is into OH?

Thanks

No.
But if your hardware is broken, you cannot access it anyway so you have to either replace it (which has become as cheap as 10 € for a Modbus/(W)LAN device) or look for an entirely different approach. Which you have given absolutely not enough information for to attempt.

The “funny”thing is, SMA Sunnyportal is still receiving the data.
So the converter is still working and probably sending data to the homepage of SMA but not longer via Modbus.

What information can I provide you to get help?

Did you restart the modbus interface from the inverter?

I did shut down the complete converter. Is there somewhere a restarter only for modbus?
Or do you mean in the sunny explorer turning on/off the module? That I did too. But it helped only the first time.

I had a look on the library and it seems to call inverter (?) using its HTTP interface to fetch data in JSON format. Whole logic is here: https://github.com/kellerza/pysma/blob/master/pysma/\__init_\_.py . This is also library used underneath by ha-pysmaplus, hence you can give it a try and see if you will be able to fetch readings in python and i.e push updates over OH HTTP interface.

There was an attempt to make OH-HA integration, a while ago, but from what I remember many folks simply setup mqtt in between.

I have a sma tripower inverter. There is a option to activate/deactivate the modbus connection.

Device config, communication setting.

There is option for Ethernet, wifi and modbus.

Try deactivate, save, activate, save.

Greets

1 Like

Thanks for your support.
In the meanwhile I found a different one which seems to be able to fetch speedwire data.

My inverter has a webconnect in settings but no webpage is displayed if I put that on true.

Yes, that is what I did. And as explained. The first time it worked and the other day not anymore.

Which firmware version does your inverter has?
Mine:

The inverter logs show some update entries …
Maybe SMA “killed” modbus module?

My firmware is different. 3.6.18.R

different inverter..

maybe ask in the photovoltaik forum..

My webconnect is deactivated..

My grafana graph is showing the problems quite good:

This looks weird..

Ethernet or wifi? Maybe here a bad connection?

Did you tried a different modbus programm.. Some different Linux or windows programm

For testing I tried modpoll for Linux

ethernet

I tried docker run --rm oitc/modbus-client:latest

same result

Hmm, then I can’t help you.

Try photovoltaik forum or sma service or your PV-installer :man_shrugging:t3:

Good luck

1 Like

For all who will stumble about this threat or the same issues. I managed it now with a python script.
Based on this HA approach: