Open tomasj opened 3 months ago
Hi @tomasj unfortunately the library only works on the same network at the moment. However the official Tapo app does turn on/off devices remotely however I'm not sure how that works or is passed through the cloud API. It is something I'd like to get working though.
I would be very much interested in controlling devices remotely as well, are there any updates on this?
My code is following, and works ok as long, as it gets executed from the same network as the P110 is connected to.
The error is:
TypeError: Cannot read properties of undefined (reading 'status')
.The same error is returned when I call
await device.getDeviceInfo();
.Can I do something in my code to fix that? Or the lib is intended to be used in the same network as the device?