# No Longer Evil ## Docs - [Authentication](https://docs.nolongerevil.com/api-reference/authentication.md): Authentication differences between the hosted service and self-hosted server - [POST /command](https://docs.nolongerevil.com/api-reference/control/command.md): Send a control command to a thermostat - [POST /api/configure-nest](https://docs.nolongerevil.com/api-reference/control/configure-nest.md): Point a discovered Nest device at this server - [Control API Overview](https://docs.nolongerevil.com/api-reference/control/control-overview.md): Self-hosted control API on port 8082 — commands, status, and device management - [GET /api/devices](https://docs.nolongerevil.com/api-reference/control/devices.md): List all registered devices and their current state - [GET /api/events](https://docs.nolongerevil.com/api-reference/control/events.md): Server-Sent Events stream of device state changes - [GET /health](https://docs.nolongerevil.com/api-reference/control/health.md): Server health check - [POST /notify-device](https://docs.nolongerevil.com/api-reference/control/notify.md): Force-push current state to all device subscribers - [POST /api/register](https://docs.nolongerevil.com/api-reference/control/register.md): Claim an entry key and register a device to a user - [POST /api/scan-network](https://docs.nolongerevil.com/api-reference/control/scan.md): Scan the local subnet for Nest devices - [GET /api/schedule](https://docs.nolongerevil.com/api-reference/control/schedule.md): Get the current weekly schedule for a device - [GET /status](https://docs.nolongerevil.com/api-reference/control/status.md): Get the full state of a specific device - [API Introduction](https://docs.nolongerevil.com/api-reference/introduction.md): Overview of the No Longer Evil APIs — hosted service and self-hosted server - [GET/POST /nest/entry](https://docs.nolongerevil.com/api-reference/thermostat/entry.md): Device service discovery — first request a thermostat makes on boot - [GET /info](https://docs.nolongerevil.com/api-reference/thermostat/info.md): Server provisioning info — used by the firmware installer - [GET /nest/passphrase](https://docs.nolongerevil.com/api-reference/thermostat/passphrase.md): Entry key generation and pairing status for device claiming - [GET /nest/ping](https://docs.nolongerevil.com/api-reference/thermostat/ping.md): Device protocol health check - [GET /nest/transport/device/{serial}](https://docs.nolongerevil.com/api-reference/thermostat/transport-device.md): List device objects (bucket metadata) for a given serial - [POST /nest/transport/put](https://docs.nolongerevil.com/api-reference/thermostat/transport-put.md): Device-to-server state updates (PUT) - [POST /nest/transport](https://docs.nolongerevil.com/api-reference/thermostat/transport-subscribe.md): Long-poll subscribe endpoint — core of the Nest device protocol - [POST /nest/upload](https://docs.nolongerevil.com/api-reference/thermostat/upload.md): Device log upload endpoint - [GET /nest/weather/v1](https://docs.nolongerevil.com/api-reference/thermostat/weather.md): Weather proxy endpoint for thermostat weather data - [Delete Device](https://docs.nolongerevil.com/api-reference/v1/delete-device.md): Remove a device from your account - [List Devices](https://docs.nolongerevil.com/api-reference/v1/devices.md): Get all thermostats accessible by your API key - [Get Device Status](https://docs.nolongerevil.com/api-reference/v1/get-status.md): Retrieve complete device state including temperature, mode, and settings - [Get/Update Schedule](https://docs.nolongerevil.com/api-reference/v1/schedule.md): Retrieve or modify the thermostat schedule - [Set Away Mode](https://docs.nolongerevil.com/api-reference/v1/set-away.md): Toggle between home and away modes for energy savings - [Control Fan](https://docs.nolongerevil.com/api-reference/v1/set-fan.md): Set fan mode or start a fan timer - [Temperature Lock](https://docs.nolongerevil.com/api-reference/v1/set-lock.md): Enable or disable temperature lock with PIN protection - [Set HVAC Mode](https://docs.nolongerevil.com/api-reference/v1/set-mode.md): Change the heating/cooling mode of your thermostat - [Set Temperature](https://docs.nolongerevil.com/api-reference/v1/set-temperature.md): Set the target temperature for heating or cooling - [Set Temperature Range](https://docs.nolongerevil.com/api-reference/v1/set-temperature-range.md): Set temperature range for heat-cool (auto) mode - [Choose Your Path](https://docs.nolongerevil.com/choose-your-path.md): Hosted service or self-hosted? Pick the right setup for you - [Device Compatibility](https://docs.nolongerevil.com/compatibility.md): Check if your Nest Thermostat is compatible with No Longer Evil - [Claiming Additional Devices](https://docs.nolongerevil.com/hosted/claiming-device.md): Link multiple Nest thermostats to your account - [Installation Guide](https://docs.nolongerevil.com/hosted/installation.md): Step-by-step instructions to flash firmware and set up your Nest thermostat - [Hosted Service Overview](https://docs.nolongerevil.com/hosted/overview.md): Get started with No Longer Evil in under 30 minutes - [Troubleshooting](https://docs.nolongerevil.com/hosted/troubleshooting.md): Solutions to common issues with hosted service setup - [Introduction](https://docs.nolongerevil.com/introduction.md): Take back control of your Nest Thermostat with No Longer Evil - [Authentication](https://docs.nolongerevil.com/nest-protocol/authentication.md): HTTP Basic Auth, device identification, and entry key pairing - [device bucket](https://docs.nolongerevil.com/nest-protocol/bucket-device.md): The largest bucket — device telemetry, configuration, hardware state, and sensor readings - [schedule bucket](https://docs.nolongerevil.com/nest-protocol/bucket-schedule.md): Temperature schedule — JSON format, sync guards, and how to push/read schedules - [shared bucket](https://docs.nolongerevil.com/nest-protocol/bucket-shared.md): Active temperature setpoint, HVAC mode, and current conditions - [structure bucket](https://docs.nolongerevil.com/nest-protocol/bucket-structure.md): Home-level settings — eco mode, away state, and device associations - [Bucket System](https://docs.nolongerevil.com/nest-protocol/bucket-system.md): How device state is organized — object keys, revisions, timestamps, and all 28 bucket types - [user bucket](https://docs.nolongerevil.com/nest-protocol/bucket-user.md): Pairing completion — the bucket that dismisses the setup screen - [Connection Architecture](https://docs.nolongerevil.com/nest-protocol/connection-architecture.md): How the thermostat and server communicate — full device lifecycle - [Device State Model](https://docs.nolongerevil.com/nest-protocol/device-state.md): HVAC modes, temperature fields, read-only sensors, and equipment capabilities - [Implementation Notes](https://docs.nolongerevil.com/nest-protocol/implementation-notes.md): Critical quirks, timing constraints, and battery behavior for server implementers - [NLE vs Google Nest Cloud](https://docs.nolongerevil.com/nest-protocol/nle-differences.md): How NoLongerEvil differs from the original Google Nest cloud implementation - [Overview](https://docs.nolongerevil.com/nest-protocol/overview.md): What the Nest Cloud Protocol is and how NoLongerEvil implements it - [Temperature Schedules](https://docs.nolongerevil.com/nest-protocol/schedules.md): How to push, read, and manage weekly temperature schedules - [Transport & Long-Poll](https://docs.nolongerevil.com/nest-protocol/transport.md): The subscribe/push mechanism — the heart of the Nest protocol - [Self-Hosted Installation Guide](https://docs.nolongerevil.com/self-hosted/installation.md): Complete guide to setting up your own No Longer Evil infrastructure - [Self-Hosted Overview](https://docs.nolongerevil.com/self-hosted/overview.md): Run your own No Longer Evil infrastructure for complete control - [Self-Hosted Prerequisites](https://docs.nolongerevil.com/self-hosted/prerequisites.md): Everything you need before starting self-hosted installation - [Self-Hosted Troubleshooting](https://docs.nolongerevil.com/self-hosted/troubleshooting.md): Solutions to common issues when self-hosting No Longer Evil - [Frequently Asked Questions](https://docs.nolongerevil.com/support/faq.md): Common questions about No Longer Evil - [How Google Blocks Older Devices](https://docs.nolongerevil.com/why-google-blocks.md): Understanding how Google intentionally blocks Gen 1 & Gen 2 Nest Thermostats ## OpenAPI Specs - [openapi](https://docs.nolongerevil.com/api-reference/openapi.json) ## Optional - [GitHub](https://github.com/codykociemba/NoLongerEvil-Thermostat) - [Community](https://discord.gg/AffeGaJ5XS)