https://github.com/pierregode/mmm-ica
This is a Magic mirror module to list information from swedish food grocery ICA, so far you can only list your balance if you have payment with ICA
https://github.com/pierregode/mmm-ica
Last synced: 4 months ago
JSON representation
This is a Magic mirror module to list information from swedish food grocery ICA, so far you can only list your balance if you have payment with ICA
- Host: GitHub
- URL: https://github.com/pierregode/mmm-ica
- Owner: PierreGode
- License: mit
- Created: 2023-03-06T17:25:17.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-28T19:39:16.000Z (about 2 years ago)
- Last Synced: 2025-02-22T18:49:29.828Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 168 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# MMM-ICA
MMM-ICA is a [MagicMirror²](https://github.com/MagicMirrorOrg/MagicMirror) module for connecting to the Swedish grocery store ICA API.
> [!WARNING]
> **update april 2024:** ICA made changes to their API. App not working
[](https://ko-fi.com/J3J2EARPK)

For Authentication you need to use basic authentication, information you can find here .
## Sample Configuration
How to install:
```shell
cd MagicMirror/modules
```
```shell
git clone https://github.com/PierreGode/MMM-ICA
```
In MagicMirror/config/config.js
```JavaScript
{
module: "MMM-ICA",
position: "bottom_right",
header: "ICA",
config: {
username: "",
password: "",
apiUrl: "https://handla.api.ica.se/api/",
storeApiUrl: "https://handla.api.ica.se/api/",
updateInterval: 900000, // Refresh every 15 minutes.
retryDelay: 5 * 60 * 1000, // Retry every 5 minutes if an error occurs.
settings: {
Saldo: true, //Show Availible balance on the account
AccountName: false,
FavoriteStores: true, //Show the id of your favorite stores
DisplayStoreID: true //Show the output of offersStoreId in the mirror
offlineShoppingLists: true, // enable/disable offline shopping lists feature
},
offers: true, // Show offers for the specified store ID
offersStoreId: "15215" // Default store ID for which offers will be displayed
}
},
```
## API
For more information on the ICA API, see the ica-api repository .
Big thanks to svendahlstrand for the API source.
Api free: yes
## Links
- The page for MagicMirror².
- You can find this module and many more in 3rd Party Modules on the MagicMirror page: .
## Development Status
WIP