35 ms·
I once figured that you don't need light in your house if your eyes are closed, and I hooked up blink detection to my smart bulbs: https://www.youtube.com/watc
by stavros 5y ago
I once figured that you don't need light in your house if your eyes are closed, and I hooked up blink detection to my smart bulbs:
https://www.youtube.com/watch?v=xzcdopwq7ok https://www.youtube.com/watch?v=xzcdopwq7ok
It actually worked really well, I couldn't perceive the room being dark at all.
- nathanvanfleet 5y agoA very forever-alone project
- adrianN 5y agoThis is the first application of smart bulbs that makes me want them in my house. Congratulations.
- uyt 5y agoIt's fun and all but is it really practical? If you have more than two people in a room, it should turn off only when both are blinking at the same time, which should basically be never?
- Santosh83 5y agoNot to mention it will kill the lifetime of the bulb.
- kenniskrag 5y agoalso with LED? I though you reduce the light by letting then blink really fast.
- pmx 5y agoVariable brightness with an LED is achieved using pulse width modulation, turning it on and off REALLY fast. So no, this won't have any effect on the life of the LED :)
- zenexer 5y agoNot for LED bulbs, as far as I know. That’s certainly true for incandescent, but I don’t think this experiment would work well with incandescent anyway.
- Hendrikto 5y agoAlso: How much electricity is conserved by turning off the light bulbs for 200ms every few seconds VS how much energy is expanded by running a webcam + CV program constantly? It’s probably less energy efficient overall.
- MR4D 5y agoI suppose it will be for Facebook or any advertising firm that wants to push it to the next level of getting into your head.
- adrianN 5y agoIt's clearly not practical. I would assume that the "smart" overhead consumes a lot more electricity than you could save by turning them off for a couple of minutes a day. But it is really fun.
- throw1234651234 5y agoThis is resume-driven-development, except with IoT rather than K8S, Terraform, and AI. Shard a DB w/ 1000 records, put your 3 page website in a Terraform config transpiling down to an Azure .yaml config defining K8S micro-services running in the Cloud - the machine spins up every time the lights blink out for 200MS!
- nnamtr 5y ago- Is the lamp still on while blinking? - Is the sun still shining during a nap? - Is the fridge's light still on while it's closed? - Does God exist? Some fundamental questions, but we'll never be able to find an answer.
- nefitty 5y agoLamp lights are not dependent on whether you can see them or not, unless they are programmed to. The state of an individual person’s consciousness has no bearing on whether the sun is shining or not. Refrigerator lights turn off when the door closes. It’s usually easy to find the mechanism that handles this and manually trigger the light to switch off. Regarding God, I assume you mean the Abrahamic god. There are many culturally specific deities and superstitions and there doesn’t seem to be any verifiable reason why one would be “realer” than any other.
- nnamtr 5y agoWhat if the world is just a dream? Then an individual person's consciousness has a massive influence on the weather. And there would be new arguments for the existence of God.
- ImprobableTruth 5y agoThe 'issue' is that these are essentially 'commonsense' answers. By definition it's impossible to empirically study the unobservable. Though of course whether these questions are at all interesting - after all the answer has no effect on anything or it would be observable - is another matter.
- pieshop 5y agoThe problem with this argument is that it's begging the question. You're assuming that the Universe is behaving in a way that is consistent with how it appears. There is no possible experiment you could in principle do to verify that the universe stays the same when you're not looking. We can say that the universe behaves consistently as though it does, and I'm not saying that doesn't matter, but it's not quite the same thing. Furthermore we can't tell whether the universe is tricking us some of the time, or all of the time, or never.
- BurningFrog 5y agoSince this is HN, I have to ask how it works. Assuming you didn't install sensors in your eyelids, it's probably something processing the feed of the camera?
- stavros 5y agoYes, there was a very simple OpenCV-based blink detection program on my computer that I repurposed to control my bulbs with. When it detects a blink, it turns the bulb off for 200ms, which is long enough for me to not perceive any darkness.
- cferr 5y agoWouldn't power cycling your bulbs like that lower their longevity?
- hexa22 5y agoNo. These things are designed to turn on and off hundreds of times per second to emulate dimming.
- adrianmonk 5y agoOr even tens of thousands of times per second, according to an Analog Devices article: "Don’t Want to Hear It? Avoid the Audio Band with PWM LED Dimming at Frequencies Above 20kHz" (https://www.analog.com/en/technical-articles/avoid-the-audio-band-with-pwm-led-dimming.html https://www.analog.com/en/technical-articles/avoid-the-audio...).
- vel0city 5y agoThe part that wears out from cycling often is the ballast of the bulb. I imagine these smart lights are in the bulb's ballast, so sending the "off" command isn't de-energizing the ballast of the lightbulbs. If you were doing it on a smart light switch that was feeding 120V to the ballasts I do imagine it would impart some additional wear and tear to the bulbs. I'm not sure how much additional wear and tear it would be on an LED, I know the main thing that wears out on a florescent is the starting circuit which needs to bring the energy of the bulb enough to start the arc which wears out over time.
- high_byte 5y agothat is the definition of hacking. so sick!
- Hendrikto 5y agoHow much electricity is conserved by turning off the light bulbs for 200ms every few seconds VS how much energy is expanded by running a webcam + CV program constantly? It’s probably less energy efficient overall.
- deleted 5y ago[deleted]
- meragrin_ 5y agoTurning the bulb off for just 200ms might be increasing energy usage by itself. I know in older bulbs you had to leave them off for so many seconds/minutes before you gained any savings by turning them off. The amount of energy it takes to get them going far exceeds the amount needed to keep them running. There is also the problem of the bulb wearing out faster because of the constant switching on and off.
- londons_explore 5y agoFor a modern (led) bulb there is effectively zero wasted energy by turning it off and on, but it depends how you define waste. Does light emitted after the switch is turned off count as waste? (Most bulbs take a few hundred ms to turn off)
- IgorPartola 5y agoMinutes? I would like to see the math on that one.
- minitoar 5y agoFor a CFL, it’s about 15 minutes. https://www.energy.gov/energysaver/save-electricity-and-fuel/lighting-choices-save-you-money/when-turn-your-lights https://www.energy.gov/energysaver/save-electricity-and-fuel...
- wlesieutre 5y agoNote that this has nothing to do with saving energy and everything to do with reducing wear on the bulb from on/off cycles. > The operating life of CFLs is more affected by the number of times they are switched on and off. You can generally extend the life of a CFL bulb more by switching it on and off less frequently than if you simply use it less. > In any case, the relatively higher "inrush" current required lasts for half a cycle, or 1/120th of a second. The amount of electricity consumed to supply the inrush current is equal to a few seconds or less of normal light operation. Turning off fluorescent lights for more than 5 seconds will save more energy than will be consumed in turning them back on again. For this specific discussion about turning lights off while you blink, yes, you do actually burn more electricity in addition to wearing the bulb out if you're cycling it off for just 200ms. But for real world use by normal people, turning off for 5 seconds will save energy, and turning it off for 15 minutes will save money.
- IgorPartola 5y agoBe careful with this one. If you see a house/apartment where lights are repeatedly being turned on/off that’s generally considered a signal that they are in distress and you might get first responders dispatched to you curtesy of a neighbor who saw this and called 911. Also I honestly can’t think of a worst way to try to save money, especially after you factor in the power it might take to do the facial recognition. There would be a good chance that you actually lose money unless you are in a hanger full of Na lights. Edit: 5 bulbs in a room that each consume 10 watts (fairly generous), people blink up to 20k times a day, an average blink is 100 ms. So that’s 2000 seconds of blink time or just about 33 minutes. 33*5*10 is 28 Watt-hours saved per day or about 0.84 kWh per month. At the rate of $0.20 per kWh you just saved $0.16 a month. But wait you have latency to detect the blink so let’s cut that figure by 15%. And since we don’t know how long a blink will last (some are shorter) you also need to reduce the off time by one standard deviation of a blink so to be safe let’s make the off period after detection last only 60 ms. So now we are at $0.096 per month. And now we also need to run multiple cameras and facial detection which has to run continuously. Unless you can do that under 28*0.6=16.8 Wh per day you are losing money.
- seszett 5y ago> If you see a house/apartment where lights are repeatedly being turned on/off that’s generally considered a signal that they are in distress I would assume that they just have kids.
- robertakarobin 5y ago> they are in distress > they just have kids Is there a difference?
- MattGaiser 5y agoI suspect it is more relevant for a time when you would have been more likely to have known your neighbours.
- ALittleLight 5y ago
- DonHopkins 5y agoHow did you even know that it worked??! ;) Can you invert it so the light only turns on when your eyes are closed?
- stavros 5y agoI tried that but I couldn't tell if it was on :(
- blakblakarak 5y agoHow can you be sure that all lights don't do this already ?
- pacifika 5y agoBlink with one eye
- DonHopkins 5y agoYou could use two oppositely polarized lights, and wear polarized glasses, so you could switch the lights in the room on and off individually for each eye.
- coopsmoss 5y agoImpossible! That would be a wink.
- remirk 5y ago> It actually worked really well, I couldn't perceive the room being dark at all. From the video, it seems there is quite a bit of latency between your blink and the lights blink. But it's an interesting project nonetheless!
- stavros 5y agoIt does, I think that's an artifact of the video. Or at least it felt very quick IRL.
- RootKitBeerCat 5y agoThis needs at least 1billion views: this is art and comedy at its highest form!
- app4soft 5y agoWebsite disabled: > This project has received too many requests, please try again later.
- mirkules 5y agoAmazing. It reminds me of the car company that built rain detection in their car and turned on your wipers so you don’t have to. I don’t remember which manufacturer it was but their ad was hilarious “think of what you can do with that extra time you would have used to turn on your wipers”
- deleted 5y ago[deleted]
- rsyring 5y agoI have a car that detects rain quantity and automatically increases or decreases wiper speed. I still have to turn the wipers on, but otherwise it's completely automatic. I never would have thought a feature like this mattered until I actually had it. Now I wouldn't want a car without it. FWIW, this feature in my BMW works great. The same feature on my Ford Expedition doesn't work nearly as well.
- ninju 5y agoMany cars now can start the wipers, in addition to adjust the wiper speed, when rain is sensed on the windshield https://www.consumerreports.org/automotive-technology/rain-sensing-windshield-wipers/ https://www.consumerreports.org/automotive-technology/rain-s... This tells the system to *activate the wipers*, as well as adjust wiper speed and frequency based on the intensity of the precipitation combined with the vehicle’s speed.
- adrianmonk 5y ago> Many cars now can start the wipers That's been around for quite a while. My car from 2006 does it.
- lanstin 5y agoMy Tesla model 3 has it, but like so much else new advanced tech it isn't yet as good as the human thing it was replacing. But it is less work.
- perryizgr8 5y agoI don't know how your bulbs respond so fast. My philips hue bulbs seem to always take half a second to react to anything.
- stavros 5y agoIt's a YeeLight bulb and I wrote a library to talk to it directly over the LAN.
- DonHopkins 5y agoYou could also use computer vision to mute the speaker when you covered your ears, and mute the microphone when you covered your mouth! Zoom meetings would be so much easier.
- joshmarlow 5y agoFun fact - when your eyes are performing a saccade (ie, moving around a scene) they discard a lot of detail in the visual input to avoid blurs ([0]). If you could detect saccades and dim/turn off the lights, I wonder what the perceptual experience would be! [0] - https://en.wikipedia.org/wiki/Saccade#Saccadic_masking https://en.wikipedia.org/wiki/Saccade#Saccadic_masking
- stavros 5y agoUnfortunately I think the latency would be too great for that, but it's definitely an interesting notion.
- joshmarlow 5y agoYou're probably right. I wonder if you could get enough of a speed improvement using an FPGA for the image processing?
- stavros 5y agoI think most of the latency was actually in acquiring the image from the camera and sending the on/off command over the network. Processing was pretty fast, IIRC.
- ffitch 5y agoHahah, well, a couple of guys out there have hundreds of billions of dollars, and far fever ideas worth competing with this one. Good luck!
- deleted 5y ago[deleted]
- soheil 5y agoIncredible idea. Can it be applied to compute heavy visual applications too? Like playing a game at 4k at 120hz, what if the game would stop rendering and the display would turn off for 100ms every time you blink but the game would proceed as normal?
- stavros 5y agoProbably, but due to how game rendering works I don't think you'd gain anything other than battery life..
- soheil 5y agoWell that assertion leaves a lot to imagination. So if you're running a 1080ti GPU it uses a max power of 250w, worse case you can cut power to its onboard processors in a way that does not require re-initialization after power is resumed in 100ms. Even a 5% improvement would translate to a reduction of 12w just on the GPU front.
- mooman219 5y agoThe average person blinks 28,800 times a day. 10% of your time awake is spent with your eyes closed [Source: Google I'm feeling lucky. YMMV]. Imagine saving 10% on your lighting bill. This is revolutionary. You really only need it to work for one person in a household as long as everyone gets on the same blinking schedule.
- stavros 5y agoDid you know that, when people live together, their blinks tend to synchronize? It's true*. * For small values of true.
- arkitaip 5y agoLMAO this is fucking brilliant.
- lupire 5y agoTell me you are always alone when at home without telling me you are always alone when at home.
- stavros 5y agoAlas, I am never alone at home.
- kuzee 5y agoThis is a hysterical application of technology, thanks for sharing. A small part of me worries that some cubicle company will add it as a feature to individual cubicles in offices. We already have aggressive proximity sensors controlling lights and the phone booths, so perhaps this is next!
- nicbou 5y agoThat self-satisfied smile is the hallmark of a well-delivered dad joke. How would it work if two people are in the same room?