Skip to content

Integration log errors after set-up #2

@Kolia56

Description

@Kolia56

Your integration is more than welcomed, thank you. I set-up HA integration as per following :

http://HA_url:8123/api/chirpstack_http/lora

and I have added in Chirpstack HTTP integration with this field

http://HA_url:8123/api/chirpstack_http/lora

HA log reports the following:

This error originated from a custom integration.

Logger: homeassistant
Source: custom_components/chirpstack_http/__init__.py:42
integration: ChirpStack HTTP Integration (documentation, issues)
First occurred: 12:01:16 (2 occurrences)
Last logged: 12:01:35

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
  File "/config/custom_components/chirpstack_http/__init__.py", line 42, in _save_states
    all_states[entry_id] = hass.data[DOMAIN][entry_id]["devices"]
                           ~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: '01JWJS6EED9VB5F940Y5Q7303R'

HA and Lora gateway are running on the same subnet.

The unique sensor is delivering data every 20' but no entities are created at HA level. Is there anything you would need to troubleshoot?
Running HA 2025.05.0 and LPS8v2 (ie Chirpstack 4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions