Skip to content

Lufdaten.Info device #769

@zven

Description

@zven

Since OSEM is supporting a direct upload from Lufdaten.Info devices, we should test their integration!

I set up a local device using the following ressources:

Hardware:

In the ext_def.h I had to replace
static const char HOST_SENSEMAP[] PROGMEM = "ingress.opensensemap.org"; with
static const char HOST_SENSEMAP[] PROGMEM = "upload.staging.opensensemap.org";

Compilation and upload to the ESP via PlatformIO, as described here.

The rest of the configuration was done using the web interface of the device as described here and here.
Note: I was only able to reach the config interface on first setup (when no Wifi credentials were set). Those settings are persisted even when you re-upload the firmware. If you have misconfigured your device, erase the whole flash of the esp: esptool --chip esp8266 erase_flash

Important: Deactivate the auto update function of the firmware. Otherwise, our custom firmware with the new URL will be overwritten.

Link to device: https://staging.opensensemap.org/explore/vlpa48xkt57c3qh5p2k0ocl2#10/57.2258/10.888
Handy debug views:

Curl: curl -X GET https://api.staging.opensensemap.org/boxes/vlpa48xkt57c3qh5p2k0ocl2/data/7797cbf91660642f20d8a504

Enable authentication has to be disabled for the device since Lufdaten.Info devices to not send an API key:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions