@jswim788 Biggest change between 2.3 and 2.5 release is build system. Earlier used Tycho, later uses Bnd Tools. Code and API didn’t change much, however how runtime and compile dependencies are handled is different. Rich answer is a good pointer.
Where do I select the 2.5.x branch? When I got to this point in the Eclipse install, the ‘Stream’ only had a ‘master’ choice. Did something go wrong, or is there another place to select 2.5.x?
Did you get any closer to fixing that binding? I would love to help. I’m not sure how much i can help with coding / eclipse because i have a C# and VSTS background, but willing to help test, log and improve the functionality. I did some bug reports / feature requests to captndelta, but it seems he lost interest or lacks time to support/develope the binding.
As i try to avoid cloud stuff, i really like this binding is local only.
No, I didn’t get any further. I have realized that I don’t need this binding. The binding doesn’t do any control; it only collects data. For now I’m using the http binding to get the basic stats. This won’t get the individual inverters, but I’m not that interested in the lower level details. I have a script below that can be used for them if desired. My Items are:
Number EnvoyPower "Solar Power [%.2f W]" { http="<[envoy:600000:JSONPATH($.wattsNow)]" }
Number EnvoyEnergyToday "Solar Energy Today [%.2f Wh]" { http="<[envoy:600000:JSONPATH($.wattHoursToday)]" }
Number EnvoyEnergy7Days "Solar Energy 7 Days [%.2f Wh]" { http="<[envoy:600000:JSONPATH($.wattHoursSevenDays)]" }
Number EnvoyEnergyLifetime "Solar Energy Lifetime [%.2f Wh]" { http="<[envoy:600000:JSONPATH($.wattHoursLifetime)]" }
And my services/http.cfg has:
# Enphase Envoy
http:envoy.url=http://192.168.86.210/api/v1/production
# refresh every 10 minutes
http:envoy.updateInterval=600000
That works fine for me.
I did experiment a bit with getting the inverter data too. I have a couple of curl lines in a shell script that will post the data to an Item which you can then parse inside openHAB. If I were going to revisit this, I think I’d convert to python - and then bring it inside with jython and the new rules engine.
I’m slowly beginning to realize that bindings aren’t the answer to everything in openHAB. There are plenty of tools to connect and get data as needed.