Se ti piace il mio lavoro e vuoi che continui nello sviluppo delle card, puoi offrirmi un caffè.
If you like my work and want me to continue developing the cards, you can buy me a coffee.
Non dimenticare di seguirmi sui social:
Don't forget to follow me on social media:
This is a custom integration for Home Assistant that allows you to monitor your Tigo Energy solar system, including each individual panel, in real-time using Tigo’s public API.
This is a fork of Bobsilvio/tigosolar-online
upgraded to Tigo's current v4 cloud API (mapi.tigoenergy.com, the API the
official Tigo mobile app uses), with the legacy v3 API kept as an automatic
fallback. Highlights:
- API selection:
auto(try v4, fall back to v3),v4, orv3— set at setup and changeable in Options. - Token lifecycle: long-lived token persisted across restarts; transparent re-login on expiry/401, with a proper re-authentication flow.
- Premium toggle: tell the integration whether the account has a Tigo EI Premium subscription; non-premium degrades gracefully to system-level data instead of erroring.
- Resilience for Tigo's flaky cloud: exponential backoff with jitter,
strict respect of throttling (
429/503+Retry-After), abinary_sensorshowing Tigo API connectivity, and a Repair issue raised during prolonged outages (auto-cleared on recovery). - Efficient polling: incremental per-minute fetch (no duplicate history), night skip, and CCA-cadence skip so we never hammer the API.
- Energy Dashboard: a monotonic lifetime Production sensor
(
kWh,total_increasing) that survives restarts and midnight resets — add it under Settings → Energy → Solar production. - Diagnostics: redacted downloadable diagnostics + optional verbose logging and an extra-hardware probe (see below).
Add sensor.tigo_system_production as a Solar production source under
Settings → Energy. Use that sensor (not "Production Today"): it is a
monotonic total_increasing kWh counter, so Home Assistant's long-term
statistics handle midnight/DST correctly. "Production Today" and per-panel
"Energy" sensors are also available for tiles/automations.
Tigo TS4-R-X-DUO optimizers have a single input with two panels wired in
series, so they report one voltage/current/power value and appear as a
single "panel" — this is expected, not a missing panel.
This fork was developed on a panels-only system. If your account has monitored inverters, net/consumption meters, or batteries, enable Options → "Probe & log extra hardware" (and optionally Verbose debug logging), reproduce the data in the Tigo app, then download Settings → Devices & Services → Tigo → ⋯ → Download diagnostics (secrets are redacted) and open an issue with it attached. That payload is what we need to add v4 support for that hardware.
✅ Important: This integration requires an active Tigo EI Premium subscription.
More info: Italian Tigo EI Premium Plan
More info: English Tigo EI Premium Plan
🔄 Note: The data is not real-time. The web system requests and updates data at fixed intervals (every X minutes).
This limitation applies to the TAP → CCA communication.
The TAP sends data to the CCA sporadically and not all at once. Sometimes it only sends data from one panel at a time, and the logic behind this timing is not clear.
Here’s an example captured using TAPTAP (this system has 20 panels). After more than 10 minutes, only some of the panels had sent data:
{"gateway":{"id":4609},"node":{"id":17},"timestamp":"2025-04-15T15:43:09.291106+02:00",...} {"gateway":{"id":4609},"node":{"id":17},"timestamp":"2025-04-15T15:43:11.291106+02:00",...} {"gateway":{"id":4609},"node":{"id":13},"timestamp":"2025-04-15T15:43:45.299594+02:00",...} {"gateway":{"id":4609},"node":{"id":13},"timestamp":"2025-04-15T15:43:47.299594+02:00",...} {"gateway":{"id":4609},"node":{"id":9},"timestamp":"2025-04-15T15:45:09.286432+02:00",...} ...
As you can see, each node (panel) sends data independently, and delays between updates can be significant.
- Supports both system-level and panel-level data
- Automatically discovers all panels, grouped by Inverter / MPPT / String
- Creates one device per panel, with multiple sensors:
- Power (W)
- Voltage In (V)
- Current In (A)
- Signal Strength (RSSI)
- Includes system summary sensors:
- Daily Energy (kWh)
- YTD Energy (kWh)
- Lifetime Energy (kWh)
- Current DC Power (W)
- Fully compatible with Home Assistant Energy Dashboard
- Uses Tigo API v3 (
api2.tigoenergy.com) - No polling overload: optimized with a shared data coordinator
- Download this repository
- Copy the contents into your Home Assistant
custom_components/tigo/folder - Restart Home Assistant
To be added when available via HACS.
- Go to Settings > Devices & Services
- Click Add Integration
- Search for Tigo Energy
- Enter your Tigo account email and password
- Done! Entities will be created automatically
sensor.panel_<name>_powersensor.panel_<name>_voltage_insensor.panel_<name>_current_insensor.panel_<name>_rssi
sensor.tigo_daily_energy(kWh)sensor.tigo_ytd_energy(kWh)sensor.tigo_lifetime_energy(kWh)sensor.tigo_current_power(W)
All energy sensors are classified with the appropriate device_class and state_class for dashboard compatibility.
This integration requires your Tigo account email and password to authenticate. Credentials are stored securely in Home Assistant's config entry system. All communication with Tigo servers is HTTPS encrypted.
aiohttp(installed automatically by Home Assistant)
- A single shared
DataUpdateCoordinatordrives all entities (no per-panel polling). - Telemetry is fetched incrementally (only minutes newer than the last processed one) so history is not spammed; energy is polled less often (default 5 min).
- Polling backs off on errors and respects
Retry-After/429/503; it skips at night and when the CCA'slastDatahas not advanced. - Topology (layout + equipment order) is retrieved at setup; equipment-order drift is detected and the mapping rebuilt.
Originally built and maintained by Bobsilvio (Apache-2.0).
v2 (Tigo v4 API upgrade, resilience, Energy Dashboard, diagnostics) by TerryFrench, with the intent to contribute back upstream.
Inspired by the great work of MartinStoffel's Tigo Integration
See NOTICE for full attribution.
Not affiliated with Tigo Energy. Use at your own risk.





