[myenergi] Binding for myenergi Ltd devices (Zappi, Eddi, Harvi)

Hi @scherer,

having some trouble:

the power data for harvi are fine and at the same time (and car is charging) the api data from the zappi are all zero and status is “waiting for export”.

So, connectivity and access are fine. What else could be wrong? Where to investigate?

Thanks in advance!

Rgds
André

Is there a means to force a Zappi to charge with a specific current/amount of power via API?
I know it’s supposed to determine excess power itself so probably is not prepared to be controlled by some external entity

It’s a while since it was stated that this binding allows for read-only channels only.
Is that still true ?
If the generatedPower or any of the clamp measuring channel values were settable, could these be used to trick a Zappi into believing that we have excess power on the order of X watts which it would then charge the car with ?

Hi ifank,

There is a new authentication using directory.myenergi
mer details are at https://github.com/twonk/MyEnergi-App-Api
I will try to implement this in the openhab myeergi binding in the near future. Once it’s available. I’ll let you know.

Volkmar

I created a pull request to the original author (Rene Scherer). It contains the fix

Apologies to everyone who commented on here and didn’t hear anything back. Unfortunately I didn’t have time over the last couple of months to look into it.

I’ve just merged a couple of changes from @Volkmar to enhance the login process. Over the next couple of weeks, I’d like to get the code in shape, so that I can submit a PR to the main openHAB repo, so that it gets included as an official binding.

I’ve started on this. The code in the API class is there, but I’ll need to test it further and wrap it with a proper ActionHandler.

2 Likes

Rene, thank you for your efforts. In summer, I am planning to buy a Zappi and integrate it into OpenHAB. Then, I will be able to test. Thanks!

1 Like

im getting the same error as well, is used the hub serial number and the myeddi registration number but the authentication still seems to fall over. Any ideas on why?

2022-03-11 13:47:51.812 [INFO ] [ab.event.ThingStatusInfoChangedEvent] - Thing 'myenergi:bridge:6086995056' changed from OFFLINE (CONFIGURATION_ERROR): Authentication Error (Invalid API key or account number) to UNKNOWN

FYI am happy to test this binding once I moved to OH3 :grinning:

Hi Rene,

Any update on this? Would like to test/use your binding :slight_smile:

Tx,
Nico.

Hi there,

any updates/news on that? Still working with a snapshot and after getting some updates on OH (version 3) I found the following in my log:

2022-09-26 10:55:36.392 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/openhab/addons/org.openhab.binding.myenergi-3.2.0-SNAPSHOT.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.myenergi [29]
Unresolved requirement: Import-Package: org.openhab.core.automation.annotation; resolution:=“optional”
Unresolved requirement: Import-Package: org.openhab.core.cache

Any ideas on that (or in general newer version which I just should use bevore further investigation)?

Thanks in advance.

Rgds
Andre

Hi Andre

I’ve finally had some time to publish the latest version for openHAB 3.3 in the Marketplace: [myenergi] MyEnergi Binding

There is a still a bit of documentation and code cleanup to be done before I can place a proper PR to include it in the official distro. In the meantime, I’ll keep the version on Marketplace up-to-date.

Cheers,
Rene

3 Likes