forked from smash/co2ampel
initial commit
This commit is contained in:
parent
70e6ace77a
commit
aa0bf6e2d6
5 changed files with 291 additions and 0 deletions
63
ampelschirm.svg
Normal file
63
ampelschirm.svg
Normal file
|
@ -0,0 +1,63 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
id="svg10171"
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 56.480717 116.57588"
|
||||||
|
height="116.57588mm"
|
||||||
|
width="56.480717mm">
|
||||||
|
<defs
|
||||||
|
id="defs10165" />
|
||||||
|
<metadata
|
||||||
|
id="metadata10168">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<g
|
||||||
|
transform="translate(72.703931,-124.42411)"
|
||||||
|
id="layer1">
|
||||||
|
<g
|
||||||
|
id="g10752">
|
||||||
|
<circle
|
||||||
|
style="opacity:1;fill:none;fill-opacity:1;stroke:#ff0000;stroke-width:0.1361762;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||||
|
id="path10716"
|
||||||
|
cx="-44.70393"
|
||||||
|
cy="212.99998"
|
||||||
|
r="25.931911" />
|
||||||
|
<circle
|
||||||
|
style="opacity:1;fill:none;fill-opacity:1;stroke:#ff0000;stroke-width:0.21072929;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||||
|
id="path10718"
|
||||||
|
cx="-44.70393"
|
||||||
|
cy="212.99998"
|
||||||
|
r="27.894636" />
|
||||||
|
<g
|
||||||
|
transform="translate(0.48071552,-60.575877)"
|
||||||
|
id="g10722-3"
|
||||||
|
style="stroke:#ff0000;stroke-opacity:1">
|
||||||
|
<circle
|
||||||
|
r="25.931911"
|
||||||
|
cy="212.99998"
|
||||||
|
cx="-44.70393"
|
||||||
|
id="path10716-8"
|
||||||
|
style="opacity:1;fill:none;fill-opacity:1;stroke:#ff0000;stroke-width:0.1361762;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||||
|
<circle
|
||||||
|
r="27.894636"
|
||||||
|
cy="212.99998"
|
||||||
|
cx="-44.70393"
|
||||||
|
id="path10718-0"
|
||||||
|
style="opacity:1;fill:none;fill-opacity:1;stroke:#ff0000;stroke-width:0.21072929;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
95
box.svg
Normal file
95
box.svg
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
id="svg983"
|
||||||
|
preserveAspectRatio="xMidYMid meet"
|
||||||
|
version="1.1"
|
||||||
|
viewBox="0 0 110.3 221.38334"
|
||||||
|
height="221.38333mm"
|
||||||
|
width="110.3mm">
|
||||||
|
<metadata
|
||||||
|
id="metadata989">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work
|
||||||
|
rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type
|
||||||
|
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||||
|
<dc:title></dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<defs
|
||||||
|
id="defs987" />
|
||||||
|
<path
|
||||||
|
d="m 71.212,176.674 h -1.787 v -7.63 q 0,-1.442 -0.656,-2.152 a 2.014,2.014 0 0 0 -0.826,-0.528 q -0.519,-0.183 -1.23,-0.183 -1.219,0 -2.009,0.435 a 2.519,2.519 0 0 0 -0.702,0.566 2.92,2.92 0 0 0 -0.508,0.888 q -0.306,0.814 -0.347,2.028 a 11.444,11.444 0 0 0 -0.006,0.388 v 6.188 h -1.787 v -11.795 h 1.453 l 0.291,1.614 h 0.086 a 3.617,3.617 0 0 1 1.417,-1.289 4.35,4.35 0 0 1 0.122,-0.061 4.838,4.838 0 0 1 1.721,-0.459 5.849,5.849 0 0 1 0.485,-0.02 7.053,7.053 0 0 1 1.2,0.095 q 1.258,0.218 2.007,0.933 a 3.096,3.096 0 0 1 0.754,1.184 q 0.181,0.488 0.26,1.092 a 7.796,7.796 0 0 1 0.062,1.011 z M 36.893,164.879 v 1.388 H 33.89 v 10.407 h -1.786 v -10.407 h -2.11 v -0.807 l 2.11,-0.645 v -0.657 a 7.24,7.24 0 0 1 0.169,-1.641 q 0.523,-2.238 2.662,-2.625 a 5.43,5.43 0 0 1 0.968,-0.082 5.753,5.753 0 0 1 0.814,0.063 q 0.633,0.09 1.381,0.314 l -0.463,1.431 q -0.734,-0.237 -1.315,-0.305 a 3.842,3.842 0 0 0 -0.45,-0.028 2.409,2.409 0 0 0 -0.58,0.065 1.547,1.547 0 0 0 -0.915,0.607 q -0.485,0.673 -0.485,2.158 v 0.764 z M 80.306,175.2 v 1.366 a 1.757,1.757 0 0 1 -0.209,0.083 q -0.222,0.074 -0.54,0.131 a 6.68,6.68 0 0 1 -0.107,0.018 7.743,7.743 0 0 1 -0.505,0.065 q -0.272,0.026 -0.512,0.026 a 4.666,4.666 0 0 1 -1.375,-0.185 q -1.511,-0.466 -1.907,-2.108 a 5.615,5.615 0 0 1 -0.14,-1.312 v -7.017 h -1.69 v -0.861 l 1.69,-0.742 0.753,-2.518 h 1.033 v 2.733 h 3.422 v 1.388 h -3.422 v 6.942 q 0,0.748 0.25,1.252 a 1.733,1.733 0 0 0 0.256,0.383 1.66,1.66 0 0 0 1.02,0.544 2.388,2.388 0 0 0 0.368,0.027 5.867,5.867 0 0 0 0.86,-0.062 5.409,5.409 0 0 0 0.055,-0.008 q 0.441,-0.07 0.7,-0.145 z m -34.47,-10.407 -0.248,1.657 a 7.873,7.873 0 0 0 -0.566,-0.104 q -0.393,-0.057 -0.725,-0.057 a 3.095,3.095 0 0 0 -2.287,0.988 4.235,4.235 0 0 0 -0.161,0.174 4.079,4.079 0 0 0 -0.985,2.291 5.422,5.422 0 0 0 -0.032,0.604 v 6.328 h -1.787 v -11.795 h 1.474 l 0.205,2.185 h 0.086 a 6.033,6.033 0 0 1 0.675,-0.964 4.608,4.608 0 0 1 0.907,-0.812 3.561,3.561 0 0 1 2.034,-0.624 8.201,8.201 0 0 1 0.734,0.031 5.986,5.986 0 0 1 0.676,0.098 z m 12.223,7.768 a 9.228,9.228 0 0 0 0.163,-1.795 10.485,10.485 0 0 0 -0.003,-0.284 q -0.071,-2.609 -1.455,-4.172 a 4.677,4.677 0 0 0 -2.171,-1.4 6.003,6.003 0 0 0 -1.762,-0.246 6.938,6.938 0 0 0 -1.246,0.107 4.725,4.725 0 0 0 -2.758,1.502 4.935,4.935 0 0 0 -0.606,0.84 q -0.836,1.457 -0.836,3.653 a 8.937,8.937 0 0 0 0.113,1.447 6.609,6.609 0 0 0 0.555,1.803 5.872,5.872 0 0 0 0.13,0.254 4.836,4.836 0 0 0 1.764,1.877 4.974,4.974 0 0 0 1.142,0.507 5.737,5.737 0 0 0 1.667,0.235 6.937,6.937 0 0 0 1.211,-0.101 4.763,4.763 0 0 0 2.803,-1.518 q 0.964,-1.076 1.289,-2.709 z m -8.823,-1.795 a 9.047,9.047 0 0 0 0.087,1.292 q 0.094,0.656 0.294,1.188 a 3.748,3.748 0 0 0 0.523,0.964 q 0.904,1.183 2.659,1.183 a 4.149,4.149 0 0 0 1.094,-0.136 2.888,2.888 0 0 0 1.569,-1.042 3.835,3.835 0 0 0 0.597,-1.163 q 0.312,-0.956 0.312,-2.286 a 8.914,8.914 0 0 0 -0.084,-1.27 q -0.093,-0.647 -0.29,-1.171 a 3.678,3.678 0 0 0 -0.535,-0.976 2.939,2.939 0 0 0 -1.827,-1.09 4.506,4.506 0 0 0 -0.858,-0.078 4.252,4.252 0 0 0 -1.058,0.124 2.845,2.845 0 0 0 -1.589,1.028 q -0.643,0.829 -0.823,2.243 a 9.44,9.44 0 0 0 -0.071,1.19 z"
|
||||||
|
id="front_labelLayer"
|
||||||
|
style="font-size:12px;vector-effect:non-scaling-stroke;fill:#777777;fill-rule:evenodd;stroke:#777777;stroke-width:0.25000001mm;stroke-linecap:round" />
|
||||||
|
<path
|
||||||
|
d="m 28.25,110.191 v -2.941 h 17.8 v 2.941 l 0.059,0.059 h 18.082 l 0.059,-0.059 v -2.941 h 17.8 v 2.941 l 0.059,0.059 h 28.082 l 0.059,-0.059 V 82.109 l -0.059,-0.059 h -2.941 v -17.8 h 2.941 l 0.059,-0.059 V 46.109 l -0.059,-0.059 h -2.941 v -17.8 h 2.941 l 0.059,-0.059 V 0.109 L 110.191,0.05 H 82.109 L 82.05,0.109 V 3.05 H 64.25 V 0.109 L 64.191,0.05 H 46.109 L 46.05,0.109 V 3.05 H 28.25 V 0.109 L 28.191,0.05 H 0.109 L 0.05,0.109 V 28.191 L 0.109,28.25 H 3.05 v 17.8 H 0.109 L 0.05,46.109 V 64.191 L 0.109,64.25 H 3.05 v 17.8 H 0.109 L 0.05,82.109 v 28.082 l 0.059,0.059 h 28.082 z"
|
||||||
|
id="back_outsideCutPath"
|
||||||
|
style="font-size:12px;vector-effect:non-scaling-stroke;fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:0.1;stroke-linecap:round" />
|
||||||
|
<path
|
||||||
|
d="m 70.238,57.378 h 0.086 q 0.354,-0.503 0.992,-1.245 a 38.383,38.383 0 0 1 0.418,-0.477 l 3.809,-4.036 h 2.121 l -4.779,5.026 5.112,6.769 h -2.163 l -4.165,-5.575 -1.345,1.163 v 4.412 H 68.559 V 46.67 h 1.765 v 8.878 q 0,0.581 -0.083,1.785 a 73.218,73.218 0 0 1 -0.003,0.045 z M 34.089,61.897 H 33.96 l -0.376,1.518 H 32.303 V 46.67 h 1.786 v 4.068 a 37.246,37.246 0 0 1 -0.02,1.258 q -0.021,0.635 -0.066,1.195 h 0.086 a 4.062,4.062 0 0 1 2.965,-1.722 6.101,6.101 0 0 1 0.737,-0.043 5.46,5.46 0 0 1 1.537,0.205 4.087,4.087 0 0 1 2.074,1.383 5.264,5.264 0 0 1 0.923,1.777 q 0.227,0.733 0.312,1.61 a 11.467,11.467 0 0 1 0.051,1.106 10.474,10.474 0 0 1 -0.139,1.762 q -0.16,0.939 -0.507,1.693 a 5.021,5.021 0 0 1 -0.651,1.059 4.229,4.229 0 0 1 -3.006,1.581 6.059,6.059 0 0 1 -0.594,0.028 5.419,5.419 0 0 1 -1.361,-0.166 4.715,4.715 0 0 1 -0.743,-0.259 Q 34.735,62.78 34.089,61.897 Z m 20.297,1.518 h -1.324 l -0.355,-1.679 h -0.086 a 7.406,7.406 0 0 1 -0.599,0.671 q -0.582,0.571 -1.161,0.83 a 4.12,4.12 0 0 1 -0.85,0.269 q -0.413,0.085 -0.891,0.112 A 8.039,8.039 0 0 1 48.671,63.63 5.482,5.482 0 0 1 47.556,63.523 Q 46.874,63.382 46.35,63.052 a 3.076,3.076 0 0 1 -0.428,-0.326 2.936,2.936 0 0 1 -0.886,-1.548 4.495,4.495 0 0 1 -0.11,-1.024 3.091,3.091 0 0 1 1.759,-2.917 q 1.309,-0.697 3.593,-0.813 a 17.45,17.45 0 0 1 0.363,-0.015 l 2.002,-0.065 v -0.731 q 0,-0.849 -0.224,-1.426 a 1.994,1.994 0 0 0 -0.374,-0.624 1.813,1.813 0 0 0 -0.743,-0.485 q -0.297,-0.108 -0.665,-0.15 a 4.414,4.414 0 0 0 -0.502,-0.027 5.816,5.816 0 0 0 -1.339,0.167 q -0.614,0.145 -1.282,0.417 a 11.964,11.964 0 0 0 -0.715,0.32 L 46.25,52.438 a 8.237,8.237 0 0 1 1.59,-0.654 9.376,9.376 0 0 1 0.32,-0.089 q 1.039,-0.269 2.083,-0.269 a 7.545,7.545 0 0 1 1.149,0.082 q 0.59,0.091 1.062,0.285 a 3.04,3.04 0 0 1 0.915,0.57 2.829,2.829 0 0 1 0.73,1.126 q 0.17,0.462 0.24,1.037 a 7.029,7.029 0 0 1 0.047,0.839 z M 65.933,52.018 65.384,53.536 A 7.947,7.947 0 0 0 64.522,53.249 9.491,9.491 0 0 0 64.093,53.143 7.379,7.379 0 0 0 63.532,53.039 Q 63.258,53 63.014,52.99 a 3.96,3.96 0 0 0 -0.159,-0.003 q -3.594,0 -3.594,4.584 a 8.652,8.652 0 0 0 0.086,1.26 q 0.188,1.277 0.791,2.076 a 2.837,2.837 0 0 0 1.838,1.099 4.322,4.322 0 0 0 0.761,0.064 7.478,7.478 0 0 0 2.063,-0.3 9.233,9.233 0 0 0 0.961,-0.335 v 1.582 a 5.081,5.081 0 0 1 -1.243,0.44 Q 63.736,63.63 62.78,63.63 a 6.677,6.677 0 0 1 -1.624,-0.186 4.527,4.527 0 0 1 -2.342,-1.39 Q 57.41,60.477 57.41,57.593 A 9.857,9.857 0 0 1 57.563,55.8 q 0.185,-0.999 0.594,-1.788 a 4.925,4.925 0 0 1 0.679,-0.993 4.626,4.626 0 0 1 2.533,-1.457 7.013,7.013 0 0 1 1.529,-0.157 8.062,8.062 0 0 1 1.701,0.183 q 0.841,0.181 1.323,0.425 a 2.663,2.663 0 0 1 0.011,0.005 z m -30.347,1.348 a 2.376,2.376 0 0 0 -0.69,0.605 q -0.709,0.922 -0.795,2.953 a 13.764,13.764 0 0 0 -0.012,0.583 11.812,11.812 0 0 0 0.059,1.221 q 0.128,1.231 0.539,1.981 a 2.694,2.694 0 0 0 0.231,0.354 2.592,2.592 0 0 0 1.315,0.888 q 0.439,0.137 0.975,0.172 a 5.744,5.744 0 0 0 0.368,0.011 3.561,3.561 0 0 0 1.012,-0.135 2.569,2.569 0 0 0 1.442,-1.065 q 0.576,-0.857 0.741,-2.249 a 10.236,10.236 0 0 0 0.066,-1.2 10.554,10.554 0 0 0 -0.064,-1.202 Q 40.61,54.864 40.03,54.052 a 2.605,2.605 0 0 0 -1.659,-1.049 4.132,4.132 0 0 0 -0.838,-0.081 q -1.189,0 -1.947,0.444 z m 17.013,5.314 v -1.066 l -1.786,0.076 q -1.779,0.063 -2.729,0.482 a 2.744,2.744 0 0 0 -0.343,0.179 1.906,1.906 0 0 0 -0.909,1.383 2.822,2.822 0 0 0 -0.033,0.442 2.553,2.553 0 0 0 0.063,0.585 q 0.106,0.451 0.39,0.76 a 1.591,1.591 0 0 0 0.133,0.129 1.945,1.945 0 0 0 0.729,0.387 q 0.288,0.085 0.634,0.109 a 4.018,4.018 0 0 0 0.279,0.01 4.919,4.919 0 0 0 1.062,-0.108 q 0.74,-0.164 1.286,-0.575 a 2.983,2.983 0 0 0 0.272,-0.232 q 0.947,-0.91 0.952,-2.543 a 5.66,5.66 0 0 0 0,-0.018 z"
|
||||||
|
id="back_labelLayer"
|
||||||
|
style="font-size:12px;vector-effect:non-scaling-stroke;fill:#777777;fill-rule:evenodd;stroke:#777777;stroke-width:0.25000001mm;stroke-linecap:round" />
|
||||||
|
<path
|
||||||
|
d="m 28.25,221.27433 v -2.941 h 17.8 v 2.941 l 0.059,0.059 h 18.082 l 0.059,-0.059 v -2.941 h 17.8 v 2.941 l 0.059,0.059 h 28.082 l 0.059,-0.059 v -28.082 l -0.059,-0.059 h -2.941 v -17.8 h 2.941 l 0.059,-0.059 v -18.082 l -0.059,-0.059 h -2.941 v -17.8 h 2.941 l 0.059,-0.059 v -28.082 l -0.059,-0.059 H 82.109 l -0.059,0.059 v 2.941 h -17.8 v -2.941 l -0.059,-0.059 H 46.109 l -0.059,0.059 v 2.941 h -17.8 v -2.941 l -0.059,-0.059 H 0.109 l -0.059,0.059 v 28.082 l 0.059,0.059 H 3.05 v 17.8 H 0.109 l -0.059,0.059 v 18.082 l 0.059,0.059 H 3.05 v 17.8 H 0.109 l -0.059,0.059 v 28.082 l 0.059,0.059 h 28.082 z"
|
||||||
|
id="front_outsideCutPath"
|
||||||
|
style="font-size:12px;vector-effect:non-scaling-stroke;fill:none;fill-rule:evenodd;stroke:#ff0000;stroke-width:0.1;stroke-linecap:round" />
|
||||||
|
<ellipse
|
||||||
|
ry="24.933926"
|
||||||
|
rx="24.933924"
|
||||||
|
cy="183.2399"
|
||||||
|
cx="55.149998"
|
||||||
|
id="path5237"
|
||||||
|
style="opacity:1;fill:none;fill-opacity:0.5098038;stroke:#0000ff;stroke-width:0.13214979;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||||
|
<rect
|
||||||
|
y="129.62282"
|
||||||
|
x="42.149998"
|
||||||
|
height="18"
|
||||||
|
width="26"
|
||||||
|
id="rect5239"
|
||||||
|
style="opacity:1;fill:none;fill-opacity:1;stroke:#ff0000;stroke-width:0.26499999;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1" />
|
||||||
|
<g
|
||||||
|
id="text5255"
|
||||||
|
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:7.76111126px;line-height:1.25;font-family:'High Score';-inkscape-font-specification:'High Score';letter-spacing:0px;word-spacing:0px;fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
aria-label="CO2 Ampel">
|
||||||
|
<path
|
||||||
|
id="path8144"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
d="m 37.808767,122.69568 v -0.24253 h 0.242535 v 0.24253 z m 0.242535,-0.24253 v -0.24254 h 0.242534 v 0.24254 z m 0.242534,-0.24254 v -0.7276 H 35.38342 v -2.66788 h 2.425347 v 0.24253 h -2.182813 v 2.18281 h 2.910417 v 0.97014 z m -0.485069,-3.39548 v -0.24254 h 0.242535 v 0.24254 z m 0.242535,-0.24254 v -0.24253 h 0.242534 v 0.24253 z m -4.123091,4.36563 v -4.8507 h 0.242535 v 4.60816 h 3.638021 v 0.24254 z m 0.242535,-4.8507 v -0.24253 h 0.242535 v 0.24253 z m 0.242535,-0.24253 v -0.24254 h 0.242534 v 0.24254 z m 3.880555,0.48507 v -0.72761 h -3.638021 v -0.24253 h 3.880556 v 0.97014 z" />
|
||||||
|
<path
|
||||||
|
id="path8146"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
d="m 41.689323,122.69568 v -0.24253 h 0.242534 v 0.24253 z m 0.242534,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m -2.182812,0.48507 v -0.97014 h 0.242535 v 0.7276 h 1.697743 v 0.24254 z m 2.425347,-0.72761 v -0.24253 h 0.242535 v 0.24253 z m -2.182812,-0.24253 v -0.24254 h 0.242534 v 0.24254 z m 2.425347,0 v -0.24254 h 0.242534 v 0.24254 z m -2.667882,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 0.485069,0 v -0.24253 h 0.242535 v 0.24253 z m 2.425347,0 v -0.24253 h 0.242535 v 0.24253 z m -2.667881,-0.24253 v -0.24254 h 0.242534 v 0.24254 z m 2.910416,0 v -0.24254 h 0.242535 v 0.24254 z m -4.12309,0.48507 v -2.91042 h 0.242535 v 2.66788 h 0.727604 v 0.24254 z m 1.697743,-0.48507 v -0.24254 h 1.212674 v -2.18281 h 0.242534 v 2.42535 z m -1.455208,-2.42535 v -0.24253 h 0.242534 v 0.24253 z m 1.212673,2.18281 v -2.42534 h 1.455209 v 0.24253 h -1.212674 v 2.18281 z m 1.697743,-2.18281 v -0.24253 h 0.242535 v 0.24253 z m -2.667882,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 2.425348,0 v -0.24254 h 0.242534 v 0.24254 z m 0.485069,0 v -0.24254 h 0.242535 v 0.24254 z m -2.667882,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 2.425347,0 v -0.24253 h 0.242535 v 0.24253 z m 1.212674,2.66788 v -2.66788 h -0.727604 v -0.24253 h 0.970139 v 2.91041 z m -3.395486,-2.91041 v -0.24254 h 0.242535 v 0.24254 z m 0.242535,-0.24254 v -0.24253 h 0.242534 v 0.24253 z m 0.242534,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 1.940278,0.48507 v -0.72761 h -1.697743 v -0.24253 h 1.940278 v 0.97014 z" />
|
||||||
|
<path
|
||||||
|
id="path8148"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
d="m 47.510156,122.69568 v -0.24253 h 0.242535 v 0.24253 z m 0.242535,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m -4.12309,0.48507 v -0.97014 h 0.242534 v 0.7276 h 3.638021 v 0.24254 z m 0.242534,-0.97014 v -0.24254 h 0.242535 v 0.24254 z m 0.242535,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 0.242535,-0.24253 v -0.24254 h 0.242534 v 0.24254 z m 3.638021,0.7276 v -0.7276 h -1.697743 v -0.24254 h 1.940277 v 0.97014 z m -3.395487,-0.97014 v -0.24253 h 0.242535 v 0.24253 z m 1.455209,0 v -0.24253 h 0.242535 v 0.24253 z m -1.212674,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 1.455209,0 v -0.24254 h 0.242534 v 0.24254 z m -1.212674,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 1.455208,0 v -0.24253 h 0.242535 v 0.24253 z m -1.212673,-0.24253 v -0.24253 h 0.242534 v 0.24253 z m 1.455208,0 v -0.24253 h 0.242535 v 0.24253 z m -1.212674,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 1.455209,0 v -0.24254 h 0.242534 v 0.24254 z m -1.212674,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 1.455208,0 v -0.24253 h 0.242535 v 0.24253 z m -2.667882,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 1.455209,0 v -0.24254 h 0.242535 v 0.24254 z m 1.455208,0 v -0.24254 h 0.242535 v 0.24254 z m -2.667882,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 1.455209,0 v -0.24253 h 0.242534 v 0.24253 z m 1.455208,0 v -0.24253 h 0.242535 v 0.24253 z m -4.12309,0.48507 v -0.97014 h 0.242534 v 0.72761 h 0.727604 v 0.24253 z m 1.455208,-0.7276 v -0.24254 h 0.242535 v 0.24254 z m 1.455208,0 v -0.24254 h 0.242535 v 0.24254 z m -2.667882,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 1.455209,0 v -0.24253 h 1.212673 v 0.24253 z m 1.455208,0 v -0.24253 h 0.242535 v 0.24253 z m -2.667882,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 2.425347,0 v -0.24254 h 0.242535 v 0.24254 z m 0.48507,0 v -0.24254 h 0.242534 v 0.24254 z m -2.667882,-0.24254 v -0.24253 h 0.242534 v 0.24253 z m 2.425347,0 v -0.24253 h 0.242535 v 0.24253 z m 1.212674,0.72761 v -0.72761 h -0.727605 v -0.24253 h 0.970139 v 0.97014 z m -3.395487,-0.97014 v -0.24254 h 0.242535 v 0.24254 z m 0.242535,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 0.242535,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 1.940278,0.48507 v -0.72761 h -1.697743 v -0.24253 h 1.940277 v 0.97014 z" />
|
||||||
|
<path
|
||||||
|
id="path8150"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
d="m 52.360852,122.69568 v -0.24253 h 0.242534 v 0.24253 z m 2.910416,0 v -0.24253 h 0.242535 v 0.24253 z m -2.667882,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 2.910417,0 v -0.24254 h 0.242535 v 0.24254 z m -1.212674,0.48507 v -1.94028 h -1.212673 v 1.21267 h -0.242535 v -1.45521 h 1.697743 v 1.94028 h 0.727604 v 0.24254 z m -2.910416,0 v -3.88056 h 0.242534 v 3.63802 h 0.727605 v 0.24254 z m 2.910416,-3.63802 v -0.24254 h 0.242535 v 0.24254 z m -2.667882,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 1.212674,0.48507 v -0.7276 h 1.455208 v 0.24253 h -1.212673 v 0.24254 h 1.212673 v 0.24253 z m 1.697743,-0.48507 v -0.24253 h 0.242535 v 0.24253 z m -2.667882,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 2.425347,0 v -0.24254 h 0.242535 v 0.24254 z m 0.48507,0 v -0.24254 h 0.242535 v 0.24254 z m -2.667882,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 2.425347,0 v -0.24253 h 0.242535 v 0.24253 z m 1.212674,3.63802 v -3.63802 h -0.727604 v -0.24253 h 0.970139 v 3.88055 z m -3.395486,-3.88055 v -0.24254 h 0.242534 v 0.24254 z m 0.242534,-0.24254 v -0.24253 h 0.242535 v 0.24253 z m 0.242535,-0.24253 v -0.24254 h 0.242535 v 0.24254 z m 1.940278,0.48507 v -0.72761 h -1.697743 v -0.24253 h 1.940278 v 0.97014 z" />
|
||||||
|
<path
|
||||||
|
id="path8152"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
d="m 56.241405,122.93822 v -4.8507 h 0.242535 v -0.24253 h 0.242535 v -0.24254 h 0.242535 v -0.24253 h 1.940277 v 0.97014 h -0.242534 v 0.24253 h -0.242535 v 0.24254 h -0.242535 v 0.24253 h -0.242534 v 3.15295 h -0.242535 v 0.24254 h -0.242535 v 0.24253 h -0.242535 v 0.24254 z m 3.880556,0 v -3.88056 h -0.242535 v 1.21268 h -0.242534 v 0.24253 h -0.242535 v 0.24253 h -0.242535 v 0.24254 h -0.970139 v -1.94028 h 0.242535 v -0.24253 h 0.242535 v -0.24254 h 0.242534 v -0.24253 h 0.242535 v -0.24254 h 0.242535 v -0.24253 h 0.242535 v -0.24254 h 0.242534 v -0.24253 h 1.940278 v 4.85069 h -0.242535 v 0.24254 h -0.242534 v 0.24253 H 61.0921 v 0.24254 z" />
|
||||||
|
<path
|
||||||
|
id="path8154"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
d="m 64.972657,119.3002 v -0.24254 h -1.212673 v 0.24254 z m -2.910416,3.63802 v -4.8507 h 0.242534 v -0.24253 h 0.242535 v -0.24254 h 0.242535 v -0.24253 H 66.6704 v 2.91042 h -0.242534 v 0.24253 h -0.242535 v 0.24253 h -0.242535 v 0.24254 h -2.182812 v 1.21267 h -0.242535 v 0.24254 h -0.242535 v 0.24253 H 63.03238 v 0.24254 z" />
|
||||||
|
<path
|
||||||
|
id="path8156"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
d="m 66.912933,122.93822 v -4.8507 h 0.242535 v -0.24253 h 0.242535 v -0.24254 h 0.242535 v -0.24253 h 3.880555 v 0.97014 h -0.242535 v 0.24253 h -0.242534 v 0.24254 h -0.242535 v 0.24253 h -2.182813 v 0.24254 h 1.940278 v 0.97014 H 70.30842 v 0.24253 h -0.242535 v 0.24253 H 69.82335 v 0.24254 h -1.212674 v 0.24253 h 2.910417 v 0.97014 h -0.242535 v 0.24254 h -0.242534 v 0.24253 h -0.242535 v 0.24254 z" />
|
||||||
|
<path
|
||||||
|
id="path8158"
|
||||||
|
style="fill:none;fill-opacity:1;stroke:#0000ff;stroke-width:0.26458332;stroke-opacity:1"
|
||||||
|
d="m 71.76363,122.93822 v -4.8507 h 0.242535 v -0.24253 h 0.242534 v -0.24254 h 0.242535 v -0.24253 h 0.970139 v 3.88055 h 2.910417 v 0.97014 h -0.242535 v 0.24254 H 75.88672 v 0.24253 h -0.242534 v 0.24254 z" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 18 KiB |
131
co2sensor.yaml
Normal file
131
co2sensor.yaml
Normal file
|
@ -0,0 +1,131 @@
|
||||||
|
esphome:
|
||||||
|
name: co2_sensor
|
||||||
|
platform: ESP32
|
||||||
|
board: esp32doit-devkit-v1
|
||||||
|
on_boot:
|
||||||
|
- display.page.show: boot
|
||||||
|
|
||||||
|
logger:
|
||||||
|
level: DEBUG
|
||||||
|
wifi:
|
||||||
|
ssid: !secret wifi_ssid
|
||||||
|
password: !secret wifi_passwd
|
||||||
|
|
||||||
|
mqtt:
|
||||||
|
broker: mqtt.unhb
|
||||||
|
birth_message:
|
||||||
|
topic: co2_sensor/status
|
||||||
|
payload: online
|
||||||
|
will_message:
|
||||||
|
topic: co2_sensor/status
|
||||||
|
payload: offline
|
||||||
|
|
||||||
|
uart:
|
||||||
|
rx_pin: GPIO17
|
||||||
|
tx_pin: GPIO16
|
||||||
|
baud_rate: 9600
|
||||||
|
id: uart_mhz19
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: neopixelbus
|
||||||
|
pin: GPIO4
|
||||||
|
num_leds: 12
|
||||||
|
name: "ws2812 ring"
|
||||||
|
id: "ws2812"
|
||||||
|
restore_mode: ALWAYS_OFF
|
||||||
|
|
||||||
|
output:
|
||||||
|
- platform: ledc
|
||||||
|
pin: GPIO12
|
||||||
|
id: buzzer
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: mhz19
|
||||||
|
co2:
|
||||||
|
name: "MH-Z19 CO2"
|
||||||
|
id: mhz19_co2
|
||||||
|
on_value:
|
||||||
|
then:
|
||||||
|
if:
|
||||||
|
condition:
|
||||||
|
sensor.in_range:
|
||||||
|
id: mhz19_co2
|
||||||
|
above: 0
|
||||||
|
below: 800
|
||||||
|
then:
|
||||||
|
- light.turn_off:
|
||||||
|
id: ws2812
|
||||||
|
- display.page.show: co2
|
||||||
|
else:
|
||||||
|
if:
|
||||||
|
condition:
|
||||||
|
sensor.in_range:
|
||||||
|
id: mhz19_co2
|
||||||
|
above: 800
|
||||||
|
below: 1500
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: ws2812
|
||||||
|
brightness: 80%
|
||||||
|
red: 50%
|
||||||
|
green: 50%
|
||||||
|
blue: 0%
|
||||||
|
else:
|
||||||
|
if:
|
||||||
|
condition:
|
||||||
|
sensor.in_range:
|
||||||
|
id: mhz19_co2
|
||||||
|
above: 1500
|
||||||
|
then:
|
||||||
|
- light.turn_on:
|
||||||
|
id: ws2812
|
||||||
|
brightness: 100%
|
||||||
|
red: 100%
|
||||||
|
green: 0%
|
||||||
|
blue: 0%
|
||||||
|
- output.turn_on: buzzer
|
||||||
|
- output.ledc.set_frequency:
|
||||||
|
id: buzzer
|
||||||
|
frequency: "5000Hz"
|
||||||
|
- output.set_level:
|
||||||
|
id: buzzer
|
||||||
|
level: "80%"
|
||||||
|
- delay: 500ms
|
||||||
|
- output.turn_off: buzzer
|
||||||
|
- lambda: |-
|
||||||
|
static int num_executions = 0;
|
||||||
|
ESP_LOGD("main", "I am at execution number %d", num_executions);
|
||||||
|
num_executions += 1;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
temperature:
|
||||||
|
name: "MH-Z19 Temperature"
|
||||||
|
id: mhz19_temp
|
||||||
|
update_interval: 30s
|
||||||
|
automatic_baseline_calibration: false
|
||||||
|
uart_id: uart_mhz19
|
||||||
|
|
||||||
|
i2c:
|
||||||
|
sda: GPIO21
|
||||||
|
scl: GPIO22
|
||||||
|
|
||||||
|
font:
|
||||||
|
- file: "font.ttf"
|
||||||
|
id: cust_font
|
||||||
|
size: 28
|
||||||
|
|
||||||
|
display:
|
||||||
|
- platform: ssd1306_i2c
|
||||||
|
model: "SSD1306 128x64"
|
||||||
|
address: 0x3C
|
||||||
|
brightness: 100%
|
||||||
|
update_interval: 30s
|
||||||
|
pages:
|
||||||
|
- id: boot
|
||||||
|
lambda: |-
|
||||||
|
it.printf(64, 32, id(cust_font), COLOR_ON, TextAlign::TOP_CENTER, "starte...");
|
||||||
|
- id: co2
|
||||||
|
lambda: |-
|
||||||
|
it.printf(64, 32, id(cust_font), COLOR_ON, TextAlign::TOP_CENTER, "%.0fPPM", id(mhz19_co2).state);
|
||||||
|
# it.printf(64, 40, id(cust_font),TextAlign::TOP_CENTER, "%.0f°C", id(mhz19_temp).state);
|
BIN
font.ttf
Normal file
BIN
font.ttf
Normal file
Binary file not shown.
2
secrets.yaml.example
Normal file
2
secrets.yaml.example
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
wifi_ssid: 'Freifunk'
|
||||||
|
wifi_passwd: ''
|
Loading…
Reference in a new issue