# COVID-19 "Healthy-Indoors-Project"

**URL:** <https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942>\
**Category:** Share Your Projects\
**Created:** [16 September 2020 06:04 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942 "2020-09-16T06:04:52Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [16 September 2020 06:04 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/1 "2020-09-16T06:04:52Z")

</div>

Dear all,

I like to share my recent project monitoring Air Quality in rooms with multiple sensors using ad-hoc networks.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/0/50d52fd79eeeb6a4cf2870177111d9c4ccea4777.png)

> **[Christian-Me/healthy-indoors-project](https://github.com/Christian-Me/healthy-indoors-project)**
>
> Contribute to Christian-Me/healthy-indoors-project development by creating an account on GitHub.

Air quality (measured by CO2 or VOC levels) can be an indicator of possible virus concentrations in the air. To lower health risks in indoor environments it is important to ventilate rooms regularly. This project could help schools or offices without sufficient mechanical ventilation especially as the temperatures will fall soon.

I hope this could be a educational project for schools and students. Open space offices and benefit too. Every room occupied by many people raises the risk of infections of any kind.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/c/ec97f4da2aa7edbde61682cc87670154d18c8ff0.jpeg)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/8/b8d475015242756be0699dd8fc0254e5270a459b.png)

Live data of my 3 BME680 are published on **mqtt://broker.hivemq.com:1833** subscribe to: **healthy-indoors-project/#** currently placed in my home but soon installed in an open space office.

Demo flow on [GitHub](https://github.com/Christian-Me/healthy-indoors-project/tree/master/NodeRED)

Using: dashboard, ui-table, node-red-contrib-homie-convention, node-red-contrib-ui-artless-gauge

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [16 September 2020 07:54 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/2 "2020-09-16T07:54:22Z")

</div>

Oh no, not another project that I really want to build but haven't got enough time for ☹

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [16 September 2020 09:04 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/3 "2020-09-16T09:04:11Z")

</div>

I totally understand - we have to slow down the angular speed of the earth 😉

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/c/dc2f66b64f7b3a3ce2b4a93c54f7bd0bb321fb36.jpeg)  
Not a healthy behavior too ... my sleep tracker is going mad for weeks now.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [16 September 2020 10:31 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/4 "2020-09-16T10:31:25Z")

</div>

Nice project. I don't want to scare you but with 6400ppm CO2 you should worry - and not just a little bit, this number should preferably be lower than 600.

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [16 September 2020 11:06 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/5 "2020-09-16T11:06:51Z")

</div>

👍 Good spot. I’m using BME680 sensors for now. They do not measure CO2 directly. This is only a estimate (eCO2 = equivalent CO2). The sensor measures VOCs. The screenshot is taken me using an e-cigarette = steam vapor = aerosol = so perhaps good for testing. As you see the much to high CO2 values are from sensors just started or calibrating = the eCO2 is not valid.  
Ordered some IR CO2 sensors to compare both technologies. Found some papers mentioning that VOC sensors are perhaps a better indicator for IRQ than CO2. (See also linked video from Bosch.)  
In the end perhaps it makes no sense to use absolute figures and only working with relative trends (calibrate/zero a well ventilated unoccupied room in the morning work from this)  
All this considerations and analysis are part of the project.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 September 2020 11:07 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/6 "2020-09-16T11:07:35Z")

</div>

Indeed, looks like a scaling issue on the table.

> **[What are safe levels of CO and CO2 in rooms? | Kane International Limited](https://www.kane.co.uk/knowledge-centre/what-are-safe-levels-of-co-and-co2-in-rooms)**
>
> Kane International Ltd designs and manufactures portable test and measurement equipment in the UK, including Combustible Gas Detectors, Flue Gas Analysers, Combustion Meters, Automotive emissions analysers to Class 1 OIML

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [16 September 2020 11:39 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/7 "2020-09-16T11:39:34Z")

</div>

The term “volatile organic compounds” is perhaps too difficult in a Public discussion but seamed to be a good option to start this project. (Small, cheap, low power consumption)  
On the other hand VOC sensors measure the background concentration (smog / bad furniture/ carpets / fabrics) too where CO2 give a “natural” scale not affected by too many local factors. VOCs are very sensitive on human aerosols - it is enough to exhale near to a BME860 and you get a significant peak.  
In the end both types together with dust and whatever (mass spectrometer?) do the science.

One idea of the project is start a discussion about air quality in general by simply doing something instead of complaining. (See links to some papers in the readme.md)

But simply I had 3 BME680 in my drawer intended to use as present detectors.

Will see what real life tests in a office environment bring or experiences from others. Hope I get my CO2 sensors in time to compare.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [16 September 2020 21:32 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/8 "2020-09-16T21:32:10Z")

</div>

Good CO2 sensors are very expensive - depending on the sensitivity, and they may only last a couple of years (if they are not NDIR type sensors).

Good readings and cheap don't work in the realm of particle reading unfortunately. ±50ppm accuracy starts at about €100 and still quite inaccurate - NDIR sensors, they get influenced by temperature and humidity. If you go to 20ppm or lower, you are looking at €1000's. [Nice research paper](https://scholarworks.uvm.edu/cgi/viewcontent.cgi?article=1359&context=hcoltheses) comparing some of these sensors against scientific equipment.

I looked at CO2 sensors before and it was a rabbithole 😉

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [16 September 2020 21:39 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/9 "2020-09-16T21:39:23Z")

</div>

There was a really good YouTube video somewhere. I seem to remember by one of the BME680 designers about air quality measurements, their limitations and how you could produce useful results. Not sure I could find it again now ... Oh, wrong, there it was in my electronics list 🕶

https://www.youtube.com/embed/1niOmSsF-tk?feature=oembed&wmode=opaque&list=PL9IEADRqAal3IEEPIGoFtg8Cc0REFKGqQ

---

<div class="post-metadata">

**Author:** ![iiLaw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iilaw/32/14782_2.png) [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Post date:** [17 September 2020 09:59 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/10 "2020-09-17T09:59:46Z")

</div>

Hi [Christian-Me](https://discourse.nodered.org/u/Christian-Me) I would highly recommended you watch this [https://www.youtube.com/watch?v=u2rNX2T2Hew&feature=youtu.be](https://www.youtube.com/watch?v=u2rNX2T2Hew&feature=youtu.be) RESET is the gold standard for IQA in commercial buildings the vid covers their Research and findings on Covid.

I would add this to your reading list  
[https://theconversation.com/how-to-use-ventilation-and-air-filtration-to-prevent-the-spread-of-coronavirus-indoors-143732#:~:text=Using%20CO2%20to%20measure%20air%20circulation&text=But%20there's%20an%20easy-to,up%20with%20potentially%20infectious%20exhalations](https://theconversation.com/how-to-use-ventilation-and-air-filtration-to-prevent-the-spread-of-coronavirus-indoors-143732#:~:text=Using%20CO2%20to%20measure%20air%20circulation&text=But%20there's%20an%20easy%2Dto,up%20with%20potentially%20infectious%20exhalations).

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [17 September 2020 13:51 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/11 "2020-09-17T13:51:28Z")

</div>

Hi Julian,  
yes actually you planted the seed a decade ago: [New bathroom ideas](https://discourse.nodered.org/t/new-bathroom-ideas/19980/91)

I know the limitation of a BME680 and I believe the eCO2 figure is more a marketing stunt. The BME has it’s origin from the automotive industry (as they mention in the video a couple of times) and certainly not a scientific sensor for CO2. In my car these sensors start the ventilation if they recognize a **increase** of the compounds these kind of sensor measure (mixed gas sensors).

And this is (as I think) exactly what it is necessary these days. We currently do not measure the climate change (even if I sometimes think it would be good to be able to focus on more than one problem at a time)

Perhaps to outline the project (I know and understand ... TL;DR)

- currently the indication of "relative" air quality is crucial. Against absolute values you might can’t do anything (Smog, pollution) through ventilation.
- cheap sensors easy to implement (prefer i2c insted of 5v modbus & level shifters & more code: ie. sensair S8)
- visualize a "relative" value - that`s why I made the neopixel monitor node... no values to discuss. or charts without a grid / values
- VOC values goes up immediately when people enter a room and after a short period (5-10s) these liquid based compounds reach the other corner of the room! If you think aerosols are a thing that is scary. I think (but will find out soon) that CO2 levels go up much slower
- check which sensors work best.
- and finally build something yourself!

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [17 September 2020 14:09 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/12 "2020-09-17T14:09:04Z")

</div>

Thank you for the links. Great video - I will add this and take other measures like humidity into account (as there is a humidity sensor build into the BME680)  
I actually have dozens of these papers in my files - In germany the researchers of the TU-Berlin around **Professor Dr. Martin Kriegel** is all around in the media. With little success.  
Colleges of mine close the only window in a meeting room today - traffic was to noisy. School kids are not allowed to bring CO2 sensors into classrooms (Teachers doesn’t like to be controlled). Politics desperately what business as usual and a airborn virus might destroy all safety concepts.

“There is no glory in prevention.”

**So my Idea is to sneek into offices and classroom via a “science project” - people might learn from it and make their own conclusions.**

_Or did you found any concerns/ mistakes in my post?_

> **[The Risk of Infection is in the Air](https://www.tu.berlin/en/research/themenportal-forschen/2020/mai/the-risk-of-infection-is-in-the-air/)**
>
> How does the SARS-CoV-2 virus spread in room air? Prof. Dr. Martin Kriegel from TU Berlin has the answers.

---

<div class="post-metadata">

**Author:** ![iiLaw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/iilaw/32/14782_2.png) [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Post date:** [17 September 2020 15:38 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/13 "2020-09-17T15:38:18Z")

</div>

The RESET vid shows how important humidity is for virus survivability.  
The bosh vid interesting showing that VOC is also a good indicator for use cases that co2 doesn't capture. But co2 is being touted as a good proxy for particle accumulation.  
And there is evidence that ACH air changes an hr need to increase too.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [17 September 2020 17:06 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/14 "2020-09-17T17:06:10Z")

</div>

> [@Christian-Me](#):
>
> actually you planted the seed a decade ago

Haha, I can barely remember what I did yesterday let alone the start of the year, that seems more like a lifetime ago than a decade 🙂

---

<div class="post-metadata">

**Author:** ![janvda](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/janvda/32/234_2.png) [@janvda](https://discourse.nodered.org/u/janvda)\
**Post date:** [17 September 2020 17:28 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/15 "2020-09-17T17:28:12Z")

</div>

Hi @Christian-Me

Very interesting project.  
Also your ui-table looks really cool.

I am just wondering how the sensors are powered.  
And in case they are battery powered how long they can run on charged battery.

kr  
Jan

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [17 September 2020 19:50 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/16 "2020-09-17T19:50:24Z")

</div>

Hi,

Thank you. Acutally the flow is a slightly modified version of the remote-device-table. Could be impoved in marking unrealistic readings and so on.  
I started the project with parts out of my toolbox. The first monitor node is esp8266 wroom module with a lion 18650 single cell including charging chip and step up converter: not efficient but has a physical power switch. I have a wemos li-on board but that is not ideal because it does not have a power switch.  
I started now coding for a ttgo/lolin esp32 + 1.4” TFT + lipo pack (1 or 2Ah): will make some measurements then but expect a hole day without deep sleep and one led.  
The BME can work with deep sleep and I already coded saving the calibration data to RTC memory. But didn’t tested everything rushing to get the proof of concept (but lately I discovered that Bosch provides a ESP32 deep sleep demo) Have to avoid recalibrating after wake up.  
So the LED indicator will be the biggest power drain because we don’t need wifi with its long and busy handshake.

I expect a sensor with led working a day minimum. I will put the TFT on a push button and timeout. We will see. So many tasks and unfinished parts. And I have three LoRa boards too untested and no LoRa experience on my side.

Last but not least the ESP32 has an ultra low power core ... why not reading the sensor and only wake up after a significant change.

So I everybody is invited to contribute 😃

---

<div class="post-metadata">

**Author:** ![Christian-Me](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/christian-me/32/10774_2.png) [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Post date:** [18 October 2020 10:34 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/17 "2020-10-18T10:34:06Z")

</div>

Hello,

I developed the project further (even my time is limited)

**latest updates**

- combined sensor / monitor nodes
- add a TFT color display (using the quite nice TTGO T-Display module)
- simple GUI with multiple charts
- added a Chinese CO2 sensor (MHZ19)
- redesigned the software architecture (work in progress)
- case designs for pocket size modules to 3D-print

**still a ton of things to do**

- finish software architecture
- pairing sensors to monitors (i.e. rooms)
- pairing rooms with "rooms over the corridor" to coordinate cross ventilation
- better thermal design for the cases (LED heating the sensor is not good 😉 )
- implement LVGL as GUI & touch screen config and room monitor
- single MCU bridge between esp-now and WiFi (serial workaround is OK but far from optimal)
- desktop / mobile user interface
- battery optimization with "smart" deep sleep, deep sleep using the ULP-core of the ESP32, battery surveillance and low power modes of the sensors, displays ...
- battery powered nodes running minimum a hole working day (8h)
- bug fixing and documentation
- scientific research
- combining different sensors and measurements to a common IAQ index per room / cluster / building
- designing a PCP to combine mcu, sensors, displays, charging (think still using of the shelf modules)

Looking at the current numbers 😬 and the experiences in my office I became less convinced that the project can help. But in the future air quality is still an issue which is ignored for too long.

All input to the project is highly appreciated.

 ![monitor-case](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/8/480267f4e1fe358779a5e94091e97baa92108a7a.jpeg)  
 ![sensor-case](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/a/fabb8a02b2c816049c9957f915670bd7d8b39a6a.jpeg)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [15 November 2020 06:04 UTC](https://discourse.nodered.org/t/covid-19-healthy-indoors-project/32942/18 "2020-11-15T06:04:57Z")

</div>

This topic was automatically closed after 60 days. New replies are no longer allowed.
