eisbaeeer / co2light Goto Github PK
View Code? Open in Web Editor NEWCO2 traffic light
License: Other
CO2 traffic light
License: Other
Adding support for SHT3x sensor for Humidity & Temperature.
Changing from random client.-id to MAC-Address
Supporting different types of displays would be nice.
SH110X displays are pin compatible with the used SSD1306 displays.
Changes made (substituted, not yet configurable):
-#include <Adafruit_SSD1306.h>
+#include <Adafruit_SH110X.h>
-Adafruit_SSD1306 display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
+Adafruit_SH1106G display(SCREEN_WIDTH, SCREEN_HEIGHT, &Wire, -1);
-if(!display.begin(SSD1306_SWITCHCAPVCC, 0x3C)) {
- Serial.println(F("SSD1306 allocation failed"));
+if(!display.begin(0x3C, true)) {
+ Serial.println(F("SH1106G allocation failed"));
-display.setTextColor(WHITE);
+display.setTextColor(SH110X_WHITE);
The MQTT password is visible in configuration.
Hello,
i just updated to 2.9 and now i got on the startpage:
null null null 192.168.178.xxx
Also on page Humidity, Temp, and pressure i got first line null and other Line the measured data. Only on pge CO2 there is CO2 and the Data.
Running on Nodemcu v2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.