点灯APP升级到2.5 历史图表不显示数据了-Arduino中文社区 - Powered by Discuz! Archiver

寒雨孤夜 发表于 2021-3-8 14:32

点灯APP升级到2.5 历史图表不显示数据了

用的论坛里的的温度、湿度示例程序https://www.arduino.cn/thread-85699-1-1.html
上一个版本的APP历史图表显示还是正常的,升级到2.5,实时的温度湿度正常,可是历史图表,不管选小时,还是天,都没有显示。

奈何col 发表于 2021-3-8 14:43

看看调试信息,是不是存储key用完了,免费用户只有5个存储key

寒雨孤夜 发表于 2021-3-8 14:58

奈何col 发表于 2021-3-8 14:43
看看调试信息,是不是存储key用完了,免费用户只有5个存储key

只有这一个设备,下附部分调试信息。上一个版本的APP中显示还是正常的。
14:56:27.708 -> Humidity: 36.00 %
14:56:27.708 -> Temperature: 24.00 *C
14:56:29.023 -> Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"20a64cf00d3411ebb5d95254","toDevice":"729510804RVQT2ZLJFP0NZRG"}
14:56:29.023 -> data: {"get":"state"}
14:56:29.023 -> fromDevice: 20a64cf00d3411ebb5d95254
14:56:29.068 -> Authority uuid
14:56:29.068 -> Got: {"deviceType":"DiyArduino","data":{"get":"state"},"fromDevice":"20a64cf00d3411ebb5d95254","toDevice":"729510804RVQT2ZLJFP0NZRG"}
14:56:29.068 -> data: {"get":"state"}
14:56:29.068 -> fromDevice: 20a64cf00d3411ebb5d95254
14:56:29.068 -> Authority uuid
14:56:29.068 -> available: 1
14:56:29.068 -> checkAvail: 1
14:56:29.068 -> parse data: {"get":"state"}
14:56:29.068 -> defined BLINKER_ARDUINOJSON
14:56:29.115 -> autoManager begin: 0 0
14:56:29.115 -> autoFormatData key: state, json: "state":"online"
14:56:29.115 -> new.
14:56:29.115 -> timer codes: 000
14:56:29.115 -> autoFormatData key: timer, json: "timer":"000"
14:56:29.115 -> add.
14:56:29.115 -> autoFormatData key: version, json: "version":"0.1.0"
14:56:29.115 -> add.
14:56:29.115 -> checkNum count: 0
14:56:29.115 -> autoFormatData key: humi, json: "humi":{"val":36.00}
14:56:29.115 -> add.
14:56:29.115 -> checkNum count: 0
14:56:29.115 -> autoFormatData key: temp, json: "temp":{"val":24.00}
14:56:29.115 -> add.
14:56:29.161 -> print: {"state":"online","timer":"000","version":"0.1.0","humi":{"val":36.00},"temp":{"val":24.00}}
14:56:29.161 -> Proto print...
14:56:29.161 -> Freeheap: 6800
14:56:29.161 -> isJson: {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":36.00},"temp":{"val":24.00}},"fromDevice":"729510804RVQT2ZLJFP0NZRG","toDevice":"20a64cf00d3411ebb5d95254","deviceType":"OwnApp"}
14:56:29.161 -> MQTT Publish...
14:56:29.161 -> Freeheap: 6800
14:56:29.252 -> {"data":{"state":"online","timer":"000","version":"0.1.0","humi":{"val":36.00},"temp":{"val":24.00}},"fromDevice":"729510804RVQT2ZLJFP0NZRG","toDevice":"20a64cf00d3411ebb5d95254","deviceType":"OwnApp"}
14:56:29.252 -> ...OK!
14:56:29.252 -> Freeheap: 6800
14:56:29.252 -> Freeheap: 7832
14:56:29.252 -> heartBeat isParsed
14:56:29.300 -> isParsed
14:56:29.766 -> Humidity: 36.00 %
14:56:29.766 -> Temperature: 24.00 *C
14:56:29.766 -> dataUpdate: 0
14:56:29.766 -> Freeheap: 8776
14:56:29.766 -> getData _data_: [,]
14:56:29.766 -> num: 0 name: temp
14:56:29.766 -> Freeheap: 8728
14:56:29.766 -> getData _data_: [,]
14:56:29.812 -> num: 1 name: humi
14:56:29.812 -> Freeheap: 8680
14:56:29.812 -> dataUpdate: {"deviceName":"729510804RVQT2ZLJFP0NZRG","key":"f97a50164de1","data":{"temp":[,],"humi":[,]}}
14:56:29.812 -> Freeheap: 8680
14:56:29.812 -> message: {"deviceName":"729510804RVQT2ZLJFP0NZRG","key":"f97a50164de1","data":{"temp":[,],"humi":[,]}}
14:56:29.812 -> blinker server begin
14:56:29.857 -> Freeheap: 29008
14:56:31.306 -> HTTPS begin: https://iot.diandeng.tech/api/v1/user/device/cloudStorage/
14:56:31.306 -> HTTPS payload: {"deviceName":"729510804RVQT2ZLJFP0NZRG","key":"f97a50164de1","data":{"temp":[,],"humi":[,]}}
14:56:31.306 -> status... code: 200
14:56:31.306 -> {"detail": "", "message": 1000}
14:56:31.306 -> payload: null
14:56:31.772 -> Humidity: 36.00 %
14:56:31.772 -> Temperature: 24.00 *C

奈何col 发表于 2021-3-8 15:40

寒雨孤夜 发表于 2021-3-8 14:58
只有这一个设备,下附部分调试信息。上一个版本的APP中显示还是正常的。
14:56:27.708 -> Hum ...

我在后台查看,是有数据的,请使用最新版本app查看

寒雨孤夜 发表于 2021-3-9 09:38

奈何col 发表于 2021-3-8 15:40
我在后台查看,是有数据的,请使用最新版本app查看

APP 回退2.4.7就显示正常了,估计2.5的APP显示有问题。

奈何col 发表于 2021-3-9 11:30

寒雨孤夜 发表于 2021-3-9 09:38
APP 回退2.4.7就显示正常了,估计2.5的APP显示有问题。

最新版为2.5.2,请在QQ群内下载最新版测试。“数据键名0“中填写你的存储key
页: [1]
查看完整版本: 点灯APP升级到2.5 历史图表不显示数据了