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

Access a luftdaten sensor locally #4

Open
mrueg opened this issue Jun 25, 2019 · 1 comment
Open

Access a luftdaten sensor locally #4

mrueg opened this issue Jun 25, 2019 · 1 comment

Comments

@mrueg
Copy link

mrueg commented Jun 25, 2019

This request might be a bit out of scope, but wanted to hear your opinion on that.
As a user I would like to request sensor information locally from a sensor using the data.json or prometheus endpoint, so I don't have to rely on network connectivity to the outer world.

Use case: Sensor data is consumed and utilized to do home automation (e.g. close windows if values go high). This should not rely on internet connectivity or availability of the luftdaten platform.

@fabaff
Copy link
Member

fabaff commented Jun 26, 2019

It looks like that this can be done easily. Simply allow to use a local URL for the data (e.g., http://{ip-des-sensors}/data.json) while instantiating the object.

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

2 participants