Blinker 请求url数据接口是否能够请求实时数据
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQwAAABqCAYAAABJVm9gAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAA7SSURBVHhe7d0JUBR3vgfw7wwMkRtFuRQiAlkUKE9AxYiLihpvE7Pm8m3MHZPdtfKyr7JvE3PsVtxNdrfqvTImxtTmsjYbNdGs0XixCoEoCl5IYlhARTlURBQEufpNQ6MzOsevmfFhvff9VHXp9Pzpf/97an7TV/XXkJCQoICISMCo/UtE5BQLBhGJsWAQkRgLBhGJsWAQkRgLBhGJsWAQkRgLBhGJsWAQkZjDOz0VYyCS5j6GhyZGog9KsP6llchtNmjvdvFPfw5vzI/VXl2nnNmK3//xG5w3WLfXI3TqC/j1dA9sf+stbKvmDalEvc3uHobiG4sZz76AJeN9car0vDb3Zo1FX2PNmjXXp8/yUNWmoKGmBo1am55Q/FIwJ2MQGgq/RlZVhzaXiHqT3YIRN/1hTAmuwOaVb+Ojw3Xa3Jt11JajqKioczp6rAYDxozEgLo8fPL5QTT1cO9CUTwRP3MGhnmUYefWIrS6sJdCRO5jt2A0/Gsb3nl7NbJONGlzHFMUE2JnL8HMyCps+eAL/HjDoYsexvAMzEkOwvm8zcir1WYSUa+zWzCqD3+Hskb5lz5g+CI8MskXRZ99iKzqdm2uforij7FzMhDRegzbdpShnXsXRLcNt10liR6RiCBjAJIWvYj/eHwGfhLQsy+6cfBPMXmoF+rPtGHUc69jxZu/w3/+4mFMivHVWhBRb3FbwSjdthorV63Gp1sOoWVwJpYsnohgRd+VDfXcxfD0sQjGFVw4/SOyP1uD9z7Zhn95JWDuEz/HhH68UkLUm9xWMBprSlFyvBgH92zAml1l8IpJwlAf7U2xKMTFeKPl+814/8tc/HCyAuXFOfhs9TaUe8UidVR/rR0R9QaXCoa6RxAQNghhgV7anC6XztWhBX7wD9RmiHnBywTUV1VaX2GpP42aRsAvIEibQUS9wcU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+7tJvebFBny+tmNzPV/AtqNPVBnz7Wk6e9Xz83rd+t7Fdddvy4MejfdAz7Ch1sFB2k29mZ+rw1ePXV3+HV1z/BURsnRqUZtnozZ5312026nZlh6xpRwXCUXXqNjmxQ0fLMHLfzR8Zzb2LFihVW05JkOz9/blu/W9cvTIlIHRGAS4fzcezmw3/dpNtZwmDoQHN9LS612B6FNMNWb+ass36vkW5nZti6xGnBcJRdakmaDSpdnvN2DShY/w5WrlxpNf3jmO3e3bd+t6Zflc/osUj0rsPBfcfR4cKXWyXdzu4gz87VnzkrJd3OzLB1jcOC4Ty7VF82qDQLVdJO/eWpqyhBSYn1VGV1Ld/963cr+lWpfY9NiYep+gD2lttooIN0O7ub8wxbaeaslHQ7M8PWXewWDEl2qZ5sUFkWqrydxK1YP4keZaaGjkNytAGnCvah2oW9C3eOw5K6d9AnMBj+XrbWTZphK8ucteSoX+l2Zoat+9i9cUuSXaqSZoNKlydtJ+Xu9ZPSm5k6eMoiTI2qxo61u1HRYutLKSMdhyRL1lLg+Cfw8tJ7MWV8CCrzDuGsxQ1e8uxceeZsN0f9qqTbmRm27mH31nBpdmnnLbeCbFDp8lzJTLXF3esnJe1XpRh/ggeWP42RFX/D8vf3uXRyUjoOaZZsN/V+iGUPJ8OvNgcf/HkTStudr6OtDFv1yyrJnO3mrF/pdtbzeZB9zFYlIjHxfRhERCwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCTGgkFEYiwYRCQE/A+Y8oMjFZWm+gAAAABJRU5ErkJggg==毕设想做个安防系统,但是web客户端向blinker请求数据只能请求到前两分钟的数据就很鸡肋。。。。请问有办法请求到延迟小一点的数据吗?没看懂,mqtt就是实时的啊,延迟100ms属于正常。您是不是哪里理解错了 coloz 发表于 2022-2-7 22:12
没看懂,mqtt就是实时的啊,延迟100ms属于正常。您是不是哪里理解错了
不好意思我可能没说清楚,在blinker app里是可以接收到实时数据的,但我在web端请求是https://storage.diandeng.tech/api/v1/ts提供的接口,它返回的response数据中最近的只有两分钟前的数据。我想知道如何通过”数据获取接口“请求到实时的数据
这是我请求的接口url
url = "https://storage.diandeng.tech/api/v1/ts?e={0}&device={1}&keyword={2}&quickDate=1h&queryType=avg".format(expirationTime, deviceName, dataKey) https://storage.diandeng.tech/api/v1/ts 是历史记录接口,非实时的,要实时的就通过mqtt coloz 发表于 2022-2-7 23:01
https://storage.diandeng.tech/api/v1/ts 是历史记录接口,非实时的,要实时的就通过mqtt ...
好的,非常感谢!
页:
[1]