Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sensors not updated when data is sent in multiple payloads #481

Open
proffalken opened this issue Apr 24, 2024 · 0 comments
Open

Sensors not updated when data is sent in multiple payloads #481

proffalken opened this issue Apr 24, 2024 · 0 comments

Comments

@proffalken
Copy link

Expected Behavior

When I send a payload that has one set of sensor data in it, and another payload that has other data in it, I expect previous value to be retained

Actual Behavior

I have a ESP32 Pax Counter working via the TTN integration.

I have already logged sensebox/ttn-osem-integration#54 for this against that repo, however I am not sure if this is an issue with the TTN integration or the main site.

The PAX Counter sends two payloads:

  1. WiFi/BLE Device counts, PM10, PM2.5
  2. Temperature, Humidity, Air Pressure, VOC (from a BME680)

Because the second payload is sent directly after the first, the sensor values for PM10, PM2.5, and BLE/WiFi are always zero

I would expect the sensor to not get updated unless there is a value passed for that sensor.

Environment

  • OS: Linux (Various)
  • Browser & Version: Brave/Chrome/Firefox all latest versions from APT/SNAP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant