topdog
发表于 2019-8-24 21:44
呃呃呃。。。看不懂x7
zjssun
发表于 2019-8-24 23:06
topdog 发表于 2019-8-24 21:44
呃呃呃。。。看不懂x7
可以去看看ArduinoJson作者的视频,亲自出马教学
https://www.youtube.com/watch?v=l8TYLFbo9ws
carlbeven
发表于 2019-9-6 16:13
16:12:13.558 -> 192.168.8.146
16:12:17.095 -> ERROR: args error
16:12:17.095 -> weather: {"detail": "args error", "message": 1101}
16:12:17.095 -> 风向:
16:12:17.095 -> 天气:
16:12:18.905 -> Freeheap: 10256
16:12:18.905 -> mDNS responder started
16:12:18.905 -> webSocket_MQTT server started
16:12:18.905 -> ws://7D17B0F01234DR59G87XMCF4.local:81
16:12:21.209 -> Connecting to MQTT...
16:12:23.070 -> MQTT Connected!
16:12:23.070 -> Freeheap: 10664
查询不了,尴尬
zjssun
发表于 2019-9-7 18:51
carlbeven 发表于 2019-9-6 16:13
16:12:13.558 -> 192.168.8.146
16:12:17.095 -> ERROR: args error
16:12:17.095 -> ...
StaticJsonDocument<400> doc;这行代码<400>前去掉空格就行了。
weather: {"cloud":"91","cond_code":"101","cond_txt":"多云","fl":"37","hum":"67","pcpn":"0.0","pres":"990","tmp":"32","vis":"15","wind_deg":"173","wind_dir":"南风","wind_sc":"1","wind_spd":"2"}
风向:南风
天气:多云
Connecting to MQTT...
MQTT Connected!
zjssun
发表于 2019-9-7 18:53
carlbeven 发表于 2019-9-6 16:13
16:12:13.558 -> 192.168.8.146
16:12:17.095 -> ERROR: args error
16:12:17.095 -> ...
去掉Blinker.weather("yunfu");里的"yunfu"默认获取你IP所属地的天气
么么
发表于 2019-10-23 13:44
ERROR: SERVER NOT ALIVE OR MSG LIMIT
我按照你的程序为啥 总是报出这个错误呢
zjssun
发表于 2019-10-27 12:42
么么 发表于 2019-10-23 13:44
ERROR: SERVER NOT ALIVE OR MSG LIMIT
我按照你的程序为啥 总是报出这个错误呢 ...
可以改下delay的时间,问题不大
完完全全
发表于 2019-11-29 09:38
只看懂了“YUNFU“,如果楼主是哪个地方的,还是老乡
zjssun
发表于 2019-11-30 17:38
完完全全 发表于 2019-11-29 09:38
只看懂了“YUNFU“,如果楼主是哪个地方的,还是老乡
居然遇见老乡了:D
dadv
发表于 2019-12-29 12:07
本帖最后由 dadv 于 2019-12-29 12:25 编辑
deserioalizeJson写错了,应该是deserializeJson 折腾半天