[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111601":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":36,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":15,"starSnapshotCount":15,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},111601,"unfr0zen","unfr0zen\u002Funfr0zen","Root the Nest Learning Thermosta over USB for local control over MQTT, Matter or Zigbee, without Google's cloud.","https:\u002F\u002Funfr0zen.com",null,"Rust",137,17,8,10,0,7,55,74,59,85.09,"GNU General Public License v3.0",false,"main",[25,26,27,28,29,30,31,32,33,34,35],"home-assistant","local-control","matter","mqtt","nest","nest-thermostat","reverse-engineering","rust","thread","zigbee","zigbee2mqtt","2026-11-23 18:44:43","2026-11-23 19:23:07","# unfr0zen\n[![Build](https:\u002F\u002Fdl.circleci.com\u002Fstatus-badge\u002Fimg\u002Fgh\u002Funfr0zen\u002Funfr0zen\u002Ftree\u002Fmain.svg?style=shield)](https:\u002F\u002Fdl.circleci.com\u002Fstatus-badge\u002Fredirect\u002Fgh\u002Funfr0zen\u002Funfr0zen\u002Ftree\u002Fmain)\n[![GitHub Release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Funfr0zen\u002Funfr0zen?include_prereleases&color=06b6d4)](https:\u002F\u002Fgithub.com\u002Funfr0zen\u002Funfr0zen\u002Freleases)\n[![GitHub License](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flicense\u002Funfr0zen\u002Funfr0zen?v=1)](LICENSE)\n[![Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-join-5865F2?logo=discord&logoColor=white)](https:\u002F\u002Fdiscord.gg\u002F4YC7Yj3Tx)\n[![Buy Me a Coffee](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FBuy%20Me%20a%20Coffee-ffdd00?logo=buymeacoffee&logoColor=black)](https:\u002F\u002Fbuymeacoffee.com\u002Fwilltm)\n\nRoot and free the Nest Learning Thermostat (1st, 2nd and 3rd generation) over USB.\nLocal control over MQTT, Matter (Wi-Fi, Thread) or Zigbee, no Google cloud needed.\n\n> [!CAUTION]\n> **This rewrites the flash of the device that runs your heating.** A failed run\n> or a bad patch can leave the thermostat unbootable, or running without\n> controlling your heating or cooling. Back up the NAND before the first run\n> ([Undo it](#undo-it)) and have another way to heat or cool the house while you\n> test.\n>\n> Claude Code has been used to speed up the app's GUI, the documentation and the\n> tests. unfr0zen comes **without any warranty**: you use it at your own risk\n> ([Disclaimers](#disclaimers)).\n\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"assets\u002Foverview-dark.svg\">\n  \u003Cimg alt=\"Inside the thermostat, Nest's nlclient app still runs the screen and drives the backplate's heating and cooling wires. nestlocal stands in for Nest's cloud on 127.0.0.1: it reaches an MQTT broker and Matter controllers over Wi-Fi, a Zigbee coordinator through the 802.15.4 radio over SPI, and a Thread border router through OpenThread's ot-daemon and the same radio, which carries Matter over Thread. Nest's and Google's servers are resolved to 0.0.0.0 in \u002Fetc\u002Fhosts.\" src=\"assets\u002Foverview-light.svg\">\n\u003C\u002Fpicture>\n\n## What you get\n\n| | Stock | With unfr0zen |\n|-|-|-|\n| Control from | the Nest\u002FGoogle Home app, through Google's cloud | Home Assistant or any MQTT client, Matter controller or Zigbee coordinator, on your network |\n| Internet access | required | not needed: the unit only has to join your Wi-Fi |\n| Nest and Google servers | always contacted | blocked with Block cloud (`--block-cloud`) |\n| Integrations | none | MQTT, Matter over Wi-Fi or Thread, Zigbee router |\n| Room temperature | the thermostat's own sensor, or Nest Temperature Sensors | any thermometer in Home Assistant too, with External temperature (`--external-temperature`) |\n| Extras | none | SSH (`--ssh`), Doom (`--doom`), whole-NAND backup and restore |\n\n## Supported thermostats\n\n| Device | Codename | MQTT | Matter | Zigbee | External temperature |\n|-|-|:-:|:-:|:-:|:-:|\n| Nest Learning Thermostat (3rd generation) | `diamond3` | ✅ | ✅ Wi-Fi · ✅ Thread | ✅ | ✅ |\n| Nest Learning Thermostat (2nd generation) | `j49` | ✅ | ✅ Wi-Fi · ✅ Thread | ✅ | ✅ |\n| Nest Learning Thermostat (1st generation) | `diamond` | ✅ | ✅ Wi-Fi · — Thread | — | ✅ |\n\n✅ supported · — not available\n\n\u003Csub>No other model is supported: not the Nest Thermostat E, any other Nest thermostat, or another make.\u003C\u002Fsub>\n\n- **External temperature:** the thermostat regulates from a temperature you send\n  it over MQTT, Matter or Zigbee (any thermometer in Home Assistant). Official\n  Nest Temperature Sensors are not supported: on the 3rd generation the option\n  turns Bluetooth off, and the 1st and 2nd generation never had them.\n- **1st generation:** it has to be opened up to reach USB download mode: see the\n  [install guide](https:\u002F\u002Funfr0zen.com\u002Finstall\u002F#gen1). Its CC2530 radio uses UART,\n  not the 2nd generation's SPI protocol, so there is no Zigbee or Matter over\n  Thread, and it has no USB shell.\n- **Matter and sleep:** the thermostat sleeps and wakes for a controller's\n  messages. On the 3rd generation a controller looking it up wakes it too; the\n  2nd generation's Wi-Fi chip lets no lookup through while it sleeps, so it\n  answers them on its own wakes.\n- **Thread and Zigbee** share the 2nd and 3rd generation's 802.15.4 radio (an\n  EM357 or EM3581 on SPI), so only one of them can be on, and on European\n  models either one replaces the wireless Heat Link connection. Zigbee drives\n  it directly; Matter over Thread goes through OpenThread's `ot-daemon`.\n\nMQTT, Matter and Zigbee are nestlocal's: choosing any of them installs it on the\nthermostat. With MQTT or Matter, the thermostat reaches the broker or the\ncontroller over Wi-Fi, joined from its own menu (Settings → Network); the\nnetwork doesn't need internet access.\n\n### Tested firmware\n\n| Device | Nest firmware |\n|-|-|\n| Nest Learning Thermostat (3rd generation) | 5.9.4-5, 6.3-5, 6.4-8, 6.5-14 |\n| Nest Learning Thermostat (2nd generation) | 5.9.4-5 |\n\nOther versions aren't blocked: unfr0zen patches them on their structure and\nkeeps the stock nlclient beside the run log. Running a version not listed here?\n[Open an issue](https:\u002F\u002Fgithub.com\u002Funfr0zen\u002Funfr0zen\u002Fissues) with the run log.\n\n## Requirements\n1. **A USB data cable.** Gen 1 uses mini-USB; Gen 2 and 3 use micro-USB. Charge-only cables won't work.\n2. **Windows (x86_64, arm64), macOS 13+ (universal, arm64, x86_64) or Linux (x86_64, arm64, riscv64; glibc 2.28+).**\n\n## Install\nDownload the latest build from the [releases page](https:\u002F\u002Fgithub.com\u002Funfr0zen\u002Funfr0zen\u002Freleases).\n\n- **Windows:** unzip and run `unfr0zen.exe`. 1st and 2nd generation: the first run\n  installs the boot ROM's WinUSB driver (`0451:d00e`), after an administrator prompt.\n- **macOS:** unzip and open `unfr0zen.app`. It is signed ad hoc, not notarized: run\n  `xattr -dr com.apple.quarantine unfr0zen.app`, or allow it under System Settings → Privacy & Security.\n- **Linux:** `tar xf unfr0zen-linux-x86_64-vX.Y.Z.tar.gz && .\u002Funfr0zen`, after the one-time USB setup below.\n\n\u003Cdetails>\n\u003Csummary>Linux: USB access and runtime dependencies (click to expand)\u003C\u002Fsummary>\n\nRun both the app and CLI as your normal user, without `sudo`. Both need the\nsame one-time udev setup below; neither requests elevated privileges. Keep the\n`70-` prefix: the rule has to run before systemd's `73-seat-late.rules` for\n`uaccess` to grant the active local user USB access.\n\n```sh\nsudo tee \u002Fetc\u002Fudev\u002Frules.d\u002F70-unfr0zen.rules > \u002Fdev\u002Fnull \u003C\u003C'EOF'\n# i.MX ROM serial download, recovery U-Boot\nATTRS{idVendor}==\"15a2\", ATTRS{idProduct}==\"0071\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\nATTRS{idVendor}==\"18d1\", ATTRS{idProduct}==\"4ee0\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\n# unfr0zen initramfs shell and the Nest application's console\nATTRS{idVendor}==\"0525\", ATTRS{idProduct}==\"a4a7\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\nATTRS{idVendor}==\"0525\", ATTRS{idProduct}==\"b4a4\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\nATTRS{idVendor}==\"2464\", ATTRS{idProduct}==\"0030\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\nATTRS{idVendor}==\"2464\", ATTRS{idProduct}==\"0031\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\n# diamond\u002Fj49: OMAP boot ROM (and x-loader, the flasher), each application's gadget\nATTRS{idVendor}==\"0451\", ATTRS{idProduct}==\"d00e\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\nATTRS{idVendor}==\"2464\", ATTRS{idProduct}==\"0001\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\nATTRS{idVendor}==\"2464\", ATTRS{idProduct}==\"0002\", TAG+=\"uaccess\", ENV{ID_MM_DEVICE_IGNORE}=\"1\"\nEOF\nsudo udevadm control --reload-rules && sudo udevadm trigger\n```\n\nReconnect the unit afterwards if it is already plugged in. The same rules cover\nboth the USB device and its HID\u002Fserial interfaces as it switches recovery modes.\n\nBoth frontends save logs to `~\u002F.local\u002Fshare\u002Funfr0zen\u002Flogs\u002F\u003Ctimestamp>\u002Funfr0zen.log`\n(or `$XDG_DATA_HOME\u002Funfr0zen\u002Flogs\u002F\u003Ctimestamp>\u002Funfr0zen.log` when set). Errors creating\nrun or log directories include the affected path.\n\n| Dependency | Why |\n|-|-|\n| A Wayland or X11 desktop with OpenGL or Vulkan drivers (Arch: `mesa`, or your GPU's driver) | Draws the window. |\n| `xdg-desktop-portal` and the backend for your desktop (Arch: `xdg-desktop-portal-gtk`, `-kde` or `-gnome`) | The file picker for the MQTT CA certificate. |\n| `libudev` (part of systemd) | USB access. |\n\n\u003C\u002Fdetails>\n\n## Usage\n**App:** open it, tick the integrations on the Patch page, fill in their\nsettings (the MQTT broker, Matter's pairing code), plug in the thermostat,\npress **Start** and follow the prompts. The sidebar's other pages are Backups\n(the whole-NAND images the app keeps, with back up, restore and delete), Logs\n(every run's steps and log), About and, under Advanced, the 3rd generation's\napplication boot and a serial console on a patched unit's USB root shell.\n\n\u003Cp align=\"center\">\u003Ca href=\"https:\u002F\u002Funfr0zen.com\u002F\">\u003Cimg src=\"assets\u002Fapp.png\" width=\"100%\" alt=\"The unfr0zen app on macOS, rotating through its Patch page's Integrations and Features steps and its Backups page.\">\u003C\u002Fa>\u003C\u002Fp>\n\n**CLI (Linux and macOS):** the same executable, run with arguments, works from a\nterminal, over SSH or headless, with a few things the app doesn't have\n(`--nand-image`, `verify`, `uboot`, `nlclient`). On macOS it is\n`unfr0zen.app\u002FContents\u002FMacOS\u002Funfr0zen`. Windows has the app only.\n```\nunfr0zen [OPTIONS] [COMMAND]\n\nCommands:\n  backup    Back up the whole NAND to a file, with its SHA-256\n  verify    Compare a NAND backup with the NAND\n  restore   Write a verified NAND backup back to the NAND\n  boot      Boot the application firmware\n  uboot     Load recovery U-Boot over USB and leave it at its prompt (3rd generation)\n  nlclient  Patch a local stock nlclient, or restore it from its undo journal\n\nCommon options:\n  --device \u003CGEN>         diamond, j49 or diamond3 instead of the USB identity\n  --mqtt \u003CURL>          Relay to this MQTT broker\n  --matter              Serve the unit over Matter (default code 0347-100-5534)\n  --matter-thread       Serve Matter over Thread too (replaces Heat Link; excludes --zigbee)\n  --zigbee              Join a Zigbee network as a router (replaces Heat Link)\n  --external-temperature  Regulate from temperatures sent to it (turns off the 3rd generation's Bluetooth)\n  --doom                Install Doom, launched from UNFR0ZEN → Doom\n  --ssh                 Run an SSH server on the unit\n  --block-cloud         Cut the unit off from Nest's and Google's servers\n```\nRun `unfr0zen --help` for every option.\n\nSetting up MQTT, Matter, Thread, Zigbee, the external temperature and Doom, with the app's and the CLI's\noptions side by side: [unfr0zen.com\u002Fintegrations](https:\u002F\u002Funfr0zen.com\u002Fintegrations\u002F).\n\n## Updating\nRelease builds keep themselves current: the window checks for a newer release\nwhen it starts and offers to install it next to its version, and\n`unfr0zen update` does the same for the command-line tool. On macOS the window\nreplaces its whole `unfr0zen.app`. Development builds (a `git describe` with\ncommits past a tag, or local changes) never update.\n\n## Undo it\n- **Before the first run:** the app's Patch page offers a backup of the\n  whole NAND just before patching, with the unit in recovery once for both;\n  the Backups page's Back up unit (or `unfr0zen backup`) takes one on its\n  own. `unfr0zen verify` compares a backup with the unit.\n- **To go back to stock:** Restore to unit (or `unfr0zen restore`) writes\n  that backup back to the unit.\n\n## When something is wrong\n**The app doesn't see the thermostat.** Use a USB cable that carries data:\ncharge-only cables are the usual cause. Connect to the USB port on the back of\nthe detached display, not the power-only USB port on a European stand or Heat\nLink base. On Windows, the 1st and 2nd generation need the WinUSB driver the\napp installs for `0451:d00e`: accept its administrator prompt. On Linux, add the\n[udev rule](#install) and reconnect the unit.\n\n**Windows stops with `ACM interface for 18d1:4ee0 did not appear` (3rd generation).**\nAn Android driver installed earlier has claimed the recovery device, so its\nconsole gets no COM port. While the thermostat is in recovery, open Device\nManager, find **Android Bootloader Interface**, choose Update driver → Browse\nmy computer → Let me pick → Universal Serial Bus devices → **USB Composite\nDevice**. The choice persists; run again.\n\n**macOS won't open the app.** It is signed ad hoc, not notarized: run\n`xattr -dr com.apple.quarantine unfr0zen.app`, or allow it under System\nSettings → Privacy & Security.\n\n**Home Assistant shows the thermostat offline.** The availability topic is\nonline only while the thermostat's app calls in to nestlocal and nestlocal is\nconnected to the broker. Check that the unit is on Wi-Fi (Settings → Network)\nand that it reaches the broker URL you gave it.\n\nStill stuck? [Open an issue](https:\u002F\u002Fgithub.com\u002Funfr0zen\u002Funfr0zen\u002Fissues\u002Fnew) with:\n- How you ran it (app or CLI, with the options used) and the OS of your computer\n- The full log of the run\n- What the thermostat screen showed\n\n## Disclaimers\nunfr0zen is provided **as is, without any warranty**. We are **NOT** responsible\nfor any data loss, a bricked thermostat, damage to your heating or cooling\nsystem, or anything else that happens to your device. By using unfr0zen you\naccept full responsibility for the result.\n- Modifying the thermostat voids its warranty and may break Google's services for it.\n- Matter uses the test vendor ID (0xFFF1) and test attestation; controllers treat the unit as uncertified.\n- unfr0zen is not affiliated with, endorsed or sponsored by Google LLC or Nest Labs.\n  Nest and Nest Learning Thermostat are trademarks of Google LLC.\n\n## Building\nSee [BUILDING.md](BUILDING.md).\n\n## License\nunfr0zen is licensed under the [GNU General Public License v3.0](LICENSE).\nBundled third-party components keep their own licenses: U-Boot and its patches\n(GPL-2.0+), busybox (GPL-2.0), doomgeneric (GPL-2.0), the `zbwake` kernel\nmodule (GPL-2.0). DOOM1.WAD is id Software's shareware episode, redistributed\nunder its shareware terms.\n\n## Credits\n- U-Boot (i.MX) — [NXP](https:\u002F\u002Fgithub.com\u002Fnxp-imx\u002Fuboot-imx)\n- BusyBox — [the BusyBox project](https:\u002F\u002Fbusybox.net)\n- rs-matter — [Project CHIP](https:\u002F\u002Fgithub.com\u002Fproject-chip\u002Frs-matter)\n- OpenThread — [the OpenThread project](https:\u002F\u002Fgithub.com\u002Fopenthread\u002Fopenthread)\n- Gecko SDK \u002F EmberZNet — [Silicon Labs](https:\u002F\u002Fgithub.com\u002FSiliconLabs\u002Fgecko_sdk)\n- doomgeneric — [ozkl](https:\u002F\u002Fgithub.com\u002Fozkl\u002Fdoomgeneric)\n- DOOM — [id Software](https:\u002F\u002Fgithub.com\u002Fid-Software\u002FDOOM)\n- CVE-2017-7932 and CVE-2017-7936 — [Quarkslab](https:\u002F\u002Fquarkslab.com)\n- diamond3 official loader — [@evan-hoddinott](https:\u002F\u002Fgithub.com\u002Fevan-hoddinott)\n- cuckoo loader — [@ajb142](https:\u002F\u002Fgithub.com\u002Fajb142)\n- cuckoo loader gen 1 — [@guyman70718](https:\u002F\u002Fgithub.com\u002Fguyman70718)\n","unfr0zen 是一个用于本地化接管 Nest Learning Thermostat（第1–3代）的开源工具，通过 USB 连接实现设备固件级控制，摆脱对 Google 云服务的依赖。它支持将温控器接入本地智能家居生态，提供 MQTT、Matter（Wi-Fi\u002FThread）和 Zigbee 协议桥接能力，并具备云通信拦截、外部温度源集成、NAND 备份恢复等关键功能，全部基于 Rust 实现高可靠性与安全性。适用于追求隐私保护、离线可控及深度 Home Assistant 集成的家庭自动化场景，尤其适合已部署 Matter 或 Zigbee 网关的本地化智能环境。",2,"2026-11-24 04:41:17","CREATED_QUERY"]