Meter MACS for Home Assistant
Hi all,
I’ve just released Meter MACS, a custom Home Assistant integration for Meter MACS prepaid electricity accounts.
If you use Meter MACS and want your account data inside Home Assistant for dashboards, automations, and alerts, this integration is built for that.
What it does
- Signs in with your existing Meter MACS portal credentials
- Discovers available meters/assets from the portal
- Exposes your electricity balance in Home Assistant
- Exposes electricity cost per kWh
- Adds an electricity supply switch where the required site/asset data is available
- Creates a separate Home Assistant device for each discovered asset
- Lets you choose which discovered assets stay enabled
- Supports reauthentication through the normal Home Assistant UI
- Includes diagnostics to help with troubleshooting
Installation
At the moment, it’s installed through HACS as a custom repository:
- Open HACS
- Add this repository as an
Integration:
https://github.com/usersaynoso/Meter-MACS-Portal-for-Home-Assistant - Install Meter MACS
- Restart Home Assistant
- Go to Settings → Devices & Services
- Add the Meter MACS integration
- Enter your Meter MACS email address and password
A few notes
- The integration uses a polling model
- Default refresh interval is 120 seconds
- Minimum refresh interval is 30 seconds
- If the main API path is unavailable, it can fall back to dashboard parsing
- The supply switch is currently optimistic, so it does not yet confirm the true remote state after every toggle
Why I built it
I wanted a clean way to bring Meter MACS account data into Home Assistant so I could:
- track prepaid balance more easily
- build low-balance alerts
- surface tariff/cost information on dashboards
- use supply controls from one place
Feedback welcome
If you use Meter MACS, I’d really appreciate any feedback, testing, bug reports, or feature suggestions.
Links
- GitHub: usersaynoso/Meter-MACS-Portal-for-Home-Assistant
- Issues / bug reports: GitHub Issues