After update no more data is sent to OpenSenseMap

After the last week’s downtime (the SSL incident), I’ve updated my Airrohr-Sensor. It works like a charm and the data can be seen on map.sensor.community. Only the connection to OpenSenseMap seems to be broken.

I’ve double-checked the senseboxID and double-checked if OpenSenseMap is enabled in the config. In the debug log, I can find the following:

## Sending to sensor.community - BME280
Succeeded - api.sensor.community
## Sending to opensensemap: 
Time for Sending (ms): 107

Any ideas on how to debug this issue? Is there a kind of log interface at OpenSenseMap?

please check if you can send to opensensemap without HTTPS.
They may also use a let’sEncrypt cert.

1 Like

Opensensemap indeed uses a Let’s Encrypt certificate which was renewed on March 16th without the X3 cross-signing so HTTPS uploads from the released firmware to opensensemap will fail.

Unfortunately the current SC-firmware (both release and beta) have HTTPS for the OpenSenseMap API hardcoded and it can’t be disabled in the UI.

I and a colleague have been running a patched version of the SC firmware for a week now on three different sensors and it is running very stable with the same performance characteristics as the original release. If people would like to test the patched firmware, binaries are available at https://github.com/opendata-stuttgart/sensors-software/actions/runs/8350876571/artifacts/1340730722
(builds for the PR at Replace DST Root CA X3 with ISRG Root X1 by Phaze-III · Pull Request #1015 · opendata-stuttgart/sensors-software · GitHub )

Upgrading the SC firmware of a ‘Luftdaten’-setup to deal with this aspect seems the best idea, but reluctant to ‘fiddle’ with patched firmware,
:wink: because knowing the limits of my capabilities: do not touch what is working …
Instead looking for a ‘general’ work-around:
is a small (Python**?**) script available with following 3 functions?
a. locally read the device by url-call http://ip-address/data.json
b. recompile the info from the resulting json-file for compatible upload to opensensemap
c. periodically perform that upload

Interested to participate in this kind of solution.

I understand the “do not touch what is working” sentiment. However this and other fixes and features are available in the current official release of the firmware NRZ-2024-135 since Apr 9 2024. That version works on more than 11000 installed sensors so you might consider installing the official firmware.

Clear explanation which would like to follow.

According to header of the Local homepage presently have NRZ-2021-134-B4/NL (Aug 22 2021),
with setup for Firmware-version set to

  • Automatic update of firmware
  • Install beta-firmwares.

With those settings would expect that version NRZ-2024-135 automatically would have been installed, or missing something?

Normally yes but this specific beta version (NRZ-2021-134-B4) has a bug in the automatic updating so won’t auto-update. You’ll have to manually re-flash.