Where our data comes from
Light Dey? combines independent evidence and always shows which source each status comes from. We never present an estimate, a stale report or a single unverified report as confirmed live electricity. When trustworthy data is missing, the area shows Not enough current evidence and asks you to help confirm.
How evidence is ranked
- Measured (a healthy Light Dey sensor) or official outage data → “Confirmed”. Grid figures expire after 90 minutes.
- Indirect evidence (a degraded sensor, one behind a generator changeover, or 2 verified reporters agreeing) → “Likely”.
- One verified reporter → “Reported” straight away.
- Community → “Reported” when 3+ independent people agree within 60 minutes.
- Estimate → only with no live evidence, from ≥6 past confirmed hours at least 70% one way.
Official grid data can prove an outage (a national grid collapse, or a DisCo receiving ~0 MW) but not that your street has light, because DisCos load-shed. So positive grid figures are shown as context only.
Sources
NISO Grid Data Portal (NIGGRID)
Live- Trust tier
- 1 — official grid
- Coverage
- National grid; per-DisCo load allocation (incl. Eko and Ikeja DisCos)
- Used for
- Outage only: national grid collapse (total allocation below threshold) affects every area; a DisCo at ~0 MW affects only areas officially mapped to it. Positive MW is context, never 'light dey'.
- Refresh
- every 10 min
- Reliability
- Official system-operator figures, published as a public web page (no API). Updates roughly hourly.
- Link
- https://www.niggrid.org/DisCoLoadProfile
Ikeja Electric public notices (RSS)
Live- Trust tier
- 1 — official disco
- Coverage
- Ikeja Electric franchise area (northern Lagos)
- Used for
- Context only: notices that name a supported area are linked on that area's page. Never sets a live status.
- Refresh
- every 60 min
- Reliability
- Official DisCo notices. Free text; feeder lists are often images, so areas are matched by name only.
- Link
- https://www.ikejaelectric.com/feed/
Eko Electricity Distribution (EKEDP) notices
No accessible feed- Trust tier
- 1 — official disco
- Coverage
- Eko DisCo franchise area (southern Lagos)
- Used for
- None yet.
- Refresh
- —
- Reliability
- Official, but published on social media and the website as free text/images.
- Link
- https://ekedp.com/
DisCo / TCN / NISO posts on X
Needs API credentials- Trust tier
- 1 — official disco
- Coverage
- Lagos DisCos, TCN, NISO
- Used for
- Would be context-only notices, like the Ikeja Electric feed.
- Refresh
- —
- Reliability
- Official accounts, free text.
- Needs
- X_BEARER_TOKEN (paid X API tier)
- Link
- https://developer.x.com/
Light Dey Sensor (opt-in mains-detection devices)
Implemented — needs devices- Trust tier
- 1 — telemetry
- Coverage
- The neighbourhood each device is registered to (no address or precise location)
- Used for
- Measured status: a healthy grid-direct sensor => Confirmed; degraded/late or behind a changeover => Likely; silence => offline (never an outage).
- Refresh
- every 1 min
- Reliability
- Direct measurement at one point on one feeder. Strong when healthy, fresh and wired before any generator changeover; independent sensors (separate networks) raise confidence.
- Needs
- Per-device id + derived HMAC secret (`npm run sensor:provision`); SENSOR_MASTER_SECRET on the server
IODA internet connectivity (Georgia Tech) — Lagos region
Implemented — awaiting permission (off)- Trust tier
- 4 — proxy
- Coverage
- Lagos State as a whole (region 2935) — too coarse for neighbourhoods
- Used for
- Context only, Lagos-wide: 'connectivity drop detected'. Never sets or changes a status.
- Refresh
- every 15 min
- Reliability
- Weak proxy: generators, inverters and mobile networks keep internet up during grid outages, and internet fails for other reasons.
- Needs
- Written permission from IODA (data-info contact) — API responses state 'All Rights Reserved'
- Link
- https://api.ioda.inetintel.cc.gatech.edu/v2/
Victron VRM (inverter monitoring) — opt-in installations
Needs API credentials- Trust tier
- 1 — device provider
- Coverage
- Per consenting installation
- Used for
- Would map 'AC input present' to a grid-direct reading only if the install is wired before any changeover.
- Refresh
- —
- Reliability
- Documented public API exposing inverter AC-input state; untested by us.
- Needs
- Per-installation access token issued by the owner (consent)
- Link
- https://vrm-api-docs.victronenergy.com/
Shelly Cloud (smart plugs / relays) — opt-in devices
Needs API credentials- Trust tier
- 1 — device provider
- Coverage
- Per consenting device
- Used for
- Candidate source of grid-direct voltage readings.
- Refresh
- —
- Reliability
- Device online/offline is NOT mains evidence (Wi-Fi, UPS); only a plug wired to raw grid power and reporting a voltage would be.
- Needs
- Owner's Shelly Cloud auth key (consent)
- Link
- https://shelly-api-docs.shelly.cloud/
Transmission Company of Nigeria website
Rejected- Trust tier
- 1 — official grid
- Coverage
- National transmission
- Used for
- None. TCN outage updates are posted on X (paid API — see x_disco_accounts).
- Refresh
- —
- Reliability
- Official, but the 'Notices' page holds procurement PDFs, not outage notices (checked 2026-11-14).
- Link
- https://www.tcn.org.ng/
Lagos State Electricity Regulatory Commission
Rejected- Trust tier
- 1 — regulator
- Coverage
- Lagos State
- Used for
- None.
- Refresh
- —
- Reliability
- No reachable website found (checked 2026-11-14).
Downdetector, Google 'popular times', road cameras, social posts
Rejected- Trust tier
- 4 — proxy
- Coverage
- Varies
- Used for
- None.
- Refresh
- —
- Reliability
- Terms forbid scraping, or no verifiable public feed with location and time; generators make them poor power evidence anyway.
Verified partners (businesses, security desks, facilities, community organisations)
Awaiting approved partners- Trust tier
- 2 — verified partner
- Coverage
- Per partner agreement
- Used for
- Reports via POST /api/ingest/observations: one fresh report => 'Reported'; two independent (or one + neighbours) => 'Likely'. Never 'Confirmed' — only official data or sensors confirm.
- Refresh
- —
- Reliability
- Vetted human observers; each partner is a separate source with its own key and approved areas.
- Needs
- Partner API key issued with `npm run partner:key`
Verified community reporters
Awaiting approved partners- Trust tier
- 2 — verified reporter
- Coverage
- Per reporter's home neighbourhood
- Used for
- Neighbourhood status reports via the ingestion API.
- Refresh
- —
- Reliability
- Vetted individuals. One fresh report => 'Reported'; two independent (or one plus neighbours) => 'Likely'.
- Needs
- Per-reporter API key issued with `npm run partner:key`
Light Dey? community reports
Live- Trust tier
- 3 — community
- Coverage
- All supported Lagos neighbourhoods
- Used for
- Community-reported light / no light, or conflicting.
- Refresh
- —
- Reliability
- Anonymous, rate-limited, deduplicated. Needs several independent reporters (max 2 per network) within 60 minutes — see /about for the current threshold.
NERC quarterly & energy-cap reports
No accessible feed- Trust tier
- 1 — regulator
- Coverage
- National, per DisCo, per feeder (monthly/quarterly)
- Used for
- None for live status. Candidate for feeder→area mapping research (LD-049).
- Refresh
- —
- Reliability
- Official but historical PDFs; not live.
- Link
- https://nerc.gov.ng/
Historical pattern estimate
Live (derived)- Trust tier
- 4 — estimate
- Coverage
- Areas with enough confirmed community history
- Used for
- Shown only when there is no live evidence, labelled 'Estimate'. Needs ≥6 confirmed hours at this hour and ≥70% one way.
- Refresh
- every 60 min
- Reliability
- Statistical: share of past confirmed hours at this time of day. Not live.
Which DisCo serves each area
DisCo-wide outages only apply to areas an official source names: an Eko DisCo district or an Ikeja Electric business unit with the same name. Other areas aren’t mapped yet, so only national grid collapses and local reports apply to them.
- Lekki Phase 1 → Eko DisCo (EKEDP) (Eko DisCo 'Lekki' district, source)
- Ajah → Eko DisCo (EKEDP) (Eko DisCo 'Ajah' district, source)
- Lagos Island → Eko DisCo (EKEDP) (Eko DisCo 'Islands' / 'Ajele' districts, source)
- Apapa → Eko DisCo (EKEDP) (Eko DisCo 'Apapa' district, source)
- Festac Town → Eko DisCo (EKEDP) (Eko DisCo 'Festac' district, source)
- Ojo → Eko DisCo (EKEDP) (Eko DisCo 'Ojo' district, source)
- Mushin → Eko DisCo (EKEDP) (Eko DisCo 'Mushin' district, source)
- Ikeja → Ikeja Electric (Ikeja Electric 'Ikeja' business unit, source)
- Ikorodu → Ikeja Electric (Ikeja Electric 'Ikorodu' business unit, source)
- Oshodi → Ikeja Electric (Ikeja Electric 'Oshodi' business unit, source)
- Shomolu → Ikeja Electric (Ikeja Electric 'Shomolu' business unit, source)