Code Monkey home page Code Monkey logo

co2ampel's Introduction

CO2-Ampel

The CO2-Ampel or CO2 traffic light detects the CO2 level in the surrounding air. A Sensirion SCD30 sensor is used to measure the CO2 level and current level is shown in a traffic light-manner.

Here you can find the program code for the CO2 traffic light and add-ons. Documentation is located at https://github.com/bastelgarage/co2ampel/wiki

The CO2-Ampel is offered for sale at https://www.co2ampel.ch.


Die CO2-Ampel misst den CO2-Gehalt in der Umgebungsluft. Ein Sensirion SCD30-Sensor wird verwendet zum Bestimmen der CO2-Konzentration und die Werte in einer Art Ampel ausgegeben.

Hier findest du den Programmcode zur CO2-Ampel und Erweiterungen. Dokumentation ist unter https://github.com/bastelgarage/co2ampel/wiki

Die CO2-Ampel kann unter https://www.co2ampel.ch/ bezogen werden.

CO2-Ampel

co2ampel's People

Contributors

alfmueller avatar fabaff avatar ferdinand0815 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

co2ampel's Issues

Sensor URL

The WifiManager is not able to store URLs which contains a port, e.g., 192.168.1.2:8000

The root cause is that WifiManager is storing the setting in a JSON file.

Adding "192.168.1.2:8080" should be handled as it a string. The log output is suggesting that the URL was saved.

*WM: [2] -------------------- 
*WM: [2] URL: "192.168.1.2:8080"
*WM: [2] -------------------- 

But it's not.

co2ampel app

I am looking into adding mdns support to the co2ampel so that it can announce a webservice providing access to the current sensor data ... using the mDNS_Clock example as a basis.

The wifi config screen would be extended to provide an mdns name for the device

In connection with that I then intend to write a mobile app with flutter that shows the co2ampel services available on the local network with the option of sending a notification to the phone when one of them reaches a configurable PPM ...

so if anyone else is interested in this, please be in touch maybe we can join forces ...

Button PIN incorrect

Button not working (maybe only in my setup?)

++ #define BTNPIN 0 // D3 on Wemos D1 mini = 0

-- boolean btnPressed = !digitalRead(D3);
++ boolean btnPressed = !digitalRead(BTNPIN);

LED PIN wrong

When compiled the LEDs do not work.

The LED PIN is defined as D8. However the GPIO PIN number needs to be used, which is 15.

--#define PIN D8
++#define PIN 15

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.