A Home Assistant integration that allows you to receive LoRaWAN device data from ChirpStack via HTTP integration.
- Creates devices with binary_sensors and sensors.
- Basic unit of measurement detection.
- Supports configuring multiple platforms / endpoints.
- Header authentication.
- Entities and their last values survive Home Assistant restarts.
- MClimate Vicki: a climate entity (set target temperature) and a child lock switch.
chirpstack_http.send_downlinkaction to send raw hex downlinks to any device.
- Your home assistant http port to be accessible from chirpstack.
- Chirpstack needs to decode the uplink with a codec. This component does not support decoding.
- Ensure HACS is installed in your Home Assistant instance.
- Search for "ChirpStack HTTP Integration" in the HACS store.
- Install the integration.
- Restart Home Assistant.
- Download the latest release from the releases page.
- Create a
custom_components/chirpstack_httpdirectory in your Home Assistant configuration directory. - Extract the downloaded release into the newly created directory.
- Restart Home Assistant.
- Go to Settings > Devices & Services in your Home Assistant instance.
- Click on + Add Integration and search for "ChirpStack HTTP Integration".
- Follow the configuration wizard to set up the integration.
- In your ChirpStack application, go to Integrations > HTTP.
- Add a new HTTP integration with the following URL:
http://your-home-assistant-url:8123/api/chirpstack_http/<url_suffix> - OPTIONAL: Add http header and value if you configured it in home assistant.
- Ensure your Home Assistant instance is accessible from your ChirpStack server.
Controlling devices (Vicki setpoint, child lock, send_downlink) needs the ChirpStack REST API
(chirpstack-rest-api) reachable from Home Assistant.
- In ChirpStack, create an API key under API keys.
- In Home Assistant, open the integration and click Configure.
- Enter the REST API URL (e.g.
http://<chirpstack-host>:8090) and the API key.
LoRaWAN class A devices like the Vicki only receive downlinks right after they send an uplink, so changes apply on the device's next check-in. The new setpoint is shown immediately and kept until the device confirms it.
Once configured, the integration will create sensors for each data point received from your ChirpStack devices.
If you encounter any issues or have questions, please open an issue on GitHub.