Opat is a bluetooth setup tool for Tapo smart devices. Currently, it has only been tested with the P100 smart plug. The tool can get the device infos, the discovered WIFIs and set the WIFI password.
The HTTP protocol part is derived from fishbigger's TapoP100.