Open rploeg opened 2 years ago
Hi @rploeg ,
it would be useful if you could add a log from home-assitant, with the TTN adaptor loglevel set to debug. My theory is that the the issue is the missing altitude which will break: https://github.com/angelnu/home_assistant_thethingsnetwork/blob/d97db41d93a4925cee3618f0a370d47b1bfe4df8/custom_components/thethingsnetwork/TTN_client.py#L650
The code can be made mode robust to return 0 or unknown if no altitude
value is available. We could also try some alternative values such as altRef
(if this is the right value for your device)
Hi,
I have connected a iotracker to the TTN. I see the device within HomeAssistant, but I am missing the location data in HomeAssistant. I can see the GPS location in the decoder message at the TTN console:
here some parts of the JSON message:
Any idea how I can use the location or GPS data also in HA?