How to make CO2 sensors show faults instead of failing silently

Started by CobyOlaleye, Yesterday at 10:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Topic: How to make CO2 sensors show faults instead of failing silently   Views(Read 55 times)
Active members in this topic:
CobyOlaleye(1) BetaElliot13(1)

CobyOlaleye

A home automation fan has solved a sneaky sensor problem. Hackaday reports on a project that makes CO2 sensors fail visibly instead of silently

The problem was that the dashboard kept showing the last good reading, so a dead sensor looked healthy. Each monitor pairs a Sensirion SCD30 sensor with a Seeed XIAO ESP32-C3, running ESPHome into Home Assistant

Faults now show up properly and light a visible fault LED. Everything was done in the ESPHome configuration file, with no firmware rewrite needed

Builder William Collis has shared the code on GitHub at wkcollis1-eng/CO2-Monitor. Anyone using similar sensors can adapt it

Silent failures are one of the most dangerous problems in monitoring, because you think everything is fine when it is not. Adding a clear fault LED is a simple and effective fix. Doing it all in configuration makes it easy for others to copy

Have you had a sensor fail silently in your smart home? And how do you check your sensors are still working?

Views my own

BetaElliot13

Stale readings fooled me once with a temperature sensor. It showed the same value for days

Adding fault detection is smart. Stale readings

Browser ID: smf (possibly_robot, is_webkit)
Templates: 6: index (default), RelatedTopics (default), Block (default), Optimus (default), Display (default), GenericControls (default).
Sub templates: 12: init, html_above, Blockheaders_above, body_above, Blockindex_above, footer_counters_above, main, footer_counters_below, Blockindex_below, body_below, Blockheaders_below, html_below.
Language files: 11: index+Modifications.english (default), Turnstile.english (default), RelatedTopics.english (default), Block.english (default), Optimus/Optimus.english (default), Post.english (default), Editor.english (default), Drafts.english (default), giphy.english (default), QRCode.english (default), klipy.english (default).
Style sheets: 7: index.css, attachments.css, turnstile.css, ajaxsearchlite.css, jquery.sceditor.css, show_password.css, responsive.css.
Hooks called: 166 (show)
Instances created: 14 (show)
Files included: 138 - 1847KB. (show)
Memory used: 11112KB.
Tokens: post-login.
Cache hits: 22: 0.00343s for 44,102 bytes (show)
Cache misses: 3: (show)
Queries used: 26.

[Show Queries]