PV Power (SolarEdge Cloud API)
On your display
Shows the current PV output of your SolarEdge system in Watts/kW, colour-coded by power level.
- Topic
- Smarthome
- Includes
- Script
Runs on
- Runs on 32×8 (TC001 & DIY)
- Runs on 52×16 (TC002)
- Does not run on 32×8 with AWTRIX 3 (TC001 & DIY) Made for AWTRIX NG.
Choose your display in the next step.
Is this your script?
If you created this script, open your saved edit link to add it to your account. You can then manage it whenever you sign in. Adding it to your account replaces the edit link.
Script description
Shows the current solar production ("PV") of a SolarEdge system on an AWTRIX NG display. Tested with a SolarEdge SE10K-RWB48.
What it shows
- A small sun on the left (drawn directly, no icon file needed)
- Current PV power on the right, in Watts or kW
- Colour-coded by power level: grey (0 W) → orange → yellow → light green → deep green (high power)
- Red status pixel in the bottom-right corner if the last data is older than ~2400 ticks
Data source
Uses the SolarEdge Monitoring API, specifically the currentPowerFlow.json endpoint. It reads the PV field rather than the net value at the grid connection point (overview.currentPower) — this keeps the value accurate even on systems with a battery.
Note: SolarEdge's cloud only refreshes this data every few minutes up to ~15 minutes. The value can lag a bit behind the SolarEdge app — that's a limitation of the public API, not a bug in the script.
Setup
- Log in to the SolarEdge Monitoring Portal
- Admin (gear icon) → Site Access → Access Control → API Access
- Activate API access, copy the key
- Enter your Site ID (found in the portal URL) and API key in the script (
siteId,apiKeyininit())
Required icons
None — the sun is drawn directly as pixels.
Known limitations
- Cloud data can be up to ~15 min old
- Shows PV production only, not consumption or grid draw (would need to also read
LOAD/GRID)
Sign in to view and copy the code of this script.
Discussion 0
Ask a question, suggest a change or share how you use it.
No comments yet. Start the conversation.
Have an idea?
Sign in to ask questions and join the conversation.