-
-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tapo: Enable KLAP protocol + P100 devices #10606
Conversation
@AndySchoe , ist deine Tapo Dose schon zu mir unterwegs? Ich denke die Chance stehen gut, dass ich sie erfolgreich testen kann. :-) |
Die P100 von @AndySchoe ist bei mir angekommen :-) Vielen Dank!! Ich habe sie eingerichtet und auf den aktuellsten Firmwarestand gebracht. Beim Testen hat sich herausgestellt, dass die Probleme der Dose nicht durch das KLAP Protokoll ausgelöst worden ist, sondern durch das fehlende Meter Feature bei der P100 zum Fehler-Code
|
@andig Leider hab' ich jetzt keine Dose mit KLAP Protokoll zum Testen. |
Hier noch das charger Trace Log der P100 von @AndySchoe:
|
@andig ich habe versucht den go.mod Konflikt mit |
User/password sollten noch redacted werden ;) |
We can always redact in evcc. From a library I would expect the raw data, typically wire data. To be able to redact though, I need to supply an evcc logger, not a log.Logger. |
Hi @andig, wollen wir diesen PR nicht schon mergen? Funktional bietet er ja schon dass, was das Tapo Modul bisher konnte und unterstützt zusätzlich die P100 Dose. Ich kann mich in einem neuen PR um das "improvement" des Loggings kümmern. (Hab' mir das schon mal angeschaut, werde das aber nicht so schnell zum Fliegen bekommen ...) |
Die Firmware der P100 von @AndySchoe wurde heute aktualisiert. Ich konnte auch das KLAP Protokoll erfolgreich testen (siehe PR Beschreibung oben) :-)
|
Es wäre schön das Logging noch zu korrigieren. Die Logs hier sind für evcc nicht sichtbar. Lass uns das gleich richtig machen. Es wäre auch schön, die iv/plaintext/cipthertext etc Meldungen los zu werden. So wie es jetzt ist lieber kein Logging, wäre auch ok. |
Ok, hab das logging erst mal deaktiviert, Fehler werden ja ausgegeben. Dann habe ich mehr Zeit, um am Logging zu arbeiten. Ich schaue mir dazu an, wie das evcc easee Modul mit der signalr library zusammenwirkt. |
Na dann rein damit- VIELEN DANK! |
Top! :-) @insomniacslk are PR's allowed to your tapo project? I would try to suggest some logging feature improvements ... |
@thierolm absolutely welcome and encouraged! |
Today I got a new update for Tapo and I hoped the problem is solved.
So I think, the problem is not solved. Do you need any Information to solve it. For your Information: The Tapo-Integration works. I set the P110 to on in the App and I see that in HA, also the other way. |
Hi @jove01, the KLAP protocol extension is not yet deployed in evcc head branch ... That's the reason for the error after Tapo firmware update. Try the nightly until next release. |
Thanks for the Info |
@insomniacslk the latest dependency upgrade has brought this:
Mentioned as word of warning. If you want to make breaking changes it would be good to release a stable 1.0 version before doing so or we will catch these breaking changes. |
@andig thanks for the heads-up, I'll cut a 1.0 release tomorrow. Those changes are not breaking (at least not the library, just the CLI), but the code is stable enough to deserve a release |
I've just published the tag |
When is the next Update comming for evcc with thus Problem solved |
Hey @theirolm, |
Sorry, no. @andig is the owner of release planning. I expect there is a plan to have a Christmas release ... |
Christmas release including KLAP protocol is out now: |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
To answer this, U have to provide your evcc.yaml to identify the obsolete settings ... see breaking changes. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This PR has been completed and released. Closing. |
This PR enables evcc to use TAPO plugs having a newer firmware that supports only the new KLAP protocol.
Refer to discussion #10461
Additionally the complete tapo go module structure was redesigned, based on the top work of @insomniacslk.
Refer to https://github.com/insomniacslk/tapo
Test-runs
Passthrough-Protocol (deprecated):
KLAP-Protocol (newer fw versions - P100 fw:1.2.1 Build 230804 Rel.190922):