Skip to content

dariuslung/smartphone-luminance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smartphone_Luminance

Modified from Smartphone_v1_WebVersion

Automatically binds with IoTTalk device dzo_smartphone

Tutorial

  1. To get this working on Chrome Android, proceed to chrome://flags and set #enable-generic-sensor-extra-classes to Enabled. This is required for AmbientLightSensor as it is still an experimental web API.
  2. app.py requires the Python package Flask, install it with pip install Flask.
  3. Start the server with python app.py.
  1. Observe the IP it is running on. If your smartphone is connected to the same network as your server is running on, connect to https://xxx.xxx.xxx.xxx/ in Chrome Android and bypass the safety warning.
  1. Proceed to https://2.iottalk.tw/ and have fun with your project~

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published