Hacker News new | past | comments | ask | show | jobs | submit login
“Easy” Desk Alert Button (ESP8266 and Staples Easy Button) (nicksypteras.com)
119 points by nsypteras on July 6, 2017 | hide | past | favorite | 47 comments



Reminds of a story my father tells - he's a stage designer and one day one of the older actors was complaining that he couldn't see from his position back stage to know when to come on set. The stage manager set up an early cctv system for him (this was 1980something) to help him see.

The actor then complained that he had a hard time seeing the black and white screen so while the stage manager went to see how he could improve his set up the actor asked my father for a penknife, cut a small hole in the set that he could put his eye against, and said "that'll do".


I worked for a PC computer systems supplier in the late 80s and early 1990s. One of our customers designed industrial filters - everything from dialysis stuff to chemical purification meshes for the pharma industry.

They had a range of special 'rare earth metal' mesh filters that would periodically come back for cleaning and refurbishment and as part of the final test, solvents of very specific purity would be used to see how the filters were performing. The rate of filters coming back for refurb was low (a few a month) and there was a small testing room set aside for the purpose.

The problem we were asked to tackle was that because some of the solvents were extremely volatile, corrosive and flammable, no exposed live electrics or 'generic plastics' of any kind were allowed in the room (even though the testing was done in a fume cupboard) - and a PC + CRT was out of the question, so was any form of handheld device. So how to record the test results, which comprised a serial number and a few small fractional numbers?

When we were brought in, we were asked to consider the feasibility of several proposals - from some kind of 'encapsulated' PC and keyboard, to cutting a hole in the wall and having either a working touch screen or 'safe' light pen (in a 'condom'!?) through a glass panel..or 'any other ideas??'

Having carefully considered the volume of work and the small amount of data, we suggested using a pre-printed pad for the results, a pencil, and putting the computer outside the room.


The canonical solution here is a cue light. If someone offers to buy me a CCTV system, I won't stop them, but that seems rather heavyweight.


It's a cool project for sure, but i'm not sure how i feel about training people that it's okay to interrupt you while you have your headphones on. That's the only way i get peace in my office.


Well having to pay attention to every Slack notification invites its own sort of distraction.


do people not keep slack on mute while they're working?


I forget to so I just ignore it ;-)

When I focus I focus really hard. It's almost like tunnel vision.


Just hide the button if you don't want to be interrupted!


No, put a thumbtack on it to get the point across :)


I had no idea `screen` could do that, and I've been using it for years. Assumed you'd have to use some sort of telnet to communicate with the board. Very cool stuff.


Yup, this is a typical “modern” way to get terminals over serial connections. For instance, my home server is headless, but I can use its onboard serial connection (via GNU screen) to manage it “remotely” even if, for whatever reason, it’s not connected to the network itself, SSH isn’t running, or similar.


It's the only remaining argument for `screen` over `tmux`. I personally use `cu`: `cu -l /dev/ttyUSB0 -s 115200`. (within tmux)


One nuisance with cu when used in conjunction with ssh: they both use the same escape character, so I've accidentally terminated my ssh session when I'd meant to disconnect from the serial port many times. But that's what tmux's for. :-)


Yeah, I sometimes have nested tmux and cu in ssh. Remembering how many times to hit `~` or Ctrl-A to get the right 'depth' is an art :)


Minicom is also useful for serial coms. Includes xyzmodem transfer as well.


Tie it into your company's project planning software. Instead of doing this, what it does is anytime someone tries to add something, saying "This should be easy, right?", it adds a month and a half to the gantt chart.


Are the Amazon Dash buttons still hackable? If so, they are cheap...$5, and shouldn't require as much physical alteration.


You can buy the IoT Button and get one tailor-made for custom usage. $20 is pretty pricey though. https://www.amazon.com/dp/B01KW6YCIM


And unless it's changed, the battery was soldered directly on so it's basically not replaceable unless you really know what you're doing.


The new ones have a clip on the battery. But the case is still closed with ultrasonic plastic welds.


Well the parts used in the post cost $23.12 so the IoT button is cheaper.


IIRC you have to sniff for its ARP probe, it works most of the time but it's kinda finicky. An ESP8266 is a similar price.


Yeah, i don't think the Dash Buttons were ever hackable other than by intercepting it's network traffic. And there isn't really any way they can stop that.


They were hackable. https://learn.adafruit.com/dash-hacking-bare-metal-stm32-pro...

Appears Amazon responded by making it harder and releasing the $20 ($15) iot version.



I really like the flic buttons and use them a lot, but they are a bit more expensive.

https://flic.io/


Cute project. I started getting into working with Arduinos and then ESP8266 devices late last year.

I built a simple "button-thing", but to make it more flexible it just posts a message to an MQ-queue. That way anything on my system can listen for the events, and react.

At the moment it is used to play "alarm.mp3" on my desktop-PC, but in the past it was configured to turn out all the lights in my flat.

https://steve.fi/Hardware/d1-alarm-button/


I'm planning to do something similar, but mostly to alert me that someone is looking for me at my desk at work. The ESP8266 would connect to our Guest WiFi and sent a request to IFTTT, which would in turn either send me a notification on my phone, or change my blink(1) light to a different color.


What does the device use WiFi for? It's a hard-wired USB peripheral. Why is it bringing up WiFi?

Bringing up WiFi on a device with no security and a keyboard-type connection to a more important machine is a recipe for being taken over.


It doesn't look like there is a battery in there (and there was no talk of deep sleep..) but at the same time this is not a true USB peripheral, there is a FTDI or similar chip that's talking USB but the ESP is only talking serial with that chip. So there isn't any scope for the ESP taking over its host by pretending to be a keyboard or similar.

But at the same time we are talking about using a 66 MHz processor and WLAN chip to connect all around the world to some Slack data center that then does a bunch of internal handling that is then at some point through another few world roundtrips received at his desk computer, a whopping metre away from the ESP and connected through a serial line. And no shit, all that nonsense is making the simple button press take seconds and for no good reason at all. To relay a hint from people standing a few feet away.

In other words, this fits right in with the IoT crowd!


I don't think he's leaving it plugged into his computer. He's just using the USB to serial connection for programming the board. Once that is done, he's probably plugging the USB cord in for power (although I bet he could have gotten it to last a decent amount of time on battery power).


Ha! Neat idea. Nicely done


Thanks for requiring Javascript to view your static blog page. /s


Looks like it is running a fairly basic react app :shrug: - I'd guess the blog is a side project and doubles as a way to learn new tech. Supporting noscript users is probably prioritized right next to localization and accessibility. Not to say they aren't important, just that implementing that might be a future learning project... as the author's interests / professional growth dictates.


Wow, I couldn't believe it with how minimal the page is, but yeah this is insane, it's just a white page with javascript disabled.


It won't even load at all on the Ice Cream Sandwich system browser.


Cute, but seems like overkill. Why not a $1.00 pushbutton and a flashlight bulb?


The board in question can be found between $2 and $3. Once you’re at the point of wanting to build "an electronic thing to notify you of something", the actually cost difference in the BOM between the simple approach and the “IoT” approach is basically zero.

EDIT: Sorry, not the exact board, but something that’s basically the same. The usual “value adds” you find on top of the basic wifi board are 1. on-board usb/ttl chip and 2. 5v-3.3v regulator. Still, you can find something with both of those for under $4.


Because that wouldn't be as much fun.


I'd probably do it with a transistor amplifier for fade-in and an RC network for fade-out, because it'd be an easy opportunity to learn how not to suck at analog quite as much as I currently do. But not everyone has parts bins as deep as mine.


>> 'easy'

>> Requires a soldering iron

Pick one. :P No, this is a cute project, though.


Through hole soldering isn't hard, it just takes technique. If you provide the right conditions, the solder will pretty much do what you want it to do.


Soldering takes 10 minutes to learn and about a $15 investment in a soldering iron.


Fire hot. Fire scary. Fire magic too much me learn.


I am make science! I am put fire in cave!

http://dresdencodak.com/2009/09/22/caveman-science-fiction/


Look at the button, it has the word "Easy" on it. It's literally called an Easy Button.


This is beginner level stuff. Not so hard to learn with youtube available.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: