gianfrdp / SDM120C

sdm120c ModBus Mini Smart Meter
GNU General Public License v2.0
73 stars 37 forks source link

Add aurora port lock logic to SDM120C to share the same 485 adapter with aurora inverter #2

Closed The-Drake closed 9 years ago

The-Drake commented 9 years ago

With this "multi-merge" patch from aurora sources I'm now able to share the same port with aurora. sdm120c gently wait for the 485 port like aurora does. -w parameter is the same as aurora one.

I'm testing it now on my setup and it's quite stable.

Hope it helps. :)

The-Drake commented 9 years ago

Update: It seems that Aurora 1.8.8 needs a patch too, some more fix needed in previous pull request too: please wait.

Actually working in testing environment like a charm. :)

The-Drake commented 9 years ago

Last commit fixes locking logic. Working very well on my RPI.

gianfrdp commented 9 years ago

Thank you for your patch. I will try to merge with my last commits

gianfrdp commented 9 years ago

Merged patch