Smart Oil Gauge / Connected Consumer Fuel — Custom Integration (no API fee!)

Hey everyone,

I saw there have been requests for a Smart Oil Gauge integration going back years, with the main blocker being that the official API requires a monthly subscription fee. I built one that uses your existing smartoilgauge.com account credentials instead — no API key, no subscription needed.

What it does:

Creates four sensors per tank:

  • Oil Level — gallons remaining
  • Oil Percent — fill percentage
  • Oil Gauge Battery — battery health (Good / Ok / Poor)
  • Oil Gauge Last Read — last time the sensor uploaded a reading

Updates every 60 minutes.

Install via HACS:

  1. HACS → Integrations → three dots → Custom repositories
  2. Add https://github.com/bergb91-coder/ha-smartoilgauge as an Integration
  3. Download → Restart HA → Add Integration → search Smart Oil Gauge
  4. Enter your smartoilgauge.com email and password

Manual install and full docs at:

Let me know if you run into any issues — happy to help. PRs welcome if anyone wants to add features.

Thank you for building this integration - great help to those of us not yet very familiar with Home Assistant.
But I am having an issue with install. On step 2 to 3, I am getting an error when trying to add the Custom Repository:
<Integration bergb91-coder/ha-smartoilgauge> Repository structure for v1.0.0 is not compliant
So won't download. Please advise.

I just tried the Manual install instructions. It seems to have added the integration, but I am getting a "Failed to set up" error (and I am pretty sure I entered the correct user/pw):
This error originated from a custom integration.

Logger: custom_components.smartoilgauge.api
Source: custom_components/smartoilgauge/api.py:36
Integration: Smart Oil Gauge (documentation, issues)
First occurred: 10:07:10 PM (2 occurrences)
Last logged: 10:13:09 PM

Smart Oil Gauge: could not find login nonce

i had the same issue when installing via repository: <Integration bergb91-coder/ha-smartoilgauge> Repository structure for v1.0.0 is not compliant
Then for the manual install, after adding the integration, it failed to setup. After talking with Claude, I changed the api.py, which fixed it.