Coder Social home page Coder Social logo

watterott / co2-ampel Goto Github PK

View Code? Open in Web Editor NEW
23.0 11.0 12.0 6.4 MB

CO2-Ampel / CO2-Traffic-Light to measure and show the carbon dioxide concentration in a room, based on Sensirion SCD30/SCD4x sensor and Microchip SAMD21 microcontroller

Home Page: https://learn.watterott.com/breakouts/co2-ampel/

C++ 30.64% C 69.23% Shell 0.05% GDB 0.02% CMake 0.05%
sensor arduino co2 scd30 co2-ampel scd40 scd41 scd4x

co2-ampel's People

Contributors

awatterott avatar ernstkl avatar mschlenker avatar olberger avatar sbernhard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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

co2-ampel's Issues

firmware v7 wrongly calibrated

Hello,

the firmware v7 displays a CO2 ppm value of ca. 220 ppm in a well ventilated office. This is not plausible as fresh air has about 400 ppm CO2.
Doing the check outside, the ppm value drops to zero.

This looks like a wrong calibration to me. According to the readme, doing a calibration usually is not required.

Update instructions aren't clear

https://learn.watterott.com/breakouts/co2-ampel/getting-started/#update-instructions isn't clear on what's needed for updating the firmware.

I seem to have managed to update by just copying the "co2_covid_v10.bin" file into /media/.../CO2AMPEL/ with a file manager on Linux, without the need to use dd (which actually reports an error on a non existant file)

Also, as there's no APP.BIN file to be downloaded so maybe it would be more realistic to provide something like :

cp co2_covid_vNN.bin /media/CO2AMPEL/ 

or I don't understand the naming scheme at stake (not clear what the existing CURRENT.BIN file is, once the USB mass storage appears)

Thanks in advance

Provide basic "generic" shell script for monitoring sensor values over USB/serial

Would it be possible to provide (in this repo ?) a basic shell script that could be generic enough to work on most Linux distros, to read sensor values over /dev/ttyACM0 (serial USB) ?

The docs in https://learn.watterott.com/breakouts/co2-ampel/getting-started/#serial-interface-usb point to the HTerm program, with a nice GUI etc. but for simple testing, I guess some stty / screen and such could be widely available on Linux boxes.

Thanks in advance.

WPA2 Enterprise

[Feature Request]

hallo, wir verwenden einige CO2-Ampeln und funktioniert sehr gut.
Wir möchten diese auch im Hochschulkontext einsetzen. Lufthygiene in Hörsälen zB.
Dort gibt es aber kein klassisches WPA2, sondern nur WPA2 Enterprise (eduroam), also mit zusätzlichem Benutzer und Passwort zur Verbindung mit dem WLAN.

Es wäre fantastisch, wenn diese Funktionalität noch eingebaut werden könnte.
Das würde auch dafür sorgen, dass noch mehr dieser Geräte bei Ihnen eingekauft werden.

checksum in package json missing

Describe the bug
The installation of the following command fails because of checksum error.

arduino-cli core install co2ampel:samd

Error:

Error during install: Cannot install platform: installing platform co2ampel:[email protected]: testing local archive integrity: testing archive checksum: missing checksum for: co2ampel-samd-1.0.7.zip

Expected behavior
The installation of the co2ampel:samd is successful

Additional context
The file https://github.com/watterott/CO2-Ampel/blob/master/package_co2ampel_index.json is missing the checksum like in https://boardsmanager.com/package_move38.com-blinks_index.json

No values detected on serial link until I flashed the v10+ firmware

Is there a known issue (undocumented ?) on standard device which could become silent over serial ?

I seem to had proper serial config with cutecom and /dev/ttyACM0 (9600, 8-N1 etc.) but couldn't detect anything on the serial line. Leds were working fine (supposedly, changing to green when getting fresh air, etc.)

After I flashed the v11 firmware, it suddenly started to report sensor values.

Also I couldn't figure out how to detect which version of firmware was running initially as shipped from the store... but that's probably another issue ;-)

Firmware co2_covid_v11.bin doesn't seem to work well with v1.1 standard device

I have tested the co2_covid_v11.bin firmware from
https://learn.watterott.com/breakouts/co2-ampel/getting-started/co2_covid_v11.bin and values reported over the USB serial port (and light colors) seem to be varying to erratically, on my v1.1 standard version.

Firmware co2_covid_v10.bin seems more reliable (smoother evolution of CO2 level).

Maybe this is known : "could cause freezing of standard version on startup (since v5)" seems to indicate a problem with the standard version... or I misunderstand the meaning of that notice : not clear if it applies to the prior versions (bug fixed), or is a known issue with that update... proper changelog/release notes would help (maybe not in the getting started page, but couldn't find more docs...)

Thanks in advance.

Hysterese?

In unserem Unternehmen nutzen wir einige CO2-Ampeln für die Überwachung der Luftqualität (wofür sonst...). Leider haben wir festgestellt, dass das Lüftungsverhalten gerade so ist, dass die Schotten wieder dicht gemacht werden, wenn die Ampel gerade so wieder grün ist (oder die Email mit "WARN -> OK" kommt). Für das Checkmk-Plugin bin ich daher dabei, einen Hysteresefaktor als festen Prozentsatz einstellbar zu machen.

D.h., wenn der Übergang OK -> WARN bei Überschreiten von 1000ppm stattfindet und ein Hysteresefaktor von 10% eingestellt ist, findet der Übergang von WARN -> OK erst statt, wenn 900ppm unterschritten werden.

Wenn Ihr daran interessiert seid, den Code für die Hysterese zu übernehmen, werde ich den Code entsprechend sauber strukturieren und gut kommentieren und dann als Pull-Request einreichen. Wäre das in Eurem Interesse?

Liebe Grüße
Mattias

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.