Installation & Setup¶
Prerequisites: A Mozillion account with an active mobile plan.
HACS (Recommended)¶
- Make sure you have HACS installed in your Home Assistant instance
- Add this repository as a custom repository in HACS:
- Go to HACS → Integrations → ⋮ (three dots menu) → Custom repositories
- Add
https://github.com/KRoperUK/mozillion-hassas repository - Select "Integration" as category
- Click "Explore & Download Repositories" and search for "Mozillion"
- Click "Download" and restart Home Assistant
- Go to Settings → Devices & Services → Add Integration
- Search for "Mozillion" and follow the configuration steps
Manual Installation¶
- Download the latest release from GitHub Releases
- Copy the
custom_components/mozillionfolder to your Home Assistant'scustom_componentsdirectory - Restart Home Assistant
- Go to Settings → Devices & Services → Add Integration
- Search for "Mozillion" and follow the configuration steps
Configuration¶
Option A — Auto-login¶
Provide your Mozillion email, password, and optional TOTP secret (Base32) if two-factor authentication is enabled. Leave the cookie and XSRF fields blank; the integration logs in and handles 2FA automatically.
Option B — Manual cookies¶
- Log into Mozillion in your browser
- Open Developer Tools → Application → Cookies
- Copy the full
Cookieheader and paste it into the integration - Copy the decoded
XSRF-TOKENvalue
Additional settings¶
- Order Detail ID — your Mozillion order identifier (found in the URL when viewing your plan)
- Data keys — customize the JSON paths for
data_usageanddata_remainingif they differ from the defaults