Sensors are inactive on the web
You need to check the following:
Browser compatibility
Currently Web uses the Sensor API - Gyroscope, but it is not compatible with some of the major browsers, such as Safari, Firefox.
For more information, see Browser compatibility.
Secure contexts
You should consider using HTTPS,
browsers can only use sensors in secure contexts (relevant limitations).
You may enable HTTPS using one of the following methods, or by other methods:
- Use http-server and refer to the documentation to enable HTTPS.
- Refer to issue 22.
- ......