改为易微联连接模式代码怎么弄?-Arduino中文社区 - Powered by Discuz!

Arduino中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

查看: 3500|回复: 1

[未解决] 改为易微联连接模式代码怎么弄?

[复制链接]
发表于 2021-5-4 20:42 | 显示全部楼层 |阅读模式
本帖最后由 jason693 于 2021-5-4 20:44 编辑

要增加易微联添加配网和兼容模式配网代码要怎么写
esp8266mod模块

{
"command": "configfile",
"network": {
"bssid": "",
"ssid": "908F0",
"wmode": 1,
"hide": 0,
"pswd": "Jason908f0c@",
"offtime": 180,
"dhcp": 0,
"ip": "",
"subnet": "",
"gateway": "",
"dns": "",
"apip": "192.168.4.1",
"apsubnet": "255.255.255.0"
},
"hardware": {
"readertype": 0,
"wgd0pin": 255,
"wgd1pin": 255,
"sspin": 15,
"rfidgain": 112,
"wifipin": 255,
"rtype": 0,
"ltype": 0,
"rpin": 4,
"rtime": 200,
"buttonpin": 255,
"numrelays": 2,
"doorstatpin": 255,
"openlockpin": 255,
"relay2": {
"rtype": "1",
"ltype": "0",
"rpin": "5",
"rtime": "120"
},
"relay3": {
"rtype": "1",
"ltype": "0",
"rpin": "255",
"rtime": "120"
},
"relay4": {
"rtype": "1",
"ltype": "0",
"rpin": "255",
"rtime": "120"
}
},
"general": {
"hostnm": "908F0",
"restart": 86400,
"pswd": "12345678"
},
"mqtt": {
"enabled": 0,
"host": "",
"port": 1883,
"topic": "",
"user": "",
"pswd": "",
"syncrate": 180,
"mqttlog": 0
},
"logmaintenance": {
"enabled": 0,
"rolloverkb": "10",
"maxlogfilesnumber": 4,
"spiffwatch": 0
},
"ntp": {
"server": "pool.ntp.org",
"interval": 30,
"timezone": 0
}
}

1620131126787.jpg
1620130683208.jpg
发表于 2021-5-5 12:07 | 显示全部楼层
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|Archiver|手机版|Arduino中文社区

GMT+8, 2024-11-29 07:36 , Processed in 0.073422 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表