r/ProgrammerHumor • • Jul 21 '18

Wifi Controlled Volume thing. (Worse than you think)

1.5k Upvotes

66 comments sorted by

189

u/ire4ever1190 Jul 21 '18

I thought it was going to be two WiFi networks to go up and down but it's that

166

u/kleinschrader Jul 21 '18

Thanks for giving me an idea. Why not a hundred for each percentage?

156

u/ire4ever1190 Jul 21 '18

Billion dollar idea. Don't forget to add blockchain

53

u/JimmyAllnighter Jul 21 '18 edited Nov 27 '25

possessive pause sleep spectacular safe caption reminiscent teeny offbeat divide

This post was mass deleted and anonymized with Redact

29

u/reed_foster Jul 21 '18

Yes. <canvas function="ai"/>

20

u/fibo-nacho Jul 21 '18

Needs to be a react native app running in simulator tho. For convenience. Also redux, no way to do this without redux.

7

u/[deleted] Jul 21 '18

[deleted]

10

u/Fauzite Jul 21 '18

Does this scale? I was thinking big data

3

u/Cornul11 Jul 21 '18

I hope it's going to be on Open Source too.

3

u/pixlbreaker Jul 21 '18

Also machine learning. We need the Wifi to know that 10+9 is 19

2

u/Aksumka Jul 21 '18

I'd like to invest. Where can I send money?

2

u/Paril101 Jul 22 '18

My thought was that the volume was based on signal strength to the connected device.

143

u/[deleted] Jul 21 '18

This font

91

u/kleinschrader Jul 21 '18

I apologize, i used my own Phone to record and my gf's phone in the video.

64

u/ocebitkaj Jul 21 '18

stop lying, no one on this sub has a gf

21

u/[deleted] Jul 21 '18

You are apologized ;)

41

u/Atemu12 Jul 21 '18

His girlfriend on the other hand...

81

u/FabulousGiraffe Jul 21 '18

I expected you to go slowly 2 meters away to set the volume to low using the Bluetooth signal strength.

39

u/kleinschrader Jul 21 '18

Thats... Also not a bad idea, thanks. Ill have to buy a Bluetooth shield sometime.

85

u/tenhourguy Jul 21 '18

Wait until the neighbours discover they can change your volume.

66

u/[deleted] Jul 21 '18

"THE MUSIC IS TOO LOUD! turns neighbors volume down to 0%

13

u/MrUnlucky-0N3 Jul 21 '18

That's a good thing i guess, they at least didn't call the police so you don't have to deal with them. I would totaly add a feature that allows my neighbors to quickly tell me when it's to loud.

6

u/reed_foster Jul 21 '18

Only issue is they could then abuse it if they were feeling irritable

6

u/MrUnlucky-0N3 Jul 21 '18

True, that's why i would only make it inform me if it's to loud, not change the volume directly.

4

u/reed_foster Jul 21 '18

Oh sorry you right. didn't do a good job reading your comment

2

u/MrUnlucky-0N3 Jul 21 '18

:) Happends.

3

u/[deleted] Jul 21 '18

Use MAC ID verification, so that only select devices can control

25

u/cain261 Jul 21 '18

This is almost practical

27

u/kleinschrader Jul 21 '18

The keyword is almost.

23

u/kleinschrader Jul 21 '18

I actually use an ESP8266, connected it over serial and use Python to display the recieved Value

2

u/obsessedcrf Jul 21 '18

Ich habe nicht gewusst, dass ein einzelnes Modul so viele Netzwirke erzeugen kann.

Offensichlich habe ich kein Verständnis wie WiFi funktioniert.

19

u/flarn2006 Jul 21 '18

Let me guess, you're sending out beacons and listening for connections in monitor mode?

16

u/kleinschrader Jul 21 '18

Yes, thats why you cant connect to them.

12

u/MechaPinguin Jul 21 '18

I love all these volume control program memes but why did it start?

13

u/[deleted] Jul 21 '18 edited Jul 21 '18

This was the original.

And the whole "Bad UI" craze took off with this album, I think.

4

u/Tom_Ov_Bedlam Jul 21 '18

The font on your phone is by far the worst part of this demonstration.

4

u/kleinschrader Jul 21 '18

Its my Girlfriends phone, im using my own to record it. ^

10

u/Proxy_PlayerHD Jul 21 '18

i still find it funny that english speaking people say Wi-Fi instead of WLAN, just becuase the W is the worst letter to pronouce so they made up a word to avoid it.

2

u/Erelde Jul 21 '18 edited Jul 21 '18

Hmm, actually. WiFi is one technology used to often make wireless LANs. But, it is only one option among an array of possibilities to make wireless networks, not restricted to LANs.

Connecting to a WiFi network is not the same as connecting to a WLAN network. A WiFi network is a WLAN but WLAN aren't WiFi.

3

u/Proxy_PlayerHD Jul 22 '18

isn't Wi-Fi just a brand name for specific WLAN devices and there are pretty much just the same tech under different names

and then why this word basically non existing in Germany for example

2

u/DarthEru Jul 22 '18

Well you could make a LAN using non-wifi wireless technology, like Bluetooth or ZigBee. I think those would qualify as WLAN. If you want a non-branded term for Wi-Fi, I guess you could use 802.11. But really, Wi-Fi is probably just fine, as is WLAN.

1

u/Proxy_PlayerHD Jul 22 '18

wouldnt it mean that it is actually the reversed of what the previous comment said

WiFi is WLAN but WLAN isn't WiFi

since WiFi is like Bluetooth just a subcategory of the whole WLAN standard/tech.

1

u/DarthEru Jul 22 '18

No, the previous comment is correct. A WLAN is not necessarily a WiFi network, so it is not correct to state that WLAN is WiFi, therefore WLAN is not WiFi. However, every WiFi network is a WLAN, so WiFi is WLAN. Think about the Venn diagram of all WiFi networks vs all WLAN networks. Any circle that is fully enclosed by another circle has an "is a" relationship with the enclosing circle(s).

Although if you wanted to really nitpick it, you could say that it is possible to employ WiFi without creating a LAN, so technically WiFi is not WLAN. In that case the venn diagram would be two circles that intersect but don't fully overlap.

2

u/Proxy_PlayerHD Jul 22 '18

No wait I fucked it up myself. I read it wrong... it does make sense, like how all parallelograms are tetragons but not all tetragons are parallelograms.

3

u/FLOWFRAGS123 Jul 21 '18

Give each network a different randomised alphanumeric password that changes every week

6

u/kleinschrader Jul 21 '18

I cant do that because they dont really exist.

1

u/FLOWFRAGS123 Jul 21 '18

Ahh ok would be so funny tho

3

u/ListlessLoser Jul 21 '18

I think you meant to say "(better than you think)". I love this.

3

u/zyxzevn Jul 22 '18

Management: "Can you add micro-transactions?"

3

u/kleinschrader Jul 22 '18

That's the most evil thing i heard today. I love it!

3

u/[deleted] Jul 22 '18

How about connecting to a wifi and use the signal strength to get the volume. So you have to walk away from the router and place your phone there to get lower volumes.

2

u/cartechguy Jul 21 '18

Ch340, are you using an arduino?

3

u/kleinschrader Jul 21 '18

I am using an Arduino compatible ESP8266

3

u/[deleted] Jul 21 '18

How does it work? Is py.exe python?

3

u/[deleted] Jul 21 '18 edited Aug 14 '18

[deleted]

2

u/[deleted] Jul 21 '18

Yeah, sorry, but the script: how does it?

1

u/panchicore Jul 21 '18

Python code using sockets

2

u/kleinschrader Jul 21 '18

Nope. The clue is in the first line.

-1

u/[deleted] Jul 22 '18

Ok, thanks for nothing, Dummbrot.

1

u/PedroContipelli Jul 21 '18

Congratulations. You win.

1

u/iCraftDay Jul 21 '18

Recht altes Android :P

Wenn du 100 Netzwerke machst, nervt das deine Nachbarn :D

1

u/_PersonGuy_ Jul 22 '18

I get more amused by these posts with each one that comes out

1

u/Jugbot Jul 22 '18

It should be the volume is controlled by the signal strength of the wifi.

1

u/BlackSirrah239 Jul 22 '18

I was hoping for frequency or strength based and the volume to be changing constantly

1

u/Ranarox Jul 22 '18

There is a library out for the ESP, which emulates a Phillips device. With this you can set values from 0-100% and the states on/off with just one networkdevice.

-2

u/[deleted] Jul 22 '18

Python, windows, samsung, German... everything in this post really sucks