Turn your Android phone into a Web of Things things
The app UI offers a text field to choose the port the web thing server will run on and a toggle to start and stop the server.
- Vibrate phone
- Toggle flashlight
- See pictures from front and back camera
- Real-time sensor values (brightness, distance, in motion, temperature, pressure, humidity)
- Phone power (battery level, charging)
- Surveillance camera with small blind spot if device has a front and back camera
- Weather station (depending on sensors; I'd suggest not giving the camera permission in that case, to lower the load on the device)
- Daylight sensor (brightness sensor)
- Door or window opening sensor (not quite implemented nicely yet, but movement or distance properties can be used for it)
- Power outage detector (charging property)
- I'm sure the vibration action could be used for something.
Uh, open it in Android Studio and it'll hopefully just work?
It runs on my Nexus 5X (with 8.1) and I haven't been able to make it run properly on my older phone that runs 6.