P100 Firmware 1.2.1 operation with third party APIs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

P100 Firmware 1.2.1 operation with third party APIs

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
P100 Firmware 1.2.1 operation with third party APIs
P100 Firmware 1.2.1 operation with third party APIs
2023-10-24 22:21:48 - last edited 2023-12-01 03:30:21
Model: Tapo P100  
Hardware Version: V2
Firmware Version: 1.2.1

Over the past few years I built an integrated home automation system using Raspberry Pis with P100s for most of the control outputs - implementing many functions that cannot be done with Tapo control software. I used both PyP100 and tapo_plug APIs and got very good service from 20+ P100. I just purchased 5 more last month for a system expansion.

 

To my dismay the firmware in my P100s has been upgraded, automatically, without my permission and as a result of login security changes both the above API can no longer access the P100s. My home automation systems is dead!

 

TP-Link obviously knew that many users woulld be similarily impacted but it would appear didn't care. If they did, it should have been possible to take steps to protect third party API users.  0 out of 10 for TP-Link on this one!

 

I do not have the knowledge to say if it is possible to work around the new security firmware so I will have to wait to see if  the developers of the above APIs  will offer any solutions.

 

One thing that would help would be to downgrade the firmware on the P100s to the earlier version before this security 'upgrade' -1.0.5.

 

Does anyone know if this is possible?

 

Any assistance would be greatly appreciated

 

  0      
  0      
#1
Options
2 Accepted Solutions
Re:P100 Firmware 1.2.1 operation with third party APIs-Solution
2023-10-26 20:44:19 - last edited 2023-12-01 03:30:21

  @Grandapa_Jack 

 

Update!!

 

An update to PyP100 that appears to address this issue  is now available. I need to do more testing but based on what I have seen to date its panic over.

 

For anyone else who encounters the same issue the new release is available to download using  pip install git+https://github.com/almottier/TapoP100.git@main

 

 

Recommended Solution
  2  
  2  
#2
Options
Re:P100 Firmware 1.2.1 operation with third party APIs-Solution
2023-10-27 02:18:54 - last edited 2023-12-01 03:30:25

  @Grandapa_Jack 

 

Usually i'll just look for api updates whenever there is a problem. Quite quick response in HACS.

.

Recommended Solution
  0  
  0  
#3
Options
4 Reply
Re:P100 Firmware 1.2.1 operation with third party APIs-Solution
2023-10-26 20:44:19 - last edited 2023-12-01 03:30:21

  @Grandapa_Jack 

 

Update!!

 

An update to PyP100 that appears to address this issue  is now available. I need to do more testing but based on what I have seen to date its panic over.

 

For anyone else who encounters the same issue the new release is available to download using  pip install git+https://github.com/almottier/TapoP100.git@main

 

 

Recommended Solution
  2  
  2  
#2
Options
Re:P100 Firmware 1.2.1 operation with third party APIs-Solution
2023-10-27 02:18:54 - last edited 2023-12-01 03:30:25

  @Grandapa_Jack 

 

Usually i'll just look for api updates whenever there is a problem. Quite quick response in HACS.

.

Recommended Solution
  0  
  0  
#3
Options
Re:P100 Firmware 1.2.1 operation with third party APIs
2023-11-16 22:08:53

  @Grandapa_Jack 

 

I’m running Linux on a Raspberry Pi.

Python 3.7.3

A recently installed P100 updated its firmware to 1.2.1 Build 230804 Rel 190922

Thanks Grandpa_Jack for the link to the required update for the latest firmware

pip install git+https://github.com/almottier/TapoP100.git@main

It threw an error but pip3 worked and I now have PyP100-0.1.4

However when I run the P100 code there’s an immediate error …

 

from PyP100 import PyP100

  File "/home/pi/PyP100.py", line 10, in <module>

    from . import tp_link_cipher

ImportError: attempted relative import with no known parent package

 

Can you help with this?

Thanks

  0  
  0  
#4
Options
Re:P100 Firmware 1.2.1 operation with third party APIs
2023-11-16 23:26:09

  @Grandapa_Jack 

 

Please ignore my previous request.

I screwed things up by having a copy of PyP100.py in directory  /home/pi

Now this is removed, everything is working OK. - many many thanks

I'm a happy bunny!

There's nothing on the official PyP100 page about the solution that you linked to..

How will many now frustrated P100 users find this solution?

  2  
  2  
#5
Options

Information

Helpful: 0

Views: 1171

Replies: 4

Related Articles