Giter Club home page Giter Club logo

Comments (13)

amotl avatar amotl commented on June 12, 2024 6

Dear Rajko and the whole team of luftdaten.info,

first things first: Thanks for conceiving this great project!

Together with @einsiedlerkrebs, we recently have been able to dedicate some time to consuming and processing the data you are publishing.

The outcome of that work is called Luftdatenpumpe. It can read measurement data from the luftdaten.info live api and republish it to MQTT, essentially implementing the HTTP to MQTT convergence like outlined in your post above.

Cheers,
Andreas.


P.S.: Along the lines, Luftdatenpumpe can also write the data to an InfluxDB database and is able to provision an appropriate Grafana dashboard to display historical data from all sensors by geographical location.

Maybe this can spark your interest, it could become it a meaningful supplement to the luftdaten.info map you already provide with more flexible access capabilities compared to the current RRDTOOL-based graphing.

To get more into the details, you might want to have a look at about luftdaten.info in InfluxDB and Grafana. We are happy to receive any feedback and answer further questions about this.

from sensors-software.

dirkmueller avatar dirkmueller commented on June 12, 2024 2

Looks like nothing is still open here mqtt had been removed (although it could be added back now that we have fewer constraints on memory)

from sensors-software.

ensonic avatar ensonic commented on June 12, 2024

What do you mean by "too many different payload strings and auth methods"? If this gets dropped, whats the suggested way to log the data to some place where I can get history and e.g. graphs?

from sensors-software.

ricki-z avatar ricki-z commented on June 12, 2024

Some mqtt brokers need user name and password, others need a device id and a device password.
I've requests for a payload with a special format and a payload with json formatted data.
You can easily implement a "proxy", that translate json to mqtt. Then you can use this proxy as custom api.
Historic data can be found here: http(s)://archive.luftdaten.info/
Graphs can be found here: http(s)://www.madavi.de/sensor/graph.php
"Life" data can be found here: http(s)://api.luftdaten.info/static/v1/data.json . This file is updated every minute and contains all sensors and values sent to the server in the last 5 minutes.

from sensors-software.

ensonic avatar ensonic commented on June 12, 2024

Thanks for the explanation, makes sense. I'll look into the custom-api suggestion. Is there an irc / gitter.im chat for this project (so that I don't hijack more threads :))?

from sensors-software.

ricki-z avatar ricki-z commented on June 12, 2024

We use slack. Please send a short mail to our info address with the request for an invitation.

from sensors-software.

njumaen avatar njumaen commented on June 12, 2024

@amotl This ist soooooo awesome!!! Great work!

from sensors-software.

tho-wa avatar tho-wa commented on June 12, 2024

Is it down actually @amotl ?

from sensors-software.

amotl avatar amotl commented on June 12, 2024

Dear Thomas (@tho-wa),

you are right, very sorry. We expanded the disk size of the machine before the weekend and missed to spin up the (separate) Grafana instance again. Now its up and running again, thanks for noticing!

Cheers,
Andreas.

from sensors-software.

rzr avatar rzr commented on June 12, 2024

Basic MQTT support is still welcome, at least as well as WebThing REST API

Some hints at:

from sensors-software.

ricki-z avatar ricki-z commented on June 12, 2024

@rzr please read the complete thread. There are good reasons why we don't support MQTT (memory usage, different configs for different platforms, and if we start with one platform how should we argue against others)

from sensors-software.

rzr avatar rzr commented on June 12, 2024

Well i assumed there were traction for MQTT support:

So I guess it should be implemented in per platform custom fw,

I am targeting this device:
ESP8266 ESP8266EX LoLin NodeMcu v3

Any clue ?

from sensors-software.

ricki-z avatar ricki-z commented on June 12, 2024

You could modify the "Own API" functionality. Or set up a mapper JSON to MQTT and use this as an "Own API" endpoint.
There is more than just implementing MQTT. This protocol is very unspecific about the data format.
And: The source code should work on all ESP8266 systems with more than 1MB flash memory. There is no need for a per platform fw.

from sensors-software.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.