Hello everyone,
I have a LoRaWAN smoke detector that also includes a temperature and humidity sensor. By default, the device logs temperature measurements every 30 minutes and sends a batch of data every 3 hours.
Each uplink contains 18 temperature values, but only 6 are new measurements, while the remaining 12 are repeated values from previous transmissions / measurement for redundancy.
I would like to send the 6 new values to Home Assistant so I can accurately track temperature history throughout the day. I use MQTT for all my LoRaWAN sensors, with devices defined via MQTT discovery or YAML, which works perfectly.
Is there a way to configure Home Assistant to accept historical data (with timestamp maybe), process and store the latest 6 temperature values from each batch transmission?
Any help or suggestions on handling this in MQTT or with Home Assistant’s built-in features would be greatly appreciated!