How to transmit Android real-time sensor data to computer?
android, data-transfer, python, transmission
Solution
Some Android apps allow you to share the sensors via the network:
- PhonePi and SensorServer (using websockets)
- Sensor Node (via MQTT)
- IP Webcam (can be used as a webapi by accessing `http://SMARTPHONE_IP:8080/sensors.json`)
- Tasker publisher
You can also read the sensors via ADB!
Problem
I wish to transmit real-time sensor data collected by Android smartphone to my computer and do the signal process on my computer. How may I achieve that? Any helpful links to tutorials are very well welcomed. Either by wireless means or USB cables is acceptable. When the data are transmitted, how may the computer process them? I am familiar with Python, and so perferrably use Python to deal with the coming data. Is it possible for Python to continuously accept newly come data and process them?