This is a project to sync data from my Airthings View Plus to Google Sheets.

API docs

Environment

Uses three inputs from script properties:

  • airthingsClientId
  • airthingsSecret
  • airthingsDeviceSerialNumber

The target spreadsheet is here.

Development

Use pnpm watch to develop. Use pnpm push for a single deploy. Go to the script to run it

Troubleshooting

If getting the error message Error retrieving access token: Error: invalid_grant, use the command clasp login.