Git Product home page Git Product logo

devices.sensor.community's People

Contributors

andrewshadura avatar cskolly avatar dadosch avatar deekey avatar dependabot[bot] avatar informatic avatar jaxom99 avatar kant avatar ladislavm avatar magtun avatar ohheyitsdave avatar petarkir2000 avatar pjgueno avatar ricki-z avatar the-infinity avatar yagurastation avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devices.sensor.community's Issues

No coordinates yields a 500 internal server error

If you do not add a position (lat, lon), then the [save] yields an internal server error (Status Code: 500).
Error handling and proper message would improve the user experience.

Thanks for the service!

This sensor ID is already registered.

Hello! ich würde gerne meinen Sensor in meine.luftdaten eintragen, werde aber dort seit einigen Tagen mit dem Hinweis: "This sensor ID is already registered." konfrontiert.
Was kann ich denn da genau machen? Habe zur Zeit 3 DNMS laufen und konnte nur zwei registrieren.


Hello! I would like to enter my sensor in my air data, but have been there for a few days with the note: "This sensor ID is already registered." faced.
What exactly can I do there? I currently have 3 DNMS running and could only register two.

Extract all license headers to single LICENSE file

I think we can just get rid of all license-related header comments from files and create a single LICENSE file in project root directory. It seems like whole project is uniformly licensed under 3-clause BSD. (Except for /static/{css,js} which is a... well... mix of everything one can imagine...)

Center map based on selected country

I hardware section of sensor registration there is a map. currently it is in some dummy position.
Would be nice to center it on the capital of the chosen country for more user convenience.

Add sensors to existing configuration

Hello,

I have created a new config with 1 sensor.

image

i want to add news sensors to the configuration but i can't : when i want to edit, we can't add sensor.

So i think to remove and recreate but when i try to remove but :

image

so if i deleted, i can't recreate for that chip...

Please update English strings in PO files for translated languages.

Some English strings were updated (mostly due to rebranding to sensor.community).
But translated PO files were not updated accordingly. Because of that some translation strings are not working and there are "holes" of unstranslated English sentences in all languages.

new Sensor SCD30

What are the connection pins of the scd 30 on the particulate matter sensor

time zone on sensors overview and data page different.

After registering a few sensors during a workshop we noticed that the timestamps, dependent on the page being visited, differ. Possible solutions:

  • Always indicate time zone when displaying time.
  • Always use UTC, or
  • always use browser time.

Confirmation mail not received

Hi,

I did not receive my confirmation mail, even after waiting for 6 hours.
It seems that the registration process is in a deadlock at this moment: I can't log in, I can't reset a password, I can't re-register...

It would be great to have a backup solution that allows resending of the confirmation mail in case you don't receive it. For example: the reset password flow could contain a mail with a link to start the reset process. Clicking this link could also serve as confirmation.

Kind regards,
Christopher

Make address optional if geoposition is provided

If the geoposition is entered manually and the address omitted, the form refuses to submit because the address fields are required.

What is the use-case?

  • user does not want to disclose their home address, let alone have it stored in a public database
  • the sensor is not installed at a proper address, for example a lamp post, in a park or in a forest

permanent server overload?

I get most time no data from server, only the empty map.
A self registration is not possible because of server timeout.

Any issues with server overload?

Thanks,
Michael

Add more possible Sensor Types

Combining the particle measurement with a noise sensor leads to problems with the amount of sensors to be registered.
Please add more possible Sensor types.

If SDS011 and Noise is selected, then no DHT-(or maybe BMP/BME) Values are sent to sensor.community.
Screenshot_20200823_194520
Screenshot_20200823_195616

Deleting unneeded form fields

Not needed:
How much industrial activity is there within a 100m radius?
How many private stoves or fireplaces are within a 100m radius?
How much traffic is there within a 100m radius?
These inofrmations get be retrieved from external sources.

SDS011 & BME280 - how to add SHT35?

Hi,

ich hoffe, ich bin hier an der richtigen Stelle mit dem folgenden Problem:

Ich habe heute zu dem bisher laufenden Paar SDS011 & BME280 einen SHT35 hinzugefügt und in der Konfiguration aktiviert (Firmware: NRZ-2020-130-B6/DE). Ich lade zu madavi, sensor.community und opensensemap hoch. In den aktuellen Werten wird der SHT35 angezeigt. Auf maps.sensors.community werden aber nur Feintaub und die Werte des BME280 angeboten. Auf https://devices.sensor.community/sensors sehe ich keinen Weg, einen dritten Sensor anzumelden. Im Debug Fenster taucht folgende Meldung auf:

## Sending to sensor.community - SHT3x
Request failed with error: 400
Details:["sensor could not be selected."]

Was mache ich falsch?

Temperature / humidity values are not displayed on map

My P1 and P2 values are displayed on the map on sensor.community, but not the humidity and temperature. Looking at the dashboard the values are present though:
image
I can also read them through the API: https://data.sensor.community/airrohr/v1/sensor/71307/

I had my sensor(s) marked as indoors, but changed it again for testing purposes, because I thought it could maybe prevent the indoor values from showing up on the map - does that make a difference?

EDIT: If this is the wrong repository to ask this question, please feel free to move the issue.

FR: devices.sensor.community: sensors: data: firmware version information (is missing)

Current devices.sensor.community user config sensor data nicely displays all sensors of the node.

Missing is the node its firmware release version that was used to publish this data.

As there was a sensor display strangely high PM values for a few weeks (starting June 28th), I was wondering which sensor was running which firmware version. Though I could not find the running firmware release at devices.sensors.community it's node.

This Feature Request is to include such information at https://github.com/opendata-stuttgart/devices.sensor.community/blob/develop/webapp/templates/my-sensor-data.html.

Broken requirements.txt and Pipfile

Seems like Pipfile is missing some dependencies defined in requirements.txt. (ex. Flask-Security - a direct project dependency, while also containing some second-level dependencies like asn1crypto)
Additionally, as requirements.txt now does >= version match, newest version of psycopg2 fails to install in Docker environment due to missing postgresql headers (psycopg2 used to default to binary build, now this is split into psycopg2-binary package, it seems) - replacing psycopg2 with psycopg2-binary in requirements.txt solves this partially in that case.

Generally speaking, we should always have some locked versions, that could then be upgraded. I haven't used Pipfile so can't really say anything about it, if Pipfile.lock really locks proper version, then we can fully migrate to Pipfile. In that case we'd have to re-add missing dependencies from requirements.txt into Pipfile and modify Dockerfile to only use Pipfile/pipenv.

@ohheyitsdave can you elaborate on that?

Sensor-Konfiguration auf https://meine.luftdaten.info

Mit Freude habe ich gelesen, dass die Registrierung und Konfiguration der Sensoren auf https://meine.luftdaten.info nun selbst vorgenommen werden kann - vielen Dank dafür!

Interessanterweise sehe ich in den Einstellungen der Sensortypen auch den SHT31/35, den ich in meiner Haussensorik gerne verwende, da er gegenüber dem BME280 z.B. einige Vorteile im Aussen-Bereich hat (die Luftfeuchte geht nicht auf 100% und der Sensor kann bei Bedarf beheizt und getrocknet werden. Hinzu kommt, dass insbesondere der SHT35 deutlich genauer misst als der BME280, was aber für diese Anwendung nicht relevant ist).
Mit der Auswahl des SHT3x und der PIN 7 stehe ich aber vor dem Problem, dass die Konfiguration insgesamt nur zwei Sensortypen umfasst dass ich damit zwar Temperatur und Feuchte als SHT3x kennzeichnen kann, es aber nicht mehr möglich ist, neben dem Feinstaubwert auch noch den Luftdruckwert eines BME280 zu senden. Beim Versuch, zusätzlich zu Temp/Feuchte mit PIN=7 und Feinstaub noch den Luftdruck mit der nicht eingetragenen PIN=11 zu senden bekomme ich diese Antwort vom Server, da offensichtlich nur die zwei in der Konfiguration eingetragenen PINs akzeptiert werden:

HTTP/1.1 400 Bad Request
Date: Sun, 05 May 2019 11:54:11 GMT
Server: Apache/2
Allow: POST, OPTIONS
Connection: close
Transfer-Encoding: chunked
Content-Type: application/json

21
["sensor could not be selected."]
0

Testweise habe ich unter Verzicht auf Feinstaubwerte als ersten Sensortyp den SHT31 eingetragen und als zweiten Typ den BME280. Damit können Temp/Feuchte mit PIN=7 und Luftdruck mit PIN=11 gepostet werden, die Werte werden auch vom Server akzeptiert. Auf maps.luftdaten.info werden mit dieser Konfiguration die mit PIN=7 gepostete Temp/Feuchte Werte nicht dargestellt, sondern nur der mit PIN=11 gepostete Luftdruck.

Mir ist klar, dass es den Use-Case mit der (aktuellen) airrohr-firmware nicht gibt, für Anwender mit eigener Firmware wäre es jedoch geschickt, wenn insgesamt mehr als zwei Sensortypen konfigurierbar wären, so dass für Temperatur, Feuchte und Luftdruck unterschiedliche Sensortypen akzeptiert würden.

A question is missing in the registration form about barbecue and vegetal waste burning

Your registration form mentions stoves and fireplaces ( line 80 and 92 of form.py), but you don't mention other wood-burning sources of PM like barbecue and burning vegetal waste in one's garden. These event creates a high peak of PM during a few hours, and/or contribute to the accumulation of particles during specific weather.

I live in a small French city, which has no industry, low traffic, no highway... Most of the pollution comes from people fires: during spring and summer, it comes from barbecues, people burning their garden waste or farmers burning vegetal waste. These come on top of to the chimney smoke in winter, so it smells like burning several times per day, during the whole year.

My-neighbors'-barbecue-triggers-peak-of-PM

To help interpret the data, you could simply add this missing question:
"Do people burn vegetal waste in your area or barbecue ? 1 = very little, 10 very much."

"deleting" sensors

To "delete" a sensor we could set it to inactive and add a prefix "deleted-" to the email field in the API database. This will take the sensor from the user list of sensors, but we could restore it.

Some issues with the French translation

There are some mistakes on the French translations but I can't find the original strings in the file: https://github.com/opendata-stuttgart/meine-luftdaten-info/blob/develop/translations/fr/LC_MESSAGES/messages.po

2019-07-25_14-31-51
2019-07-25_14-33-43_chrome

I copy them here so it will be easier for you to copy them:
Adresse Email
Mot de passe
Garder ma session active
Se connecter
Cela peut prendre jusqu'à 30 minutes pour recevoir l'email d'enregistrement.
Si vous n'avez pas reçu d'email, merci de vérifier de la catégorie Spams.
S'enregistrer

Also, I have created a pull request on the wrong reposetory for the French translation: Informatic#1
Is there a easy way to send the pull over to you or should I create a new pull request from scratch (I have seen that all the strings have been translated but some could be improved).

chipID should contain only numbers and A-F (hex)

Some people (especially Smogomierz user until now) copy the chipID from a text that contains special chars afer the chipID. This leads to some strange side effects (beside the API not receiving the data)

Dynamic hardware configuration form

Internally Hardware configuration part of sensor registration/settings form supports arbitrary number of sensors, but right now only 2 sets of fields are rendered. This needs a couple of lines of javascript to handle special button that'd dynamically clone one of the rows and replace -0- part of all name, id and for attributes of <input> fields with consecutive numbers.

Related code: https://github.com/opendata-stuttgart/meine-luftdaten-info/blob/c92728bfa7e91c6803b3ad3f88969b24bc20bcda/webapp/templates/sensor-settings-form.html#L29-L36

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.