This is a collection of widget showing your usage for the current month using Octopus Energy Japan GraphQL API
- Download Scriptable from the App Store.
- Download a zip file from the release page.
- Open the Files app and navigate to your Downloads folder.
- Move the zip file to the Scriptable folder in your iCloud.
- Open the Scriptable app to verify the scripts.
- Click on the Login script to provide your login credentials. Your account credentials are needed to get data from the server.
Your credentials are stored in the encrypted Keychain store on your iPhone
- Add a new Scriptable (small/medium) widget to the home-screen.
- Long press to select the widget, please remember to choose the widget coressponding to the size.
The widget collection is available in 3 different sizes with different data points for the current month:
- Medium: Daily usage
- Small Total: Showing up-to-date total usage and cost estimate
- Small Maxium: Showing up-to-date maxium usage and cost estimate
- Scriptable
- iPhone
- iOS 14.0 or later
Feel free to make a fork or open issues if you find them. Please include a picture or an error log if possible.
The Scriptable API is proprietary and not available as npm package
or through a CDN
so you will need to execute the code on your iPhone to utilize the API.