<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: swe123456</title><link>https://news.ycombinator.com/user?id=swe123456</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 25 May 2026 00:22:57 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=swe123456" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by swe123456 in "Sleep research led to a new sleep apnea drug"]]></title><description><![CDATA[
<p>Then swap out the Phillips Hue for super bright corncob LEDs, or an air siren, or a bed shaker</p>
]]></description><pubDate>Sat, 23 May 2026 07:56:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=48245712</link><dc:creator>swe123456</dc:creator><comments>https://news.ycombinator.com/item?id=48245712</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48245712</guid></item><item><title><![CDATA[New comment by swe123456 in "Sleep research led to a new sleep apnea drug"]]></title><description><![CDATA[
<p>I found a way to stop removing the mask through smarthome magic: flash my lights if I take off the mask.<p>Parts:<p>1. Smarthome coordinator - HomeAssistant/AppDaemon (runs on my desktop)<p>2. Prescense sensor - e.g. Aqara FP2<p>3. Smart light - e.g. Phillips Hue<p>4. Smart Plug/Power Meter - e.g. Kasa ESP25P4<p>5. Claude Code to write the logic<p>.....<p>The alarm goes off if all of the following are true:<p>1. it's in sleep period (11pm-6am)<p>2. i am in bed<p>3. i have been in the bed for at least 3 minutes<p>4. i have worn the cpap (wattage > 10w for 3 minutes during 
sleep period)<p>....<p>I can't get around this system at all without walking across the house to my desktop, at which point I'd be too awake to be stupid enough to remove the mask.<p>Bonus CPAP nerdery: Wireless data collection into homeassistant using a Toshiba W04 SD Card/Wifi Transmitter.</p>
]]></description><pubDate>Sat, 23 May 2026 07:21:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=48245501</link><dc:creator>swe123456</dc:creator><comments>https://news.ycombinator.com/item?id=48245501</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48245501</guid></item></channel></rss>