[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111305":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":38,"updatedAt":39,"readmeContent":40,"aiSummary":41,"trendingCount":16,"starSnapshotCount":16,"syncStatus":42,"lastSyncTime":43,"discoverSource":44},111305,"netorbit","the-scott-davis\u002Fnetorbit","the-scott-davis","Live radial map of your home network for Home Assistant. Finds your gear, places devices under the right hub, and lets you fix the rest by drag and drop, a pasted client list, or an AI assistant.","",null,"Python",69,7,58,40,0,5,11,1,46.31,"MIT License",false,"main",true,[26,27,28,29,30,31,32,33,34,35,36,37],"hacs","hacs-integration","home-assistant","home-assistant-custom","home-assistant-integration","homeassistant","lovelace-card","network","network-map","network-monitoring","snmp","topology","2026-11-18 22:48:59","2026-11-22 07:21:52","# NetOrbit\n\n[![Open NetOrbit in the Marketplace](https:\u002F\u002Fmy.home-assistant.io\u002Fbadges\u002Fmarketplace_repository.svg)](https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fmarketplace_repository\u002F?owner=the-scott-davis&repository=netorbit&category=integration)\n\n![Version](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Fthe-scott-davis\u002Fnetorbit) ![License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Fthe-scott-davis\u002Fnetorbit)\n\nA live, radial map of your home network for Home Assistant. Every device orbits the router, switch, access point or mesh node it connects through, colored by whether it's answering right now, was seen recently, or has gone quiet.\n\nInstall it, click Submit, and NetOrbit draws the best map your network can tell it about. Then fix anything it couldn't work out by dragging devices around, pasting a client list, or asking an AI assistant to do it for you.\n\n\u003Cp align=\"center\">\n\u003Ca href=\"#install\">\u003Cimg src=\"docs\u002Fnav\u002Finstall.svg\" width=\"250\" alt=\"Install\">\u003C\u002Fa>\n\u003Ca href=\"#what-it-does\">\u003Cimg src=\"docs\u002Fnav\u002Ffeatures.svg\" width=\"250\" alt=\"What it does\">\u003C\u002Fa>\n\u003Ca href=\"#tested-on-simulated-networks\">\u003Cimg src=\"docs\u002Fnav\u002Fgallery.svg\" width=\"250\" alt=\"See it\">\u003C\u002Fa>\u003Cbr>\n\u003Ca href=\"#placing-devices-by-hand\">\u003Cimg src=\"docs\u002Fnav\u002Fplace.svg\" width=\"250\" alt=\"Place devices\">\u003C\u002Fa>\n\u003Ca href=\"#netorbit\">\u003Cimg src=\"docs\u002Fnav\u002Fhub.svg\" width=\"250\" alt=\"NetOrbit\">\u003C\u002Fa>\n\u003Ca href=\"docs\u002FSETUP.md\">\u003Cimg src=\"docs\u002Fnav\u002Fsetup.svg\" width=\"250\" alt=\"Setup guide\">\u003C\u002Fa>\u003Cbr>\n\u003Ca href=\"#settings\">\u003Cimg src=\"docs\u002Fnav\u002Fsettings.svg\" width=\"250\" alt=\"Settings\">\u003C\u002Fa>\n\u003Ca href=\"#entities-events-and-services\">\u003Cimg src=\"docs\u002Fnav\u002Fservices.svg\" width=\"250\" alt=\"Automations\">\u003C\u002Fa>\n\u003Ca href=\"#requirements-and-limits\">\u003Cimg src=\"docs\u002Fnav\u002Flimits.svg\" width=\"250\" alt=\"Limits and privacy\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n![NetOrbit card](docs\u002Ffull.png)\n\n| Watch it find your network | Share your map |\n| --- | --- |\n| ![The first scan: a radar sweeps around the router, then every device pops in](docs\u002Fscan.gif) | ![A shared map with generic names and no addresses](docs\u002Fshare.png) |\n\n## What it does\n\n- **Watch the first scan happen.** Right after you add NetOrbit, the card shows a radar sweeping around your router with a live count of what it has found (\"Scanning your network... found 12 devices\") and what it's doing right now. When the scan is done, the map plays in: hubs and devices pop up as the beam passes them, the links draw in and the names fade in. Later scans just show a small *Scanning...* chip. If your device asks for less motion, the radar stays still and the map fades in instead. You can replay the animation from the Share menu any time.\n- **Share your map.** The *Share* button makes a picture of your map to download or copy, or a short video of the scan animation. Device names are hidden by default, so a TV shows up as \"TV 1\" and a camera as \"Camera 2\", and hubs only show their type. Turn names back on with one switch. IP and MAC addresses are never in what you share, and neither are devices waiting to be added or suggested hubs.\n- **Finds every device.** Sweeps your subnet, learns MAC addresses from the ARP table, and names devices from what your setup already knows: Home Assistant's device list, device trackers, Ping sensors you've set up, your router's local DNS, or the name the device announces over Bonjour. When nothing knows a name, it falls back to the maker (for example \"Apple 28:54\"), and you can rename it.\n- **Finds your network gear.** Spots routers, switches, access points and mesh nodes from who made them, what they call themselves, what they announce on the network, and what other integrations already know. Obvious ones are added for you. Likely ones show up with a spinning pink ring and a one-tap \"It's a hub \u002F Not a hub\".\n- **Works out where each device connects, when your network will say:**\n  - **Managed switches with SNMP:** NetOrbit reads their MAC address tables and works out which switch port, and so which access point, every device is behind. No port mapping needed.\n  - **Grandstream GWN access points with SNMP:** NetOrbit reads each access point's own Wi-Fi client list, so every wireless client shows under the access point it is connected to.\n  - **UniFi**, and other integrations that report which access point each client uses (Netgear\u002FOrbi's per-device \"connected AP\" sensors, for example).\n- **Lets you place the rest, three ways:**\n  1. **Drag and drop on the card.** Tap *Edit layout*, drag a device onto its hub, or tap it for *Move to*, *Make it a hub* and *Automatic*. To move a hub (a switch from the router to an access point, say), tap the hub in Edit layout and pick *Connected to*.\n  2. **Paste a client list.** Copy the client list from an access point's web page or a mesh app, paste it into NetOrbit, pick the hub. Done.\n  3. **Ask an AI assistant.** NetOrbit exposes tools to Claude, ChatGPT and other assistants through Home Assistant's MCP Server, and to Assist. The assistant walks you through each piece of gear and does the placing. See [docs\u002FASSISTANT.md](docs\u002FASSISTANT.md).\n- **Looks good even when it knows nothing.** If no source reports the layout, devices are grouped by type (TV and media, computers and phones, cameras, smart home) until you place them.\n- **Remembers when it last saw each device.** Green = answering, yellow = seen within your window (24 h by default), red = gone longer than that. Survives restarts.\n- **Events for automations,** plus ready-made notification blueprints.\n- **Lightweight.** One ping round per interval (default 60 s), one subnet sweep every 5 minutes, one SNMP question per device per hour. A few kilobits per second.\n\n| Wired with access points | Mesh system | Mesh with nothing reporting placement |\n| --- | --- | --- |\n| ![](docs\u002Ffull.png) | ![](docs\u002Fmesh.png) | ![](docs\u002Fnovice.png) |\n\n| Editing on the card |\n| --- |\n| ![](docs\u002Fedit.png) |\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Tested on simulated networks\n\nEvery release is run against hundreds of generated home networks (see [the network simulator](#the-network-simulator)). These are a few of them, drawn by the real card from the real integration's output.\n\n| Router only, 25 devices | Mesh with nothing reporting placement |\n| --- | --- |\n| ![](docs\u002Fsim-flat-25.png) | ![](docs\u002Fsim-mesh.png) |\n\n| UniFi | Managed switches with SNMP |\n| --- | --- |\n| ![](docs\u002Fsim-unifi.png) | ![](docs\u002Fsim-snmp.png) |\n\n| 330 devices behind three managed switches | 360 devices on a busy mesh network |\n| --- | --- |\n| ![](docs\u002Fsim-big-snmp.png) | ![](docs\u002Fsim-big-mesh.png) |\n\n| After three rounds of DHCP changes |\n| --- |\n| ![](docs\u002Fsim-dhcp-tip.png) |\n\nBig networks fold quiet devices into \"+N more\" bubbles (tap one to see the list), while devices that need attention and possible hubs always stay on the map. In the DHCP shot the router reshuffled addresses three times; every name, icon and placement followed its MAC address, and hovering a device whose IP changed shows the reservation tip.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Placing devices by hand\n\nWhatever NetOrbit can't work out, you can fix in about a minute. Full guide, including turning on SNMP so you barely have to: **[docs\u002FSETUP.md](docs\u002FSETUP.md)**.\n\n| Drag a device onto its hub | Confirm a possible hub | On a phone |\n| --- | --- | --- |\n| ![](docs\u002Fhowto-drag.gif) | ![](docs\u002Fhowto-confirm-hub.gif) | ![](docs\u002Fhowto-phone-move.gif) |\n\n### Renaming a device and telling similar devices apart\n\nIn **Edit layout**, tap a device to open its menu. It has a **Name** field, like the one hubs have: type a name and press **Save name** (or Enter). Empty the field to go back to the automatic name. The name follows the device's MAC address, so it survives a new IP address and restarts. NetOrbit saves it as its own name for the device, and the device's sensor in Home Assistant takes that name, so the map, Home Assistant, backups and AI assistants all show the same one. If you had set a name in the sensor's entity settings in Home Assistant, that name is changed too, because it would otherwise hide the new one. Names are cut at 64 characters.\n\nThe menu also shows the device's IP address, MAC address, maker and when it was last seen, even when `show_ip` is off, so you can tell which is which before you name it. Devices that use a private (randomized) MAC address get a note that the name may not stick if the device changes its address.\n\nTip for two devices that look the same, such as two from the same maker: power one off, or look up its IP address in its own app, then see which circle goes grey or which IP matches. Name it, then do the other.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## What your network can tell NetOrbit\n\n| Your setup | Hubs found | Devices placed under the right hub |\n| --- | --- | --- |\n| UniFi with the UniFi integration | Automatically | Automatically (wireless clients) |\n| Managed switches with SNMP on | Automatically | Automatically (wired and wireless, through the switch port) |\n| Netgear\u002FOrbi with the Netgear integration | Suggested | Automatically, once you enable its \"connected AP\" sensors |\n| eero, Google\u002FNest Wifi, Deco, Velop, ISP routers | Suggested | By you: drag and drop, paste a list, or an AI assistant |\n\nHow to turn each of these on, step by step: [docs\u002FSETUP.md](docs\u002FSETUP.md).\n\nPlacement you choose always wins over automatic placement. Each device shows how it was placed, and *Automatic* hands it back to NetOrbit.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Install\n\nNetOrbit is in the default store, so you can find it by searching. On Home Assistant 2026.11 and newer that's the built-in **Marketplace**; on older versions it's **HACS**. It's the same repository either way.\n\nNetOrbit needs Home Assistant 2026.2 or newer.\n\n### Marketplace (Home Assistant 2026.11 and newer)\n\n[![Open NetOrbit in the Marketplace](https:\u002F\u002Fmy.home-assistant.io\u002Fbadges\u002Fmarketplace_repository.svg)](https:\u002F\u002Fmy.home-assistant.io\u002Fredirect\u002Fmarketplace_repository\u002F?owner=the-scott-davis&repository=netorbit&category=integration)\n\n1. Click the button above, or go to **Settings > Marketplace** and search for **NetOrbit**.\n2. Download it. Home Assistant shows a warning that community code runs with full access to your home; read it and confirm.\n3. Set it up when asked, or go to **Settings > Devices & services > Add integration > NetOrbit**. The subnet and router are filled in for you. No restart is needed for a first install.\n4. Refresh your browser once so the card loads, then [add the map to a dashboard](#add-the-map-to-a-dashboard).\n\nUpdates show up in **Settings > Updates** like any other. Updating still needs a restart.\n\n### HACS (Home Assistant 2026.10 and older)\n\n1. In HACS, search for **NetOrbit** and download it, then restart Home Assistant.\n2. Go to **Settings > Devices & services > Add integration > NetOrbit**.\n3. [Add the map to a dashboard](#add-the-map-to-a-dashboard).\n\nHACS on 2026.10 and older shows a blank icon for NetOrbit in its list. That's expected: older HACS only looks up icons on Home Assistant's brand site, which no longer takes new custom integrations. NetOrbit ships its own icon, which Home Assistant shows on the integration's page and the Marketplace shows everywhere.\n\nWhen you later update to 2026.11, Home Assistant moves NetOrbit into the Marketplace for you. Nothing to reinstall, and your settings stay.\n\n### Manual\n\nCopy `custom_components\u002Fnetorbit` into your Home Assistant `config\u002Fcustom_components` folder, restart, add the integration under **Settings > Devices & services**, then [add the map to a dashboard](#add-the-map-to-a-dashboard). You won't get update notifications this way.\n\n## Add the map to a dashboard\n\nSetting up the integration starts tracking your devices (you'll see them as entities), but the map itself is a dashboard card. Add it once:\n\n1. Open a dashboard and click the pencil (**Edit dashboard**) in the top right.\n2. Click **Add card**, search for **NetOrbit**, pick it and save.\n\nOr paste this into a **Manual** card:\n\n```yaml\ntype: custom:netorbit-card\ntitle: Home Network\n```\n\n**Full screen looks best.** Go to **Settings > Dashboards > Add dashboard** and make one just for the map. Edit its view, set the view type to **Panel (single card)**, and add the NetOrbit card there.\n\n**NetOrbit isn't in the card search, or the card says \"Custom element doesn't exist\"?** First make sure you've added the integration under **Settings > Devices & services**. The card only loads once NetOrbit is set up there. Then do a hard refresh (Ctrl+Shift+R, or Cmd+Shift+R on a Mac). The integration serves the card itself, so normally there's no dashboard resource to add. If it still won't load on Home Assistant 2026.10 or older, update NetOrbit to 0.2.3 or newer, or add `\u002Fnetorbit\u002Fnetorbit-card.js` as a **JavaScript module** under **Settings > Dashboards > three-dot menu > Resources** and remove it again after updating.\n\nNext: tap any device for its details, and use **Edit layout** to place anything NetOrbit couldn't work out. The [setup guide](docs\u002FSETUP.md) covers getting more of it placed for you.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Settings\n\nUnder the integration's **Configure** menu:\n\n| Option | What it does |\n| --- | --- |\n| Review suggested hubs | Confirm or dismiss everything NetOrbit thinks might be network gear. |\n| Paste a client list | Paste a client list from an access point, app or switch, pick the hub, and every device in it is placed there. |\n| Add \u002F edit a hub | Add gear NetOrbit can't see, rename hubs, change what they connect to, *Managed by* and extra fields. |\n| Track \u002F edit a device | Name, icon, hub (or *Automatic*), \"allowed to sleep\", *Managed by*, extra fields, stop tracking. |\n| Review new devices | In manual mode, choose which newly found devices to track. |\n| Settings | Tracking mode, ping and scan intervals, the \"not seen\" window, randomized MACs, automatic hubs, grouping by type, the internet check, DNS names first, SNMP on\u002Foff and SNMP community. |\n\n**Tracking mode:** *Automatic* tracks everything it finds. *Manual* only tracks devices you add, and lists the rest under \"New devices\".\n\n**Managed by and extra fields** are free text on any hub or device: a link to its admin page, the name of the switch or controller that manages it (the map jumps there), a location, a serial number, who owns it. Tap the device on the map to read them, and *Edit* (admins) to change them; `netorbit.update_device` and `netorbit.update_hub` set them too.\n\n**Prefer DNS and Bonjour names** (off by default) puts the name your network gives a device first, before what other integrations call it, and uses it for hubs NetOrbit named itself, such as *Router*. Anything you renamed yourself keeps your name.\n\n**Allowed to sleep** is for TVs, consoles and anything else that's off a lot. They still show their status but never fire the stale event.\n\n**Hubs with no IP**, such as an unmanaged switch or an access point in bridge mode, can't be pinged, so they take their status from what's behind them: green if anything behind them is online, yellow if something was seen recently, red only when nothing behind them has been seen for the \"not seen\" window, and grey when nothing is behind them yet or when the only devices behind them are sleeping and off.\n\nA hub with no IP that has the Home Assistant host behind it stays green as long as Home Assistant can ping itself, which it normally can.\n\n**The internet check** (on by default) puts an Internet node just above your router. Each ping round also pings two public DNS servers, Cloudflare's `1.1.1.1` and Google's `8.8.8.8`. The node turns red (\"Internet down\") when neither answers for two rounds in a row while your router still answers, so you can tell an internet outage from a Wi-Fi problem. If the router isn't answering either, it shows grey, because NetOrbit can't tell. Turn it off under **Settings** if you'd rather NetOrbit never sends anything outside your network.\n\n### DHCP, MAC addresses and keeping your setup\n\nMost homes hand out addresses with DHCP, so a device's IP can change at any time. NetOrbit is built for that:\n\n- **Everything is keyed by MAC address.** Names, icons, hub placement, \"allowed to sleep\" and history all follow the device's MAC, so a new IP changes nothing. When a device's IP changes, NetOrbit just pings the new one.\n- **Hubs follow their MAC too.** If an access point gets a new IP, NetOrbit notices on the next sweep and updates it.\n- **Devices added by IP switch to their MAC** as soon as NetOrbit sees them on the network, so they survive the next DHCP change as well.\n- **Renaming works either way.** Rename from the card (Edit layout, tap a device), in NetOrbit's settings, from an AI assistant, or in Home Assistant's own entity settings; the map uses the newest name you set. The one exception is a name typed into Home Assistant's entity settings, which wins over NetOrbit's name until you clear it there (renaming from the card changes it for you).\n- **Back up your setup.** `netorbit.export_config` returns every name, icon, hub and placement, keyed by MAC. `netorbit.import_config` restores it (merging by default), for example after reinstalling. *Managed by* and extra fields in an import get the same checks as when you type them; any that fail are left out and counted as `skipped` in the response.\n\nTips for the tidiest map:\n\n- **Give network gear a DHCP reservation** (sometimes called a static lease or address reservation) in your router: switches, access points and mesh nodes. NetOrbit copes without it, but reserved addresses keep everything else that talks to them happy too. Hovering a hub whose IP has changed shows this tip.\n- **Reserve addresses for devices other things depend on**, like printers, NAS boxes, cameras and Home Assistant itself. Hovering a device whose IP keeps changing shows a reminder.\n- **Phones and laptops** usually use a private (randomized) MAC address per network. NetOrbit hides those by default. Turn off *Ignore randomized MAC addresses* if you want them: on current phones the private address normally stays the same for your network unless the phone is set to rotate it.\n\n### SNMP\n\nSNMP is how managed switches share their MAC address tables. NetOrbit only ever reads (it never changes anything). Once an hour it asks devices whether they speak SNMP using the factory \"public\" community. Your own community is only sent to hubs, suggested hubs and gear from network makers, because SNMP v2c sends it unencrypted and any device that receives it could read it.\n\n- If your switches still use the factory read-only community, there's nothing to do.\n- If you changed it (good idea), enter it under **Settings > SNMP community**. Letters and numbers only work best; some switches silently ignore communities with symbols.\n- Where to turn SNMP on for UniFi, Omada and other switches, and which switches don't have it: [docs\u002FSETUP.md](docs\u002FSETUP.md#2-turn-on-snmp-on-managed-switches).\n- Grandstream GWN access points: turn SNMP on in the access point and NetOrbit reads its Wi-Fi client list. See [docs\u002FSETUP.md](docs\u002FSETUP.md#grandstream-gwn-access-points).\n- Consumer routers and mesh systems don't support SNMP. That's normal.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Card options\n\n| Option | Default | Description |\n| --- | --- | --- |\n| `title` | `Network` | Card title. |\n| `height` | `900` | Maximum height: pixels, or a CSS length. `calc(100vh - 180px)` fills the window below the header on any screen. |\n| `show_ip` | `false` | Show hub IPs under their names instead of the hub type. Off by default so screenshots are safe to share. |\n| `show_legend` | `true` | Show the legend at the bottom. |\n| `show_internet` | `true` | Show the Internet node above the router (needs the internet check turned on in the integration's settings). |\n| `group_by_type` | `true` | Group unplaced devices by type. |\n| `hide_sleepy_offline` | `false` | Hide sleep-allowed devices while they're offline. |\n| `max_devices` | `80` | Above this many devices, each hub shows its problem devices first and folds the rest into a \"+N more\" bubble. |\n| `zoom` | `true` | Pinch, double-tap, Ctrl\u002FCmd+scroll or the + and − buttons zoom the map; drag to look around while zoomed in. `false` for a fixed map. |\n| `device_id` | | Only show one NetOrbit entry when you have several. |\n| `show_share` | `true` | Show the Share button (image or video of the map, with names hidden by default and no addresses). |\n| `layout` | `radial` | `radial`: every device on one ring round the router. `balloon`: each hub in the middle of its own ring of devices, with the hubs below it branching away (good for chains of switches and busy access points). A pick in the header's Radial \\| Balloon switch overrides this for that card in that browser, until the card's options are edited. |\n| `layout_toggle` | `true` | Show the Radial \\| Balloon switch in the header. With `false` the card always shows its `layout`. |\n\nHover a device for a summary. Tap a hub or device for its details: DNS name, addresses, maker, the hub it connects through and how it was placed, *Managed by* and extra fields, first and last seen. *More info* there opens Home Assistant's own dialog. **Long-press a hub** to show just its branch (the hubs and devices below it). The hub above shows in grey: long-press it to go up a level, or use the row under the header to go back up. Pinch or double-tap to zoom in on a busy part of the map (Ctrl\u002FCmd+scroll with a mouse, or the + and − buttons), drag to look around, and zoom out again to scroll the page past the map. Admins get **Edit** in the popup and an **Edit layout** button on the card. Everyone gets **Share**: a PNG to download or copy, or a 7 second video of the scan animation (mp4 where the browser can record it, otherwise webm). The video option only shows up in browsers that can record a canvas, and Copy only where the browser can put images on the clipboard.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Entities, events and services\n\n- One sensor per hub and tracked device. State is `online`, `recent` or `stale` (unknown for a hub with no IP and nothing behind it). Attributes include `ip`, `mac`, `vendor`, `link` (the hub), `placement` (`manual`, `controller`, `snmp` or `none`), `last_seen`, `hostname`, `fqdn` (the full DNS name), `sleepy`, `managed_by` and `fields`.\n- `sensor.netorbit_devices_online` counts online devices and lists `new_devices` and `suggested_hubs`. While a network scan runs it also shows `scanning: true`, the current `scan_phase` (`ping`, `arp`, `names`, `snmp`, `layout`), a rough `scan_progress` (0 to 100) and how many addresses it has `found` so far. `first_scan_done` turns true once the very first scan on this install has finished.\n- `sensor.netorbit_internet` (when the internet check is on): `online`, `stale` (down while the router answers) or unknown.\n\n| Event | Data |\n| --- | --- |\n| `netorbit_new_device` | `name`, `ip`, `mac` |\n| `netorbit_device_stale` | `name`, `ip`, `mac`, `kind`, `last_seen` |\n| `netorbit_device_recovered` | `name`, `ip`, `mac`, `kind`, `last_seen` |\n| `netorbit_internet_down` | `since` |\n| `netorbit_internet_up` | `since` |\n\nEvery service returns a response describing what it did. Devices can be given by name, IP or MAC; hubs by name or id.\n\n| Service | Fields |\n| --- | --- |\n| `netorbit.assign_device` | `device` (one or a list), `hub` |\n| `netorbit.reset_placement` | `device` |\n| `netorbit.import_client_list` | `hub`, `text`, `add_missing` |\n| `netorbit.add_hub` | `name` or `device`, `type`, `parent`, `ip`, `mac` |\n| `netorbit.update_hub` | `hub`, `name`, `type`, `parent`, `managed_by`, `fields` |\n| `netorbit.remove_hub` | `hub` |\n| `netorbit.confirm_hub` | `device`, `type`, `name` |\n| `netorbit.dismiss_hub` | `device` |\n| `netorbit.track_device` | `mac` or `ip`, `name`, `icon`, `hub`, `sleepy` |\n| `netorbit.update_device` | `device`, `name`, `icon`, `hub`, `sleepy`, `managed_by`, `fields` (`{label: value}`, an empty value removes the label) |\n| `netorbit.export_config` | none (returns your settings, keyed by MAC) |\n| `netorbit.import_config` | `data` (an export), `replace` |\n| `netorbit.ignore_device` | `device` or `mac` or `ip` |\n| `netorbit.scan_now` | none |\n\n### Blueprints\n\n- [Notify when a device goes offline](blueprints\u002Fautomation\u002Fnetorbit\u002Fdevice_offline_notify.yaml)\n- [Notify when a new device joins](blueprints\u002Fautomation\u002Fnetorbit\u002Fnew_device_notify.yaml)\n\nImport either from **Settings > Automations & scenes > Blueprints > Import blueprint** using the file's GitHub URL. The Marketplace and HACS install the integration only, so blueprints are always imported this way.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Requirements and limits\n\n- Home Assistant needs to be on the same network as your devices, with host networking. Home Assistant OS and supervised installs are. Docker installs need `network_mode: host`.\n- Presence is based on ping. Devices that block ping show as not seen even when connected. Mark them as allowed to sleep, or ignore them.\n- Phones and laptops often use a private MAC address per network. Those are ignored by default since they can change, and they roam between access points anyway.\n- If an access point and wired devices share one switch port through an unmanaged switch, the switch can't tell them apart, so those wired devices may be drawn under the access point. Move them by hand if it matters to you.\n- Placements from pasted lists are a snapshot. TVs, cameras and smart home gear stay put, so that's fine for them.\n- IPv4 only, up to 1024 hosts per entry. Add one entry per subnet if you have several.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Privacy\n\nNetOrbit runs on your network. The only thing it sends outside it is the internet check: a ping to `1.1.1.1` and `8.8.8.8` each round, which you can turn off under **Settings**. No data about your network goes with it. Maker names come from a list bundled with Home Assistant. Diagnostics downloads replace every IP, MAC and name with placeholders, so they're safe to attach to an issue. The card hides IPs by default. Shared images and videos are made in your browser and never hold an IP or MAC address; with \"Hide device names\" on (the default) they hold no names either.\n\n## Roadmap\n\n- Omada placement through the Omada controller.\n- ARP based presence for devices that block ping.\n- A visual card editor.\n\n\u003Cp align=\"right\">\u003Csub>\u003Ca href=\"#netorbit\">back to the map\u003C\u002Fa>\u003C\u002Fsub>\u003C\u002Fp>\n\n## Contributing\n\nPull requests are welcome from anyone, no permission needed. Fork the repo, make a branch, and open a PR against `main`. PRs are squash-merged with you kept as the commit author, so you show up in the history and the Contributors list. [CONTRIBUTING.md](CONTRIBUTING.md) has the full steps, what CI checks, and how review and releases work.\n\nTo run the checks locally:\n\n```bash\npython -m venv .venv && . .venv\u002Fbin\u002Factivate\npip install -r requirements_test.txt\npytest\nnode --test tests\u002Fcard.test.js\npython scripts\u002Fcheck_examples.py\n```\n\nThe section map at the top of this page is drawn by `python scripts\u002Fdocs\u002Fnav.py` (it needs the `mdi.js` file described below).\n\nExamples, tests and docs only use the address ranges reserved for documentation (`192.0.2.x`, `00:00:5e:00:53:xx`), never values from a real network. `scripts\u002Fcheck_examples.py` enforces that, and CI runs it on every push.\n\nPreview the card with fake data: `npm i @mdi\u002Fjs@7.4.47` and copy `node_modules\u002F@mdi\u002Fjs\u002Fmdi.js` to `scripts\u002Fpreview\u002F`, serve the repo root (`python -m http.server 8766`), and open `http:\u002F\u002Flocalhost:8766\u002Fscripts\u002Fpreview\u002Findex.html?s=full` (or `mesh`, `flat`, `novice`). `scripts\u002Fpreview\u002Finteract.js` drives edit mode in a real browser with Playwright.\n\n### The network simulator\n\n`tests\u002Ftest_simulation.py` generates hundreds of home networks with a known true layout (flat routers, mesh with nothing reporting, UniFi, one or several managed switches, unmanaged switches in between, routers that speak SNMP, odd gateways, randomized MACs, devices that ignore ping, DHCP churn, aged-out MAC table entries, wrong SNMP communities, duplicate and non-ASCII names, up to several hundred devices) and runs the real integration against each one. It fails on crashes, duplicates, loops, devices placed on the wrong branch, manual placement not winning, state lost on restart, or real addresses in diagnostics. `pytest -s -k simulation` prints a report of how much it found and placed.\n\nTo draw every simulated map in a browser and check for errors and overlaps: `NETORBIT_DUMP=scripts\u002Fpreview\u002F_simstates pytest -k simulation`, serve the repo root, then `node scripts\u002Fpreview\u002Ffuzz.js`.\n\n## License\n\nMIT\n","NetOrbit 是一款面向 Home Assistant 的实时径向网络拓扑可视化插件，用于动态呈现家庭网络中设备与网关（如路由器、AP、交换机）之间的连接关系。它通过主动扫描自动发现在线设备，按实际连接层级以环形结构布局，并支持拖拽调整、粘贴客户端列表或调用 AI 辅助修正拓扑；提供扫描动画、隐私友好的地图分享（默认隐藏真实名称与地址）及轻量级 SNMP\u002FARP 探测能力。适用于家庭网络运维、IoT 设备管理、网络故障定位及智能家居系统集成等场景。",2,"2026-11-24 04:40:45","CREATED_QUERY"]