Overview
The Widgets API provides access to real-time data for various widget types. Each widget category has its own sub-router with specific queries and subscriptions.Widget Categories
Homarr supports the following widget routers:| Router | Purpose |
|---|---|
app | Application widget data |
weather | Weather data and forecasts |
calendar | Calendar events |
dnsHole | DNS hole statistics (Pi-hole, AdGuard) |
smartHome | Smart home device control |
mediaServer | Media server statistics (Plex, Jellyfin) |
mediaRequests | Media request systems (Overseerr, Jellyseerr) |
mediaRelease | Upcoming media releases |
mediaTranscoding | Transcoding status (Tdarr) |
downloads | Download client stats (qBittorrent, etc.) |
indexerManager | Indexer manager stats (Prowlarr) |
healthMonitoring | System health monitoring (Healthchecks) |
notebook | Notebook widget content |
rssFeed | RSS feed reader |
stockPrice | Stock price data |
coolify | Coolify deployment status |
minecraft | Minecraft server status |
networkController | Network controller stats (UniFi) |
firewall | Firewall statistics (OPNsense, pfSense) |
notifications | Notification system data |
releases | Software release tracking |
options | Widget configuration options |
Weather Widget
atLocation
Get current weather for a location.Latitude coordinate
Longitude coordinate
Forecast for upcoming days
subscribeAtLocation
Subscribe to real-time weather updates.Media Server Widget
getStats
Get media server statistics.ID of the media server integration
Current active streams
Library statistics
Recently added media items
DNS Hole Widget
getStatistics
Get DNS blocking statistics.Total queries
Blocked queries
Percentage blocked
Most frequent queries
Most blocked domains
Smart Home Widget
getDevices
Get smart home device status.Device ID
Device name
Device type (light, switch, sensor, etc.)
Current device state
controlDevice
Control a smart home device.Integration ID
Device ID to control
Action to perform (turn_on, turn_off, toggle, etc.)
Action-specific parameters
interact access
Calendar Widget
getEvents
Get calendar events.Array of calendar integration IDs
Start date for event range
End date for event range
Event ID
Event title
Event start time
Event end time
Whether the event is all-day
Source calendar ID
Downloads Widget
getQueue
Get download queue status.Active downloads
Paused downloads
Completed downloads
Current download speed (bytes/sec)
Current upload speed (bytes/sec)
Download queue items
controlDownload
Control download operations.pause, resume, delete, force_start
Permission Required: Integration interact access
Notebook Widget
getContent
Get notebook content.Markdown content
saveContent
Save notebook content.Notebook item ID
Markdown content to save
RSS Feed Widget
getFeed
Get RSS feed entries.RSS feed URL
Maximum entries to return
Feed title
Stock Price Widget
getPrice
Get current stock price.Stock ticker symbol
Stock symbol
Current price
Price change
Percentage change
