-
Notifications
You must be signed in to change notification settings - Fork 22
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 P100 Error 1003 after Firmeware update 1.2.1 Build 230804 #33
Comments
I have the same exact error. After upgrade, I got error |
Same error here. Seems that there is already a patch for Home Assistant: |
I'm having the same issue after a firmware upgrade |
Same issue here :( I had to put new plugs instead and carefully disable the auto update... Any chance to have an update ? Or does someone know another plugin that would work? |
Same issue here |
Yes, it is due to new auth handshake (KLAP). Here is what is in progress in kasa project. https://github.com/python-kasa/python-kasa/pull/117/files#diff- |
@rjtokenring - forgive me - do you mean we should have a fix soon? I'm new to all this, so not clear on when (and if) we'll see a fix. thanks, |
Here the same issue.... |
Automatic update of firmware no more |
there are any other alternative? |
Is there a fix planned or has development ceased on this module? |
No answer since 2 months, no new version for more than a year, it seems that it's over :( I've not found any other way to make these plugs work with Node Red, did anyone do ? |
if somebody has another option to automatise, even if it is not with node red, it is a pity |
Tried to downgrade to an old FW, but to no avail. |
I found a work around by installing a python node function https://flows.nodered.org/node/node-red-contrib-python-function-ps |
Thanks for the great idea! NOTE: I also had an issue like others fishbigger/TapoP100#128 |
It works perfectly, Thank you so much @machasm1 |
Hi @machasm1 - would you be able to elaborate exactly how you went about getting the python-function-ps node to trigger the necessary commands to toggle your P100 plug? I can connect and trigger my P100 plug using python3 in a terminal window, entering each command one by one, but I get an error in Node Red when I try running those same commands within the python-function-ps node ("...PyP100 Module Not Found Error: No module named PyP100"). I'm running Node Red within a Docker Container, which may complicate things. |
Actually, never mind - I've just worked it out. I had to install Python3, Pip and the TapoP100 library within the Node Red container itself. All working again! |
I now have this issue. Unfortunately, one of my P110 plugs had it's auto update set, so node-red flows that had been working perfectly for months suddenly stopped, and brought some major automations to a grinding halt. Node-red just reports Any news on a fix please? |
Same here :-( Since a few days its no longer working. Code 1003 |
Same here..... is there a workaround or something? |
There is a workaround as outlined by me above. I found a work around by installing a python node function https://flows.nodered.org/node/node-red-contrib-python-function-ps |
Yes and it works great ! Thank you very much for that :) |
P110 energy usage also not working with Python solution.... |
I use this for energy monitoring and quite a nice nodered app, so would like to get it working again. |
I’ve managed to work around this for myself. I also use hubitat HE. This has apps to interface to both nodeRed and TPlink TAPO. The HE tapo integration does work with the new firmware (and authentication method). The HE tapo app, creates HE devices mapped to the tapo devices. These devices can then be exposed to nodeRed and controlled or read from the nodeRed flows. |
I installed a P110 yesterday, worked fine for the first few hours, I assume it then updated the firmware for the device, I now can't connect, I'm getting the following error.
I'm going to try the workaround suggested by @machasm1. |
Hi, I did as suggested by @machasm1 . I had issues with installing from the fork https://github.com/almottier/TapoP100 sudo pip install git+https://github.com/almottier/TapoP100 × This environment is externally managed
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. I then installed it passing --break-system-packages, everything is fine and the installation works. In node-red, I used the python-function-ps node, with the following code (with the right IP, ID, and PW ;-): user code here.from PyP100 import PyP100 p100 = PyP100.P100("MYIP", "MYID", "MYPW") #Creates a P100 plug object Turn on/off the plug based on inputdef python_function(msg):
The entry point for the function noderesult = python_function(result) I have an inject node with a msg.payload "ON" and one with msg.payload "OFF". The debug node just says "ON" and "OFF", while the python-function-ps node has a green light, signaling "running" and "finished" when I inject a payload. That said, all is nice and dandy, but the plug still doesn't work. Fimware version is 1.5.5 I believe there is an issue with that, but I do not have a clue how to solve it. Too bad, because I have like eight p100 plugs and now not even one works... |
@machasm1 figured out how to solve everything, and it works like a charm! Basically, for those who do not know how to script in Python or just for the sake of simplicity, here's how to solve everything on a Raspberry Pi:
`from PyP100 import PyP100 ip = "MYIP" plug = PyP100.P100(ip, email, password) try: try: if msg["payload"] == "on": elif msg["payload"] == "off": else: Now that works like a charm, and I'm using the latest firmware update for the Tapo p100 plugs, 'fw_ver': '1.5.5 Build 20230927 Rel. 40646', 'hw_ver': '1.20.0' |
switched to this fork now and it works again! https://github.com/mbserran/node-red-contrib-tapo-new-api |
i can confirm this |
Good news for everyone, now there is: https://pypi.org/project/tapo/ https://github.com/mihai-dinculescu/tapo/tree/main/tapo-py/examples It works perfectly. Cheers |
After a firmware update to 1.2.1 I can no longer reach my P100 sockets via node red. I get the following error message:
errorInf: "Error: Unexpected Error Code: 1003 (undefined)"
A new P100 socket with firmware 1.1.2 runs smoothly.
Is the problem known or am I making a mistake?
The text was updated successfully, but these errors were encountered: