tapo
tapo copied to clipboard
Support client.getDeviceList
Hi @mihai-dinculescu, first of all I want to show my gratitude to you for creating this package. I've been able to use it do some really cool stuff at home.
Request: I was thinking if there's a way to do client.getDeviceList()
after initializing the ApiClient
without having to supply the address of the different device to e.g. client.p100("IP_ADDRESS_OF_DEVICE")
? This will enable programmatically getting the address of connected devices without having to supply if manually
Why? I have a cron job that periodically checks if a particular device is turned off to do some stuff but the problem I noticed after letting the cron run for about 10hrs is the script had crashed and the reason is because the IP address of that device had changed!
Device IP Address changes whenever router is rebooted