https://github.com/awaescher/home-battery-widget
An iOS 16 lockscreen widget to display home batteries with Scriptable
https://github.com/awaescher/home-battery-widget
battery ios16 ios16-widget kiwigrid myreserve scriptable widget
Last synced: 11 months ago
JSON representation
An iOS 16 lockscreen widget to display home batteries with Scriptable
- Host: GitHub
- URL: https://github.com/awaescher/home-battery-widget
- Owner: awaescher
- License: mit
- Created: 2022-11-18T22:32:10.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T23:10:46.000Z (over 3 years ago)
- Last Synced: 2025-06-12T04:44:14.492Z (12 months ago)
- Topics: battery, ios16, ios16-widget, kiwigrid, myreserve, scriptable, widget
- Language: JavaScript
- Homepage:
- Size: 1.34 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Home battery widget for iOS 16
An iOS 16 lockscreen widget to display home batteries with [Scriptable](https://scriptable.app/).
Special thanks to [Normal-Tangerine8609](https://github.com/Normal-Tangerine8609) for his awesome [progress-circle](https://gist.github.com/Normal-Tangerine8609/0c7101942b3886bafdc08c357b8d3f18) gist.
## How does it work (for me)?
This implementation is powered by a home battery MyReserve Matrix from Solarwatt that is connected to a local kiwigrid installation.
Battery information is regularly read with [kiwi](https://github.com/awaescher/kiwi), pushed to [kvstore.io](https://kvstore.io) with [kiwipush](https://github.com/awaescher/kiwipush).
The javascript code in this repository can be used to build a widget with the free [Scriptable](https://scriptable.app/) app. It retrieves the values from [kvstore.io](https://kvstore.io) that were pushed before and uses them to build the gauge widget.
---
The following screenshot shows this widget besides other battery widgets on iOS:
1. Home battery widget (this repository)
2. TESLA battery widget
3. Apple battery widget
4. Apple battery widget
