{"id":27109926,"url":"https://github.com/priyankark/sensorstreamserver","last_synced_at":"2025-04-06T23:49:06.428Z","repository":{"id":41295288,"uuid":"380751208","full_name":"priyankark/SensorStreamServer","owner":"priyankark","description":"Companion servers for Sensor Stream App. Stream sensor data, audio and images from your phone to an open source server running on your PC/Raspberry Pi in real-time over your local network.","archived":false,"fork":false,"pushed_at":"2024-08-15T11:48:07.000Z","size":377,"stargazers_count":24,"open_issues_count":5,"forks_count":7,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-15T13:27:49.406Z","etag":null,"topics":["accelerometer","accelerometer-and-gyroscope","audio","audio-streaming","audio-streams","camera","gps-tracker","image-streamer","light-sensor","magnetometer","orientation-sensor","proximity-sensor","sensor-data","sensor-fusion","sensor-streaming","sensors","step-counter","stream","websockets"],"latest_commit_sha":null,"homepage":"https://sensorstream.app","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/priyankark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-27T13:47:04.000Z","updated_at":"2024-08-15T11:48:10.000Z","dependencies_parsed_at":"2024-08-15T13:27:54.815Z","dependency_job_id":null,"html_url":"https://github.com/priyankark/SensorStreamServer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyankark%2FSensorStreamServer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyankark%2FSensorStreamServer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyankark%2FSensorStreamServer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/priyankark%2FSensorStreamServer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/priyankark","download_url":"https://codeload.github.com/priyankark/SensorStreamServer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247569131,"owners_count":20959758,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["accelerometer","accelerometer-and-gyroscope","audio","audio-streaming","audio-streams","camera","gps-tracker","image-streamer","light-sensor","magnetometer","orientation-sensor","proximity-sensor","sensor-data","sensor-fusion","sensor-streaming","sensors","step-counter","stream","websockets"],"created_at":"2025-04-06T23:49:05.322Z","updated_at":"2025-04-06T23:49:06.421Z","avatar_url":"https://github.com/priyankark.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sensor Stream App\n\nSensor Stream allows you to convert your phone into a complete sensor hub and stream real-time sensor information from your phone to the provided open source server over wifi/local network. The server can be modified as per your use-case. The app can be used to build IoT applications, for data science projects and many more use cases!\n\n# Sensor Stream Server\nThese are simple servers with WebSocket support that accept the sensor data and write it to a text file. These are companion sample servers for the Sensor Stream app.\n\n# Steps:\n* Clone the repository or download the zip file and unzip it to a directory of your choice.\n* Make sure you have given the app all the necessary access permissions (especially if you wish to use audio streaming/image streaming)\n\n## To Run the Python Server (version \u003e= Python 3.0)\n\n* Make sure you have python (version \u003e=3) installed and you can access both pip and python from the command line/ terminal\n* To check the same open command line/terminal and type `python --version` and `pip --version`\n* cd to the directory where the folder was extracted in the command line\n* Optional Step: It's highly recommended, you create a virtual env before installing dependencies. Activate the virtual environment and proceed. OS specific steps are available in the docs [https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/]\n\n**Brief Summary of steps to follow to create virtual env [Optional Step]**\n```\ncd Python\ncd server\npy -m venv env # Create virtual env\nsource env/bin/activate (On Linux or Mac) or .\\env\\Scripts\\activate (On Windows)\n```\n\n**Final Installation and run steps**\n ```\n cd SensorStreamServer\n cd server\n pip install -r requirements.txt \n python3 server.py\n ```\n\n\n## To use the app\n* Make sure both your phone and the laptop/raspi/other device are on same network.\n* Find the internal ip address of the raspi/laptop. The server should be showing you the same.\n* Simply type the ip address:5000.Example: 192.168.1.24:5000 in the app's input bar. \n* Switch on whatever sensor's data you want to stream.\n\nYou can make any changes you want to to server.py\n\n## Data Format Cheat sheet:\n* Accelerometer: x,y,z\n* Gyroscope: x,y,z\n* Magnetometer: x,y,z\n* Orientation: azimuth,pitch,roll\n* Step Counter: steps\n* Thermometer: temperature\n* Light Sensor: light\n* Proximity: isNear, value, maxRange\n* Link: https://github.com/kprimice/react-native-sensor-manager\n* Camera and Audio: base64 encoded strings\n\n## Contribution guidelines (Optional)\nThis repository is open to contributions. \nOn the server side, we are looking to support sample servers in more languages and frameworks such as node.js, Go etc.\nPlease feel free to raise PRs!\n\n### For more support, please e-mail priyankar.kumar98@gmail.com and I will get back to you ASAP.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyankark%2Fsensorstreamserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpriyankark%2Fsensorstreamserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpriyankark%2Fsensorstreamserver/lists"}