[英]How to connect android app to raspberry pi so that it will reflect all the data from sensors on to the android app
There are some sensors that will send real time data to raspberry pi.Raspberry pi will process that data and stored it into the database which is local to raspberry pi.So, is there any API that can be used to access the data from database which is stored in raspberry pi on an android app.有一些传感器会向树莓派发送实时数据。树莓派将处理该数据并将其存储到树莓派本地的数据库中。那么,是否有任何 API 可用于访问来自数据库的数据?存储在 raspberry pi 中的 android 应用程序中。 Is it possible to use PiUi or django and if not then what should i use?
是否可以使用 PiUi 或 django,如果不能,我应该使用什么?
I would post/save the data sent to the rPI into a web server, then using a HTTP protocol, connect the android app to the server and download the relevant data.我会将发送到 rPI 的数据发布/保存到 Web 服务器中,然后使用 HTTP 协议,将 android 应用程序连接到服务器并下载相关数据。
But that's me, other than doing some complex things;但那是我,除了做一些复杂的事情; that's the 'easy' way to do it.
这是做到这一点的“简单”方法。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.