/PurpleAirTempWidget

Widget written in Javascript in Scriptable on iOS.

Primary LanguageJavaScriptGNU General Public License v2.0GPL-2.0

PurpleAirTempWidget

Widget written in Javascript in Scriptable on iOS.

Needs better error handling. Seems like JSON doesn't reliably come from the URL, shaped for the nearest PurpleAir sensor to my home.

Requirements

  • iOS Device on iOS 14 (or other OS supporting widgets).
  • iOS App Scriptable.
  • (Optional) iOS App Working Copy or some other GitHub-friendly app.
  • (Optional) Some other easy way of copy/pasting from GitHub to Scriptable in iOS (like emailing the source).

Use

  1. Create script in Scriptable.
  2. Copy script from GitHub to iOS somehow.
  3. Paste into new script in Scriptable.
  4. Create Widget in iOS home page.
  5. Click Done.
  6. Long-press Widget in iOS home page.
  7. Edit Widget
  8. For Script, choose the script you just pasted into in Scriptable.