ChirpStack
The ChirpStack integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] connects your ChirpStack LoRaWAN network to Home Assistant. Select a tenant and its applications to make their devices available to LoRaWAN device integrations.
Supported devices
Install a LoRaWAN device integration to add sensors or controls for its supported models.
Prerequisites
- A running ChirpStack v4 server with devices registered in an application.
- Access from Home Assistant to the server’s gRPC API. If you use a reverse proxy, configure it to forward gRPC traffic.
- Device event retention enabled in ChirpStack.
- A ChirpStack API key with access to the tenant and its applications, devices, and device profiles.
- The tenant UUID if your key is restricted to one tenant. You can find it in the URL after opening the tenant in ChirpStack.
Create an API key in ChirpStack’s API keys page, either at server level or inside the tenant. A read-only key can receive data, but device commands require write access.
Use a device profile linked to the matching model in ChirpStack’s global device catalog so Home Assistant can identify the manufacturer and model.
Configuration
To add the ChirpStack hub to your Home Assistant instance, use this My button:
Manual configuration steps
If the above My button doesn’t work, you can also perform the following steps manually:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select ChirpStack.
-
Follow the instructions on screen to complete the setup.
The ChirpStack server address, such as http://192.168.1.20:8080. You can paste a URL from the ChirpStack web interface; Home Assistant keeps the scheme, host, and port. Use https:// for a secure connection with a trusted certificate.
Select a tenant from the list. For a tenant-scoped key, enter its UUID instead. This step is skipped when the key can list exactly one tenant.
Home Assistant discovers device integrations for the selected applications. Confirm them to add supported devices. To connect another tenant, add another ChirpStack entry.
Data updates
Device readings arrive through ChirpStack’s live event stream. The integration checks for added and removed devices every 30 seconds. If the connection fails, Home Assistant retries it automatically. If ChirpStack rejects the API key, Home Assistant asks you to authenticate again.
Known limitations
- ChirpStack v3 and gRPC-Web endpoints are not supported.
- Devices must use a recognized manufacturer and model identity in their device profile.
- Measurements sent while Home Assistant is offline are not recovered.
Troubleshooting
API key rejected
No devices or readings appear
Symptom: Devices are missing or sensor readings remain unknown
Description
Home Assistant cannot identify the device model or has not received a reading.
Resolution
Check that the applications contain devices and that their profiles identify a model supported by a Home Assistant device integration. A custom payload formatter does not provide the manufacturer and model identity.
If devices appear but readings remain unknown, check that ChirpStack retains device events and that the Home Assistant and ChirpStack clocks are synchronized. Readings update when an uplink arrives.
Removing the integration
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- Next to the entry you want to remove, select the three dots
menu. Then, select Delete. - Depending on the integration, the entries are listed under one of the following headings:
- Devices
- Hubs
- Services
- Integration entries
- Depending on the integration, the entries are listed under one of the following headings:
- To confirm, select Delete.
- Home Assistant also deletes the devices and entities of the entry.
- If Home Assistant asks you to restart, restart Home Assistant.
- If Home Assistant asks whether to also delete the application credentials, select Remove or Keep.
- If you keep them, Home Assistant uses them automatically when you add the integration again.
- To delete them later, refer to Deleting application credentials.
Removing the ChirpStack entry disconnects that tenant from Home Assistant and removes its devices from the corresponding device integrations. It does not delete devices or applications from ChirpStack.