Skip to content

89 comments

"A CO2 sensor and a smart algorithm"
The algorithm: if(co2Sensor.ppm >= 5000) { rotateMotor(180); }

217 points

I know this is just a joke, but I'm going to poke at it because I'm a socially inept programmer.

The bug is either this works once ever since it's a single time check (i.e. alive -> dead, stays dead), or it's wrapped in a while loop and spins non-stop while ppm >= 5000.

Corrected it would be:

position = "up"  # using strings for readability but use an enum / bool / integer in practice

while(True):
    if position == "up" and co2sensor.ppm >= 1000:
        rotate_motor(degrees=180)
        position = "down"
        # note: you could encapsulate this into a class and make it a declarative call like `canairie.kill()` that maintains internal state and moves the motor, which also makes the call idempotent and simplify the calling function
    elif (predicate):  # fill in the rest since I'm too lazy to type it in on a phone
        # TODO
    sleep(seconds=60)
    # TODO: Another improvement is to prevent canairie thrashing due to temporary co2 fluctuations and only change direction based on a running window mean average / weighted mean average over the past n minutes. For memory efficiency you'd use a pre-allocated array or queue that allows traversal. A queue is easier to understand but results in heap usage while an array implementation is entirely on the stack.
12 points

Lmao, you have like 25 lines of commentary for 5 lines of code.

A true programmer.

17 points

Haha okay we might came off a lille too ā€˜smartā€™šŸ˜† with the wording… but you know… it’s hard to get people’s attention, right?!

// Hans — Co-founder & Designer of Canairi

2 points

Seems pretty form over function. Would much rather have a small detector with an alarm built into or near my smoke alarm than a cutesy artsy design element that I'd have to incorporate into my decor and refer back to constantly throughout the day to keep tabs on levels.

91 points

Maybe you are not in the target group, I imagine that thing being used for example in kindergarten or school settings...

10 points

In a school setting then it shouldn’t be visible and should be an alarm routed straight to the front office/fire department. Lol not a silly wall clock looking thing.

Imagine if the battery dies and it slumps and causes an evacuation of the room for no reason.

27 points

Then they need some video editing help, because that doesn't come across in even the slightest. Especially with such an obvious chance to mention something about keeping kids safe or even featuring some shots of happy kids who aren't dying to imply that. But instead they show footage of and descriptions of the grim life of coal miners and the only shots of people in this century is a deeply concerned woman who looks like she's contemplating her mortality as she opens a door to avoid death and an old man slowly pacing through the darkness like he's long since come to terms with his mortality.

7 points

If schools were in the target group, they should have done a better job with their advertising.

2 points

Lol a$150 gadget in a classroom? If a school was serious about air quality they'd get an HVAC upgrade. If they were serious about having art in the classroom they could buy pretty prints in bulk.

1 points

Family runs out every time the battery does.

16 points

Hi,

I’m the co-founder and designer of Canairi.

Actually the bird turns 90 degress when it needs to be charged 🐤 You can also keep it wired with a power cable, if you feel like it :)

1 points

Does anyone really have a problem with CO2 in their house? How about CO?

14 points

At least in Canada, it's illegal* to not have a carbon monoxide detector for every ___m² indoors or something like that for indoor places like businesses, rental units/Airbnb, etc.

*Not too too sure about the laws surrounding this but there are definitely at least hefty repercussions if not followed

Though, ya, in my own personal experience, I only ever air out my room when its so stuffy that it's suffocating (winter, cold, can't keep windows open) So device would be a nice reminder so it wouldn't have to get to that point.

6 points

For real ? I'm Canadian and I know literally nobody who has one in their offices and stuff.

They have ammonia sensors tho.

1 points
unknown author

Deleted before we saved it.

1 points

Cognitive function starts degrading above 1000 ppm: https://www.google.com/search?q=co2%20cognitive%20impairment&ie=utf-8&oe=utf-8&client=firefox-b-1-m

This is easily achieved with a few people over an hour depending on the size and air circulation of a room. I've been in conference rooms with co2 monitors and also travel with one on hand.

On a side note, Japanese stores and restaurants have co2 monitors visible as a proxy indicator of air circulation because of COVID.

6 points
unknown author

Deleted before we saved it.

2 points

I assume it's for offices, schools, etc. As a playful reminder to let some fresh air in again.

1 points

It’s carbon monoxide you have to worry about, not so much CO2. Some aquarists keep co2 to inject into fish tanks for plants

1 points

Man the comments in the original. People need to learn to enjoy the little joys in life.

8 points

If you're going to turn a wheel and dangle a dead canary puppet...

Shouldn't you just turn an exhaust air damper?

Like if your house's air becomes actively poisonous without manually opening a sliding glass door then it needs to be marked uninhabitable until the condition is rectified.

6 points

CO2 at these levels isn't actively poisonous though. Maybe a subtle irritant at worst.

It's more useful in places like offices and classrooms as a way to detect poor ventilation (and therefore increased viral transmission risk, among other concerns).

Sticking an indicator up is much easier than retrofitting powered window openers to your house.

3 points

When I'm sequencing a CO2 exhaust system I'm doing it because there's potentially an active source of CO2 that needs to be mitigated. It might hurt somebody.

ASHRAE defines minimum outside air ventilation standards and your home or workplace should be built to maintain them.

If there's a possibility that your space is not up to ASHRAE standards then a proper survey with a logging gas monitor might indeed be a good idea. The PPM readings from such a monitor will be key to building your case for remediation.

But there's no universe in which "I will install this expensive motorized robot bird that plays dead, and when it plays dead I will open a window" is a reasonable sequence of operations for dangerous levels of CO2.

Any level of CO2 that is safe with a robot bird/window combo is already safe. So you can skip the robot bird and open the window if the room feels stuffy.

And putting a CO2 sensor or, hey hey, a periodic timer on your bathroom fan is not especially expensive. It's not going to be worse than this robot thing.

Your classic ventilation timer runs about $35.

2 points

"in the coal mines of today...your home"

Wtf that was some dark shit

5 points

ā€œIf the bird drops deadā€ huh!? Wow great copy. /s

5 points

Is the risk of high CO2 in your air at home that much? I feel like it could measure a whole heap more factors for air quality than just co2, I know my smart air freshener does.

My partner burnt toast, air freshener turned an angry red and set the fan speed full pace to clean the air as quickly as possible.

3 points

Haha! My cousin bought a nanny cam that measured air quality, an odd feature but I suppose for her first child it was an extra thought. Anyway, my grandad visited them one day, and farted in the same room, and she got an alarm saying the air quality was dangerous! I can just imagine someone buying this and realising just how bad their farts are when the thing literally drops dead from the smell lol

3 points

My unorganized thoughts on this:

Personally I think this is a neat idea but simply isn't practical. I would prefer just a gauge and alarm, but I also like the simplicity and calmness of this design. Another idea is that it's not immediately apparent what this device does, although that is highly subjective, as a canary pretty obviously demonstrates some sort of toxic gas in the air, just not what specific gas. I don't think carbon dioxide is that big of an issue to warrant its own device, I think a central air measurement system would be better, measuring temperature, humidity, CO2, CO, ozone, VOCs, and other particulates/gasses.

2 points
unknown author

Deleted before we saved it.

1 points

So, I got an ounce of loud and bedroom with one window. Anyone wanna come play kill the canari?

2 points

How is a dead canary, which harks back to the abuse of animals in appalling human working conditions, considered playful??

"oh look Bobby, the canary is dead! If we were coal miners, we'd be dead too! Isn't that fun?"

2 points
unknown author

Deleted before we saved it.

1 points

one time i got pooped on by a bird from an incredibly far distance while riding a bike. made a huge impact on me. birds are good signalers and i think children would break this thing almost immediately.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.