dickydoouk / tp-link-tapo-connect

Unofficial Node.js library for connecting to TP-Link Tapo devices. Currently limited to the P100 & P105 smart plugs and L510E smart bulbs.
115 stars 41 forks source link

Getting -1501: throw new Error("Invalid request or credentials") when trying to execute functions loginDevice or loginDeviceByIp #30

Closed icehazard closed 9 months ago

strongwazz commented 1 year ago

Same here :/ Maybe tapo firmware updates have changed something. If anyone who successfully has this working could share their firmware version, that'd be great :)

dickydoouk commented 1 year ago

I have tested on P100 firmware version: 1.4.9 Build 20210621 Rel. 30941 and all OK My plugs are refusing to update firmware using the Tapo app at this time but hopefully this info will help.

dickydoouk commented 1 year ago

I have now managed to test using latest firmware: 1.4.16 Build 20230224 Rel. 59299 and all OK. This firmware now supports auto off feature.

dickydoouk commented 1 year ago

Note the error i get when my cloud email address or password is wrong is -20601. However if there is a mismatch between the cloud credentials and the device I get -1501 (Note: Changing password does not update the smart device credentials, try using older credentials)