Commit Graph

23 Commits

Author SHA1 Message Date
Juerd Waalboer 7b989eda31 More detailed on-screen portal instructions 2020-12-26 03:42:57 +01:00
Juerd Waalboer e9c6cd49ec Portal instructions on screen 2020-12-23 23:15:14 +01:00
Juerd Waalboer 5687e04440 Don't publish invalid sensor readings to MQTT 2020-12-22 05:19:51 +01:00
Juerd Waalboer e5167278ee Ignore unknown response from AQC
Haven't seen any non-0x86 responses yet, but who knows...
2020-12-22 05:19:40 +01:00
Juerd Waalboer 8a3efb3061 Whitespace 2020-12-22 05:12:08 +01:00
Juerd Waalboer c3671a07ad Exit demo with demo button 2020-12-22 05:11:33 +01:00
Juerd Waalboer 7f0bb70a93 Refactor timed events
Also, I learned that empty () after [] are optional; reduces linenoise a little.
2020-12-22 03:48:41 +01:00
Juerd Waalboer f4d1271109 Exit portal with portal button 2020-12-22 01:56:52 +01:00
Juerd Waalboer 468961e94c Use lowercase variable name
There was no good technical reason for using an allcaps identifier for CO2.
2020-12-20 05:17:51 +01:00
Juerd Waalboer 49a624d358 Remove debug printf 2020-12-20 03:56:25 +01:00
Juerd Waalboer 420868585d Support both AQC and MH-Z19B 2020-12-20 03:53:43 +01:00
Juerd Waalboer 6f4ac2b01b Experimental support for mystery sensor 2020-12-15 02:25:24 +01:00
Juerd Waalboer 6c7bb2c4a3 Deal with weird MH-Z19(B?) version
This one, with version number 0436, has a magic "I'm still booting" value
of 436 PPM instead of 410 PPM.

Interestingly, another sensor with version 0430 returns 430 for an instant,
but then goes to 410. During the short 430-phase the clamped CO2 value is
actually 0, so it doesn't require checking.
2020-11-27 05:33:15 +01:00
Juerd Waalboer 5c7bb23f80 Change references to snuffelaar to operame
Snuffelaar is a different project, where I originally copied the .ini from :)
2020-11-27 04:01:21 +01:00
Juerd Waalboer a4b25ea7e1 Include MQTT library dependency 2020-11-27 04:01:06 +01:00
Juerd Waalboer 0ab1ea28e6 Add logo 2020-11-25 01:55:40 +01:00
Juerd Waalboer df27d1474a Make compatible with millis() rollover 2020-11-18 23:45:20 +01:00
Juerd Waalboer 5359e62b12 Change RX and TX pins for MH-Z19
Per PCB layout change
2020-11-18 23:44:44 +01:00
Juerd Waalboer 5fdd5596cf Detect rotated TTGO 2020-11-17 21:40:43 +01:00
Juerd Waalboer 872649e03b Bare minimum README 2020-11-16 23:57:56 +01:00
Juerd Waalboer 4f33490310 Typo 2020-11-16 23:51:38 +01:00
Juerd Waalboer 10fd041370 Add .gitignore 2020-11-16 23:50:49 +01:00
Juerd Waalboer 56d4912e87 First commit 2020-11-16 23:48:15 +01:00