HentschelT / openhab2-addons

The next-generation open Home Automation Bus (openHAB)
Eclipse Public License 1.0
9 stars 3 forks source link

Binding finds Envoy, adds thing but says communication error #30

Open sheppy99 opened 4 years ago

sheppy99 commented 4 years ago

Installed Binding on OH2.5 / Zulu 8 / Buster System, added thing via Inbox and it continuously says Offline - Communication Error. The log says

2020-01-30 14:51:15.993 [WARN ] [okhttp3.OkHttpClient                ] - A connection to http://EnvoyipAddress/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
2020-01-30 14:51:16.018 [WARN ] [y.internal.EnphaseEnvoyBridgeHandler] - envoy scanner update failed: unsupported auth scheme: [���A]

Should this binding work? I have a basic Older Style Envoy

sheppy99 commented 4 years ago

Further information, it appears that my Envoy has a problem with the username envoy, but works with the username installer at least on the command line. This curl command works but only using the installer user.

curl --digest --user installer:xxxxxxxxxxx -X GET http://192.168.x.xxx/api/v1/production/inverters

Any chance this binding can be updated to allow the user to put in a different username?