This commit is contained in:
Michael 2020-11-13 10:44:31 +01:00
commit e227affd79
21 changed files with 5404 additions and 11800 deletions

View file

@ -24,6 +24,7 @@ d you to open windows to keep you happy and healthy
* solder everything according to the connection schema * solder everything according to the connection schema
* get yourself a copy of esphome (https://esphome.io/) ```pip3 install esphome``` * get yourself a copy of esphome (https://esphome.io/) ```pip3 install esphome```
* create a secrects.yaml file with your wifi settings (see also secrets.yaml.example)
* compile the firmware with ```co2ampel=USER_ROOM esphome co2sensor.yaml run``` * compile the firmware with ```co2ampel=USER_ROOM esphome co2sensor.yaml run```
* replace user with a nick that identifies you or your organisation * replace user with a nick that identifies you or your organisation
* replace room with the place the sensor is located at * replace room with the place the sensor is located at

View file

@ -0,0 +1,6 @@
nvs, data, nvs, 0x009000, 0x005000,
otadata, data, ota, 0x00e000, 0x002000,
app0, app, ota_0, 0x010000, 0x1C0000,
app1, app, ota_1, 0x1D0000, 0x1C0000,
eeprom, data, 0x99, 0x390000, 0x001000,
spiffs, data, spiffs, 0x391000, 0x00F000
1 nvs, data, nvs, 0x009000, 0x005000,
2 otadata, data, ota, 0x00e000, 0x002000,
3 app0, app, ota_0, 0x010000, 0x1C0000,
4 app1, app, ota_1, 0x1D0000, 0x1C0000,
5 eeprom, data, 0x99, 0x390000, 0x001000,
6 spiffs, data, spiffs, 0x391000, 0x00F000

View file

@ -1,11 +1,17 @@
substitutions: substitutions:
node_name: !env_var co2ampel node_name: !env_var co2ampel
esphome: esphome:
name: co2ampel_${node_name} name: co2ampel_${node_name}
platform: ESP32 platform: ESP32
board: esp32doit-devkit-v1 board: esp32doit-devkit-v1
on_boot: on_boot:
- display.page.show: boot - display.page.show: boot
# manually define needed libs to avoid broken NeoPixelBus-esphome@2.5.7 (we use the upstream version 2.6.0 instead)
platformio_options:
lib_deps: NeoPixelBus@2.6.0, AsyncTCP-esphome, ESPAsyncTCP-esphome, AsyncTCP-esphome, AsyncMqttClient-esphome, ESPAsyncTCP-esphome, AsyncTCP-esphome, ArduinoJson-esphomelib@5.13.3, ESPAsyncWebServer-esphome
ota: ota:
safe_mode: True safe_mode: True
password: !secret ota_passwd password: !secret ota_passwd

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load diff

Binary file not shown.

View file

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View file

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View file

@ -1,8 +0,0 @@
| | Backplates | Frontplates | Topplates | Bottomplates | Circles | Side L | Side R | Deckel |
|-----------|------------|-------------|-----------|--------------|---------|--------|--------|--------|
| Pattern 1 | 18 | 17 | 2 | 2 | | | | |
| Pattern 2 | | | | | 135 | | | |
| Pattern 3 | | | | | | 40 | 40 | |
| Pattern 4 | | | 40 | 40 | | | | |
| Pattern 5 | | | 20 | 20 | | 20 | 20 | |
| Pattern 6 | | | | | | | | 135 |

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 212 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 59 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 83 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 81 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 87 KiB

File diff suppressed because it is too large Load diff

Before

Width:  |  Height:  |  Size: 160 KiB

View file

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.0"
width="389.76376"
height="496.06299"
id="svg1973">
<defs
id="defs1975" />
<path
d="m 194.88188,17.689494 c -8.14008,0 -16.05584,1.697239 -23.23451,4.807141 -7.21069,3.044513 -13.0113,6.729995 -18.42736,12.017836 -5.31988,5.31993 -9.7104,12.114018 -12.81902,19.228579 -3.04452,7.178655 -4.80714,14.293217 -4.80714,22.433301 0,8.140097 1.76391,16.055843 4.80714,23.234493 3.10862,7.082516 7.49914,13.139516 12.81902,18.427356 5.41606,5.35195 11.21667,9.71043 18.42736,12.81904 7.17867,3.04453 15.09443,4.80713 23.23451,4.80713 8.20417,0 16.05584,-1.76389 23.2345,-4.80713 7.11456,-3.10861 13.1395,-7.46709 18.42735,-12.81904 5.3199,-5.28784 9.71041,-11.34484 12.81903,-18.427356 3.04452,-7.17865 4.80715,-15.094396 4.80715,-23.234493 0,-8.140084 -1.76391,-15.254646 -4.80715,-22.433301 -3.10862,-7.114561 -7.49913,-13.908649 -12.81903,-19.228579 -5.28785,-5.287841 -11.31279,-8.973323 -18.42735,-12.017836 -7.17866,-3.10862 -15.03033,-4.807141 -23.2345,-4.807141 z M 76.305828,171.51791 c -8.140082,0 -15.254649,0.89734 -22.433306,4.00594 -7.178658,3.07656 -13.876602,7.49914 -19.228547,12.81903 -5.319895,5.31991 -8.973319,12.04989 -12.017839,19.22856 -3.10862,7.11457 -4.807141,14.29322 -4.807141,22.4333 l 0,129.79271 271.603245,0 0,36.05352 -271.603245,0 0,6.40952 0,16.82497 c 0,8.17214 1.730572,16.05584 4.807141,23.2345 3.04452,7.17866 6.729985,13.07541 12.017839,18.42737 5.351945,5.28783 12.049889,9.74246 19.228547,12.81903 7.178657,3.10862 14.293224,4.80713 22.433306,4.80713 l 237.152102,0 c 8.14008,0 15.25464,-1.69723 22.4333,-4.80713 7.21071,-3.07657 13.94069,-7.5312 19.22855,-12.81903 5.35195,-5.35196 9.71042,-11.24871 12.81904,-18.42737 3.10862,-7.17866 4.00595,-15.06236 4.00595,-23.2345 l 0,-16.82497 0,-112.96771 -271.60325,0 0,-35.25236 271.60325,0 0,-24.03568 c 0,-8.14008 -0.86401,-15.31873 -4.00595,-22.4333 -3.07657,-7.17867 -7.46709,-13.90865 -12.81904,-19.22856 -5.28786,-5.31989 -12.01784,-9.74247 -19.22855,-12.81903 -7.17866,-3.1086 -14.29322,-4.00594 -22.4333,-4.00594 l -237.152102,0 z"
id="path7445"
style="fill:#e60005;fill-opacity:1;fill-rule:nonzero;stroke:none" />
</svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 41 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 593 KiB

After

Width:  |  Height:  |  Size: 602 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 33 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 44 KiB