openairproject / sensor-esp32

air quality sensor based on ESP32
GNU General Public License v3.0
87 stars 25 forks source link

Fix esp-idf compatibility, add support for basic auth, add support fo… #52

Open baycom opened 6 years ago

baycom commented 6 years ago

…r CO2 sensor MH-Z19, add support for cgi style get parameters, add support for factory reset config, add support for sealevel pressure from height, add support for hostname / sensor id

In summary I made a lot of changes / fixes to the code and added some new features - hopefully there is something useful for you within it. Because I use only the built-in LED of the ESP32 board I was not able to use the color signaling and I commented out the ledc_set_color(aqi,(1-aqi), 0); in main.c. Should have made it as a config option.