def getClientID(): from ubinascii import hexlify import network return "ESP_" + str(hexlify(network.WLAN().config('mac')).decode()[6:].upper(), "utf-8")