|
本人用ESP32刷了microPython,用官方的指导文件 https://www.diandeng.tech/doc/mpy-support
将文件全部准备到位后,运行了官方的例程 ,将例子 TEXT_WiFi.py中文程序全部复制到main.py中,然后修改好设备的ID,WiFi的账号密码;
运行后出现以下报警,
[364605] MODE: BLINKER_WIFI
[364613] auth: aea389dfb9cf
[376165] Device Auth Data: {'detail': {'uuid': 'a0071a6f45d911ebb5db5254', 'productKey': 'blinker', 'iotId': 'E24aKw6C6vBg3KETdHUae85aMY', 'deviceName': '580AAABEUTH5VG9UYXE8G4VG', 'iotToken': 'M23k6PJcjgehGaFnVN2T8Q9La66gShDD', 'host': 'mqtts://broker.diandeng.tech', 'broker': 'blinker', 'port': '1884'}, 'message': 1000}
[376197] deviceName: 580AAABEUTH5VG9UYXE8G4VG
[376204] iotId: E24aKw6C6vBg3KETdHUae85aMY
[376210] iotToken: M23k6PJcjgehGaFnVN2T8Q9La66gShDD
[376216] productKey: blinker
[376223] uuid: a0071a6f45d911ebb5db5254
[376228] broker: blinker
[376236] host + url: https://iot.diandeng.tech/api/v1/user/device/diy/auth?authKey=aea389dfb9cf
[376242] clientID:
[376249] userName:
[376255] password: M23k6PJcjgehGaFnVN2T8Q9La66gShDD
[376260] subtopic:
[376264] pubtopic:
Traceback (most recent call last):
File "<stdin>", line 28, in <module>
File "Blinker/Blinker.py", line 234, in run
File "BlinkerAdapters/BlinkerWiFi.py", line 383, in connect
File "modules/simple.py", line 57, in connect
OSError: -201
请大神帮忙分析一下!谢谢!!!!!
|
|