{"id":40667236,"url":"https://github.com/adrienbrault/geekmagic-hacs","last_synced_at":"2026-01-21T09:14:31.381Z","repository":{"id":329774114,"uuid":"1115661288","full_name":"adrienbrault/geekmagic-hacs","owner":"adrienbrault","description":"Home Assistant integration for GeekMagic displays (SmallTV Pro/Ultra). Server-side rendering, no device flashing required.","archived":false,"fork":false,"pushed_at":"2026-01-18T17:31:26.000Z","size":15615,"stargazers_count":79,"open_issues_count":12,"forks_count":5,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-01-18T17:37:22.778Z","etag":null,"topics":["custom-integration","display","esp8266","geekmagic","hacs","home-assistant","iot","smalltv"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adrienbrault.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-13T09:45:01.000Z","updated_at":"2026-01-18T17:13:36.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/adrienbrault/geekmagic-hacs","commit_stats":null,"previous_names":["adrienbrault/geekmagic-hacs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/adrienbrault/geekmagic-hacs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienbrault%2Fgeekmagic-hacs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienbrault%2Fgeekmagic-hacs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienbrault%2Fgeekmagic-hacs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienbrault%2Fgeekmagic-hacs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adrienbrault","download_url":"https://codeload.github.com/adrienbrault/geekmagic-hacs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adrienbrault%2Fgeekmagic-hacs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28630943,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T04:47:28.174Z","status":"ssl_error","status_checked_at":"2026-01-21T04:47:22.943Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["custom-integration","display","esp8266","geekmagic","hacs","home-assistant","iot","smalltv"],"created_at":"2026-01-21T09:14:30.241Z","updated_at":"2026-01-21T09:14:31.365Z","avatar_url":"https://github.com/adrienbrault.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GeekMagic Display for Home Assistant\n\n[![HACS](https://img.shields.io/badge/HACS-Custom-orange.svg)](https://github.com/hacs/integration)\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/09890b95-8a94-4df9-bf2f-6b9a6ac0d5e9\" alt=\"GeekMagic Display running Home Assistant dashboard\" width=\"400\"\u003e\n\u003c/p\u003e\n\nA Home Assistant custom integration for GeekMagic displays (SmallTV Pro, Ultra, and similar ESP8266/ESP32-based devices).\n\n\u003e **How it works:** This integration renders dashboard images directly in Home Assistant using Python/Pillow and pushes them to your GeekMagic device over HTTP. No flashing required - works with stock firmware.\n\n---\n\n### Disclaimers\n\n\u003e **Early Software:** This project is in active development. Expect bugs, breaking changes, and incomplete features. The API and configuration format may change between versions.\n\n\u003e **Vibe Coded:** This integration was largely vibe-coded with AI assistance. While functional, it may contain unconventional patterns or rough edges. Contributions and feedback welcome!\n\n---\n\n### Background \u0026 Credits\n\nI have a **GeekMagic Ultra** with ESP8266, which has [limited possibilities for flashing with ESPHome](https://community.home-assistant.io/t/installing-esphome-on-geekmagic-smart-weather-clock-smalltv-pro/618029). Instead of fighting the hardware, this integration takes a different approach: render everything server-side and push images to the device.\n\nSpecial thanks to:\n- The [Home Assistant Community thread](https://community.home-assistant.io/t/installing-esphome-on-geekmagic-smart-weather-clock-smalltv-pro/618029) for documenting GeekMagic device capabilities\n- **[Aydar (@aydarik)](https://community.home-assistant.io/t/installing-esphome-on-geekmagic-smart-weather-clock-smalltv-pro/618029/214)** for sharing the [bash script](https://gist.github.com/aydarik/e81edaf63041a85fb0325a1c8c2e4bac) that demonstrated how to push images to these devices - the core inspiration for this integration\n\n---\n\n## Dashboard Samples\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/01_system_monitor.png\" alt=\"System Monitor\" width=\"120\"\u003e\n  \u003cimg src=\"samples/02_smart_home.png\" alt=\"Smart Home\" width=\"120\"\u003e\n  \u003cimg src=\"samples/03_weather.png\" alt=\"Weather\" width=\"120\"\u003e\n  \u003cimg src=\"samples/04_server_stats.png\" alt=\"Server Stats\" width=\"120\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/05_media_player.png\" alt=\"Media Player\" width=\"120\"\u003e\n  \u003cimg src=\"samples/06_energy_monitor.png\" alt=\"Energy Monitor\" width=\"120\"\u003e\n  \u003cimg src=\"samples/07_fitness.png\" alt=\"Fitness Tracker\" width=\"120\"\u003e\n  \u003cimg src=\"samples/08_clock_dashboard.png\" alt=\"Clock Dashboard\" width=\"120\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/09_network_monitor.png\" alt=\"Network Monitor\" width=\"120\"\u003e\n  \u003cimg src=\"samples/10_thermostat.png\" alt=\"Thermostat\" width=\"120\"\u003e\n  \u003cimg src=\"samples/11_batteries.png\" alt=\"Batteries\" width=\"120\"\u003e\n  \u003cimg src=\"samples/12_security.png\" alt=\"Security\" width=\"120\"\u003e\n\u003c/p\u003e\n\n## Binary Sensor States \u0026 Icons\n\nBinary sensors display human-readable states and state-specific icons based on their `device_class`. Icons are sourced from Home Assistant's official icon definitions.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/16_binary_sensors.png\" alt=\"Binary Sensor States\" width=\"240\"\u003e\n  \u003cimg src=\"samples/17_binary_sensors_more.png\" alt=\"More Binary Sensors\" width=\"240\"\u003e\n\u003c/p\u003e\n\n## Domain State Icons\n\nEntities like lights, switches, and fans show different icons based on their state (on/off).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/18_domain_icons.png\" alt=\"Domain Icons\" width=\"240\"\u003e\n\u003c/p\u003e\n\n## Widget Gallery\n\n| Widget | 1x1 | 1x2 | 2x1 | 2x2 | 2x3 | 3x3 |\n|--------|-----|-----|-----|-----|-----|-----|\n| **Gauge (Bar)** | \u003cimg src=\"samples/widgets/gauge_bar_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_bar_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_bar_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_bar_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_bar_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_bar_3x3.png\"\u003e |\n| **Gauge (Ring)** | \u003cimg src=\"samples/widgets/gauge_ring_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_ring_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_ring_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_ring_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_ring_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_ring_3x3.png\"\u003e |\n| **Gauge (Arc)** | \u003cimg src=\"samples/widgets/gauge_arc_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_arc_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_arc_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_arc_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_arc_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/gauge_arc_3x3.png\"\u003e |\n| **Entity (Icon)** | \u003cimg src=\"samples/widgets/entity_icon_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/entity_icon_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/entity_icon_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/entity_icon_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/entity_icon_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/entity_icon_3x3.png\"\u003e |\n| **Entity (Plain)** | \u003cimg src=\"samples/widgets/entity_plain_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/entity_plain_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/entity_plain_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/entity_plain_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/entity_plain_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/entity_plain_3x3.png\"\u003e |\n| **Clock** | \u003cimg src=\"samples/widgets/clock_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/clock_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/clock_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/clock_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/clock_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/clock_3x3.png\"\u003e |\n| **Text** | \u003cimg src=\"samples/widgets/text_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/text_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/text_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/text_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/text_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/text_3x3.png\"\u003e |\n| **Progress** | \u003cimg src=\"samples/widgets/progress_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/progress_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/progress_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/progress_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/progress_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/progress_3x3.png\"\u003e |\n| **Weather** | \u003cimg src=\"samples/widgets/weather_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/weather_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/weather_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/weather_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/weather_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/weather_3x3.png\"\u003e |\n| **Status** | \u003cimg src=\"samples/widgets/status_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/status_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/status_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/status_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/status_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/status_3x3.png\"\u003e |\n| **Chart** | \u003cimg src=\"samples/widgets/chart_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/chart_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/chart_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/chart_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/chart_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/chart_3x3.png\"\u003e |\n| **Climate** | \u003cimg src=\"samples/widgets/climate_1x1.png\"\u003e | \u003cimg src=\"samples/widgets/climate_1x2.png\"\u003e | \u003cimg src=\"samples/widgets/climate_2x1.png\"\u003e | \u003cimg src=\"samples/widgets/climate_2x2.png\"\u003e | \u003cimg src=\"samples/widgets/climate_2x3.png\"\u003e | \u003cimg src=\"samples/widgets/climate_3x3.png\"\u003e |\n\n## Layout Examples\n\n### Fullscreen \u0026 Grid Layouts\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/layouts/layout_fullscreen.png\" alt=\"Fullscreen\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_grid_2x2.png\" alt=\"Grid 2x2\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_grid_2x3.png\" alt=\"Grid 2x3\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_grid_3x2.png\" alt=\"Grid 3x2\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_grid_3x3.png\" alt=\"Grid 3x3\" width=\"200\"\u003e\n\u003c/p\u003e\n\n### Split Layouts\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/layouts/layout_split_horizontal.png\" alt=\"Split Horizontal\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_split_vertical.png\" alt=\"Split Vertical\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_split_h_1_2.png\" alt=\"Split 1:2\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_split_h_2_1.png\" alt=\"Split 2:1\" width=\"200\"\u003e\n\u003c/p\u003e\n\n### Column \u0026 Row Layouts\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/layouts/layout_three_column.png\" alt=\"Three Column\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_three_row.png\" alt=\"Three Row\" width=\"200\"\u003e\n\u003c/p\u003e\n\n### Hero Layouts\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/layouts/layout_hero.png\" alt=\"Hero\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_hero_simple.png\" alt=\"Hero Simple\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_hero_corner_tl.png\" alt=\"Hero TL\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_hero_corner_tr.png\" alt=\"Hero TR\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_hero_corner_bl.png\" alt=\"Hero BL\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_hero_corner_br.png\" alt=\"Hero BR\" width=\"200\"\u003e\n\u003c/p\u003e\n\n### Sidebar Layouts\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"samples/layouts/layout_sidebar_left.png\" alt=\"Sidebar Left\" width=\"200\"\u003e\n  \u003cimg src=\"samples/layouts/layout_sidebar_right.png\" alt=\"Sidebar Right\" width=\"200\"\u003e\n\u003c/p\u003e\n\n## Themes\n\nChoose from **10 built-in themes** that go beyond just colors - affecting typography, spacing, shapes, and visual effects.\n\n### Dark Themes\n\n| Classic | Minimal | Neon | Retro | Soft |\n|:-------:|:-------:|:----:|:-----:|:----:|\n| \u003cimg src=\"samples/layouts/layout_theme_classic.png\" alt=\"Classic\" width=\"200\"\u003e | \u003cimg src=\"samples/layouts/layout_theme_minimal.png\" alt=\"Minimal\" width=\"200\"\u003e | \u003cimg src=\"samples/layouts/layout_theme_neon.png\" alt=\"Neon\" width=\"200\"\u003e | \u003cimg src=\"samples/layouts/layout_theme_retro.png\" alt=\"Retro\" width=\"200\"\u003e | \u003cimg src=\"samples/layouts/layout_theme_soft.png\" alt=\"Soft\" width=\"200\"\u003e |\n| Balanced with rounded corners | Sharp, monochrome | Cyberpunk with glow | Terminal scanlines | Cozy, very rounded |\n\n### Colored \u0026 Light Themes\n\n| Ocean | Sunset | Forest | Light | Candy |\n|:-----:|:------:|:------:|:-----:|:-----:|\n| \u003cimg src=\"samples/layouts/layout_theme_ocean.png\" alt=\"Ocean\" width=\"200\"\u003e | \u003cimg src=\"samples/layouts/layout_theme_sunset.png\" alt=\"Sunset\" width=\"200\"\u003e | \u003cimg src=\"samples/layouts/layout_theme_forest.png\" alt=\"Forest\" width=\"200\"\u003e | \u003cimg src=\"samples/layouts/layout_theme_light.png\" alt=\"Light\" width=\"200\"\u003e | \u003cimg src=\"samples/layouts/layout_theme_candy.png\" alt=\"Candy\" width=\"200\"\u003e |\n| Deep blue, nautical | Warm coral/orange | Natural earth tones | Clean white background | Playful pastels |\n\n---\n\n## Features\n\n- **12 widget types**: Clock, entity, media, chart, text, gauge, progress, weather, status, camera, and more\n- **19 layout options**: Fullscreen, grids, splits, hero variants, sidebars, and more\n- **10 visual themes**: Classic, Minimal, Neon, Retro, Soft, Light, Ocean, Sunset, Forest, Candy\n- **Visual configuration**: Custom sidebar panel with live preview\n- **Global views**: Create views once, assign to multiple devices\n- **Multi-screen support**: Assign multiple views per device with auto-cycling\n- **Notification service**: Show temporary alerts with text, icons, or camera images\n- **Pure Python rendering**: Uses Pillow for image generation (no browser required)\n- **Configurable refresh**: Updates every 5-300 seconds\n\n## Installation\n\n### HACS (Recommended)\n\n1. Open HACS in Home Assistant\n2. Click \"Custom repositories\"\n3. Add this repository URL\n4. Install \"GeekMagic Display\"\n5. Restart Home Assistant\n\n### Manual\n\n1. Copy `custom_components/geekmagic` to your Home Assistant's `custom_components` folder\n2. Restart Home Assistant\n\n## Configuration\n\n### Adding a Device\n\n1. Go to **Settings** → **Devices \u0026 Services**\n2. Click **Add Integration**\n3. Search for \"GeekMagic\"\n4. Enter your device's IP address\n\n### Using the GeekMagic Panel\n\nAfter installation, a **GeekMagic** item appears in your sidebar.\n\n#### Views Tab\n\nCreate and manage display views:\n\n- **Create views** with the \"+ Add View\" button\n- **Edit views** by clicking on them\n- **Delete views** via the menu on each card\n\n#### View Editor\n\nThe editor provides a live preview and widget configuration:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/e3420b9e-a325-49ea-8ab9-2133ae7f0a20\" alt=\"GeekMagic View Editor\" width=\"700\"\u003e\n\u003c/p\u003e\n\n- **Preview**: See real-time rendering as you configure\n- **Layout**: Choose grid size (2x2, 2x3, 3x2, hero, split, etc.)\n- **Theme**: Select from 10 visual themes\n- **Widgets**: Each slot shows a position grid - click cells to swap widget positions\n- **Entity picker**: Native Home Assistant entity selector with filtering\n\n#### Devices Tab\n\nAssign views to your GeekMagic devices:\n\n- Check which views each device should display\n- Devices automatically cycle through assigned views\n- Drag to reorder the rotation sequence\n\n#### Device Info Page\n\nEach device exposes entities for brightness, refresh interval, mode selection, and status:\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/user-attachments/assets/ddbc7f2d-2e9a-4a22-8eb8-248f26e9adf4\" alt=\"GeekMagic Device Info\" width=\"700\"\u003e\n\u003c/p\u003e\n\n---\n\n## Entities\n\nEach GeekMagic device creates the following entities for control and monitoring:\n\n### Controls\n\n| Entity | Type | Description |\n|--------|------|-------------|\n| `number.geekmagic_brightness` | Number | Display brightness (0-100%) |\n| `number.geekmagic_refresh_interval` | Number | Update interval (5-300 seconds) |\n| `number.geekmagic_cycle_interval` | Number | View cycle interval (0 = manual only) |\n| `select.geekmagic_mode` | Select | Device mode (Custom Views, Clock, Weather, System Info) |\n| `select.geekmagic_current_view` | Select | Currently displayed view (when in Custom mode) |\n| `switch.geekmagic_view_cycling` | Switch | Enable/disable automatic view cycling |\n\n### Sensors\n\n| Entity | Type | Description |\n|--------|------|-------------|\n| `sensor.geekmagic_status` | Sensor | Connection status with device attributes |\n| `sensor.geekmagic_storage_used` | Sensor | Device storage usage percentage |\n| `sensor.geekmagic_storage_free` | Sensor | Free storage in KB |\n\n### Buttons\n\n| Entity | Type | Description |\n|--------|------|-------------|\n| `button.geekmagic_refresh` | Button | Force immediate display refresh |\n| `button.geekmagic_next_screen` | Button | Switch to next view in rotation |\n| `button.geekmagic_previous_screen` | Button | Switch to previous view in rotation |\n\n---\n\n## Services\n\n### `geekmagic.notify`\n\nShows a temporary notification on the display, interrupting the normal view rotation.\n\n| Parameter | Required | Default | Description |\n|-----------|----------|---------|-------------|\n| `device_id` | Yes | - | GeekMagic device(s) to show the notification on |\n| `message` | No | - | Notification text. If omitted, the image/icon displays fullscreen |\n| `icon` | No | - | MDI icon to display (e.g., `mdi:bell`, `mdi:alert`) |\n| `image` | No | - | Entity for image source (`camera.*`, `image.*`, or `media_player.*`) |\n| `duration` | No | 10 | How long to show the notification (1-300 seconds) |\n| `theme` | No | classic | Visual theme for the notification |\n\n#### Examples\n\n**Simple text notification:**\n```yaml\nservice: geekmagic.notify\ndata:\n  device_id: \"abc123\"\n  message: \"Motion detected!\"\n  icon: mdi:motion-sensor\n```\n\n**Doorbell with camera snapshot:**\n```yaml\nservice: geekmagic.notify\ndata:\n  device_id: \"abc123\"\n  message: \"Someone at the door\"\n  image: camera.front_door\n  duration: 30\n```\n\n**Fullscreen camera (no message):**\n```yaml\nservice: geekmagic.notify\ndata:\n  device_id: \"abc123\"\n  image: camera.front_door\n  duration: 15\n```\n\n**Now playing notification:**\n```yaml\nservice: geekmagic.notify\ndata:\n  device_id: \"abc123\"\n  message: \"Now Playing\"\n  image: media_player.spotify\n  theme: neon\n```\n\n---\n\n## Widget Types\n\n| Type | Description |\n|------|-------------|\n| `gauge` | Bar, ring, or arc gauge (`style: bar/ring/arc`) |\n| `entity` | Any HA entity value (with optional `icon`) |\n| `climate` | Thermostat/HVAC (`show_target`, `show_humidity`, `show_mode`) |\n| `clock` | Time and date |\n| `text` | Static or dynamic text |\n| `progress` | Goal tracking with progress bar |\n| `weather` | Weather with forecast |\n| `status` | Binary sensor indicator |\n| `chart` | Sparkline from entity history |\n| `camera` | Camera snapshot display |\n| `media` | Now playing from media player |\n| `multi_progress` | Multiple progress items |\n| `status_list` | Multiple status indicators |\n\n## Layout Types\n\n| Layout | Slots | Description |\n|--------|-------|-------------|\n| `fullscreen` | 1 | Single widget fills entire display (no padding) |\n| `grid_2x2` | 4 | 2x2 grid of equal widgets |\n| `grid_2x3` | 6 | 2 rows, 3 columns |\n| `grid_3x2` | 6 | 3 rows, 2 columns |\n| `grid_3x3` | 9 | 3x3 grid of equal widgets |\n| `split_horizontal` | 2 | Left/right side by side |\n| `split_vertical` | 2 | Top/bottom stacked |\n| `split_h_1_2` | 2 | Narrow left (1/3), wide right (2/3) |\n| `split_h_2_1` | 2 | Wide left (2/3), narrow right (1/3) |\n| `three_column` | 3 | 3 vertical columns |\n| `three_row` | 3 | 3 horizontal rows |\n| `hero` | 4 | Large hero + 3 footer widgets |\n| `hero_simple` | 2 | Large hero + 1 footer widget |\n| `hero_corner_tl` | 6 | 2x2 hero top-left + 4 small widgets |\n| `hero_corner_tr` | 6 | 2x2 hero top-right + 4 small widgets |\n| `hero_corner_bl` | 6 | 2x2 hero bottom-left + 4 small widgets |\n| `hero_corner_br` | 6 | 2x2 hero bottom-right + 4 small widgets |\n| `sidebar_left` | 4 | Wide left panel + 3 right rows |\n| `sidebar_right` | 4 | 3 left rows + wide right panel |\n\n---\n\n## Device Compatibility\n\nTested with:\n- GeekMagic SmallTV Ultra (240x240, ESP8266)\n\nShould work with any GeekMagic device that supports the `/doUpload` HTTP API.\n\n**Important:** This integration works with the **stock firmware** that ships with GeekMagic devices. No custom firmware or flashing required - just connect your device to your network and add the integration.\n\n### Alternative Firmware\n\nFor users interested in open-source firmware, [@bvweerd](https://github.com/bvweerd) has created an ESP8266 firmware that implements the same API:\n\n- [geekmagic-tv-esp8266](https://github.com/bvweerd/geekmagic-tv-esp8266) - Open-source firmware for GeekMagic devices\n\n## Development\n\n```bash\nuv sync                              # Install dependencies\nuv run pytest                        # Run tests\nuv run ruff check .                  # Lint\nuv run pre-commit run --all-files    # Run all checks\nuv run python scripts/generate_samples.py  # Generate samples\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrienbrault%2Fgeekmagic-hacs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadrienbrault%2Fgeekmagic-hacs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadrienbrault%2Fgeekmagic-hacs/lists"}