Tapo devices that the cloud reports as offline can now go through tapo-helper, a small program on your Plex server that controls them over your home Wi-Fi (the way Home Assistant does it). Enter the helper key in Settings. Kasa plugs still use the cloud. Without a helper key, Tapo devices behave as before.
Dual-cloud: the app now logs into both TP-Link clouds (Tapo and Kasa) and routes each device to the cloud where it is online. Fixes Tapo devices that the Tapo cloud reported as offline (-20571) even though the Tapo app could reach them.
Tapo devices need the SMART protocol commands, not the Kasa IOT ones — the app was sending the IOT on/off command which Kasa plugs obey but Tapo devices ignore. Tapo plugs and lights now get the SMART set_device_info and get_device_info commands; Kasa devices keep the IOT commands.
TP-Link returns device names Base64-encoded, so the watch was showing gibberish like TG91bmdlIFJvb20= instead of "Lounge Room". The app now decodes device names for display.
Fixes a login bug: TP-Link nests a failed login inside a successful-looking reply, so a wrong password was misread as a login and the device list then failed with the misleading "Parameter doesn't exist" error. The app now reads the nested login error and shows the real reason (e.g. wrong email or password).
Routes TP-Link cloud calls through a small relay on the developer Oracle VM, because TP-Link uses a private certificate the iPhone will not trust directly. The app now talks to the relay over public HTTPS and the relay forwards to TP-Link.
Fixes the app not starting on the phone: the app had no menu icon, so its appinfo.json was missing the resources field the Pebble app requires to start the phone-side code. Added a menu icon and declared the app as configurable.
Fixes the app not loading on the phone: the JavaScript is now a single flat file instead of a webpack bundle, which the Pebble app could not load (it hung on Loading watchapp). Settings and watch-to-phone messages should now work.
Adds the Settings page — the config page was missing from the app, so the Pebble app showed no Settings button. Settings is where you enter your TP-Link account.