To test the Generic Sensor API, I tried to render this HTML page using the function createHtmlOutputFromFile from HtmlService:
https://mobiforge.gitlab.io/sensors/gyr