r/AskComputerScience • • Jun 25 '19

How did he do it?

Post image
285 Upvotes

31 comments sorted by

85

u/abefaxe Jun 25 '19

IFTTT & Philips Hue

87

u/Otroletravaladna Jun 25 '19

And a bit of poor judgement skills.

8

u/ThusWankZarathustra Jun 25 '19

Not even any coding involved

2

u/abefaxe Jun 25 '19

Damn. This is the most upvotes I've ever got. Haha. Thanks!

-2

u/tjanith Jun 25 '19

This, I have no idea how to do it.

14

u/abefaxe Jun 25 '19

IFTTT is an app called if this then that. You can automate a lot of stuff with it. download it, play around with it. its pretty easy.

I made a service that notified me if my tap if was running for more than 5 mins.

1

u/HoldThisBeer Jun 26 '19

Do you often run your tap for more than 5 minutes?

5

u/ironymouse Jun 26 '19

Literally only when demonstrating the system

1

u/HoldThisBeer Jun 26 '19

And who are you?

2

u/ironymouse Jun 28 '19

Not op, but I didn't think you were asking seriously either.

0

u/[deleted] Jun 25 '19

[deleted]

4

u/abefaxe Jun 25 '19

Not a smart faucet. Attached an arudino board to the handle.

1

u/dromance Dec 31 '23

Geez really

25

u/tanmaster Jun 25 '19 edited Jun 25 '19

Don’t even need to make an app. Just buy a HomeKit light bulb.

Edit: was thinking of iOS. But it’s just as easy for Android.

2

u/tjanith Jun 25 '19

I could easily do this from Pi and a network selected or wifi connected Pi but not sure.

26

u/Robot_Basilisk Jun 25 '19

Y'all are over thinking this. My money is on it being just a simple light on a permanent timer. That's the secret. It never stops blinking.

1

u/tjanith Jun 25 '19

hAHHAHAHAHA

9

u/FuckYeezy Jun 25 '19

My girlfriend would mash the ever loving fuck out of that button

1

u/tjanith Jun 25 '19

Mine just broke up with me,... sO I don't need this anymore I guess.....

12

u/[deleted] Jun 25 '19

With the knowledge that I have I'd say server inside a Raspberry Pi listen to one endpoint that the app sends a request to when the button is clicked. The Pi has a light embedded.

2

u/tjanith Jun 25 '19

This is what I've been thinking. But not sure if it'll worth it!

2

u/Lightning3240 Jun 25 '19

Get this man a medal!

-3

u/tjanith Jun 25 '19

cookie or a shield is what I'm expecting!

3

u/adamcoolforever Jun 25 '19

This was posted earlier this year with the GitHub page of the actual project. Dude's got a future.

1

u/NotWorthTheRead Jun 26 '19

As a coder, maybe. If he wanted that real money, that sales and marketing money, he’d give her a button that didn’t do anything and tell her it lights up his room.

1

u/[deleted] Jul 29 '22

Probably used a raspberry pi

1

u/Gasp0de Jun 25 '19

Or he may have actually built it himself, for example using a node mcu

-1

u/smash_glass_ceiling Jun 25 '19

wait what this is hysterical, what's the appropriate sub to xpost?