Coder Social home page Coder Social logo

jsynowiec / airly-aqi-scriptable-widget Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 166 KB

Scriptable app widget that displays Airly sensor data from the nearest sensor station.

License: GNU General Public License v3.0

JavaScript 100.00%
air-quality airly airly-caqi aqi caqi ios scriptable-app scriptable-widgets air-pollution

airly-aqi-scriptable-widget's Introduction

airly-aqi-scriptable-widget

Scriptable app widget that displays Airly sensor data from the nearest sensor station.

How to use it

To use this widget, add a new script in the Scriptable app, paste in the contents of airly-aqi.js, and set your Airly API key. You can get an API key by registering at developer.airly.org.

You can run the script directly from the app, add a new small or medium widget to your home screen, or ask Siri about the air quality.

The widget uses Location Services to find the nearest Airly sensor station. If that is not working for you, you can set the Airly station ID manually by tapping and holding on the widget, choosing Edit Widget, and then entering the ID in the Parameter field.

Known issues

The operation couldn’t be completed. (kCLErrorDomain error 1.)

This error occurs when the Scriptable app was denied access to Location Services. Grant the necessary permission: Go to Settings → Privacy → Location Services → Scriptable, select While Using the App or Widgets, and toggle Precise Location.

airly-aqi-scriptable-widget's People

Contributors

jsynowiec avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.