Air202 MQTT如何发送USERNAME PASSWORD ID ?

欢迎您! 我来自波兰。 我在AliExpress买了Air202。

我想用这个例子Luat_2G_RDA_8955 / script / demo / mqtt /登录这个页面。

如何发送识别数据?--> USERNAME PASSWORD ID

你能给出一个脚本的例子吗?


Hello! I'm from Poland. I bought Air202 on AliExpress.

I want to use this example Luat_2G_RDA_8955 / script / demo / mqtt / to log into this page.

How can I send identification data from this page? --> USERNAME PASSWORD ID

Can you give an example of a script?

attachments-2019-01-7gX81Z1r5c3a3d31ec3f9.PNG

attachments-2019-01-15bCFtnN5c3b0f76bd989.PNG

attachments-2019-01-0UEZqm895c3b0dbab0557.PNG

attachments-2019-01-ULoaIw9B5c3b0dfbe12aa.PNG

您可以登录该站点。https://accounts.mydevices.com/auth/realms/cayenne/protocol/openid-connect/auth?response_type=code&scope=email+profile&client_id=cayenne-web-app&state=TrRekMiYbojWogO3OrI4LSYp9ELhosBJXojAc0S4&redirect_uri=https%3A%2F%2Fcayenne.mydevices.com%2Fauth%2Fcallback

密码:teka

电子邮件:vanihada@prmail.top


在这里,您可以看到Arduino的代码示例。https://github.com/myDevicesIoT/Cayenne-MQTT-Arduino

在这里您可以看到ESP8266代码的示例。https://github.com/myDevicesIoT/Cayenne-MQTT-ESP

谢谢你的帮助。


You can try to log in to the site. https://accounts.mydevices.com/auth/realms/cayenne/protocol/openid-connect/auth?response_type=code&scope=email+profile&client_id=cayenne-web-app&state=TrRekMiYbojWogO3OrI4LSYp9ELhosBJXojAc0S4&redirect_uri=https%3A%2F%2Fcayenne.mydevices.com%2Fauth%2Fcallback
password: teka

email: vanihada@prmail.top

Here you can see code examples for Arduino. https://github.com/myDevicesIoT/Cayenne-MQTT-Arduino

Here you can see code examples for ESP8266. https://github.com/myDevicesIoT/Cayenne-MQTT-ESP

Thank you for your help.


请先 登录 后评论

最佳答案 2019-01-16 00:41

请参考mqtt.lua的client接口说明:mqttc = mqtt.client("clientid-123",nil,"user","password")

请先 登录 后评论

其它 0 个回答