I let my discord friends control my house. Could’ve gone worse??

Hello World!

Ever wondered how cool it would be to cause mayhem at your discord friend’s house for fun?

Me and @joshuafrankle
were working on a discord bot this year. We came up with cringe fest bot that played “Funny Tamil Comedy” soun…


This content originally appeared on DEV Community and was authored by Fabian Ferno

Hello World!

Ever wondered how cool it would be to cause mayhem at your discord friend's house for fun?

Me and @joshuafrankle were working on a discord bot this year. We came up with cringe fest bot that played "Funny Tamil Comedy" soundtracks on command. We've been continuously adding features. It kinda evolved in a way we didn't imagine. Now we use mr.robot for our server management, api-testing, wiki and more.

So, here it goes. I've been working with some micro-controllers lately and I thought why not bring in some IoT to the recipe. #mightregretthisdecision

Although it ended up heating up my micro-controller and almost made my house look possessed, it was still worth a shot.

Alt Text

I used NodeMCU 8266 - the go to micro-controller for any hobby engineers out there. Instead of going with embedded C for my programming my board, I tried MicroPython for a change and trust me - the best decision.

Moreover that gave me an headstart in integrating it with my discord bot which already written in discord.py - a python discord client library. WebREPL modules came in handy to upload the program to my board.

Finally got everything set up and running in less than an hour.

Alt Text

I got my friends to turn on fans and switch off some lights. So here's the fun - the bot had access to a discord server with almost 300 members. Quite the party. Anybody on the internet could toggle my devices. My friends started playing with my house.

Sadly, mr.robot had to be put down. I took it offline then.

Meanwhile I'm working on more a secure way to for this discord integration. Will post my next update with regard to this security update.

Follow & Stay tuned. I will be writing a follow-up tutorial on how we bring IoT and discord bots together. The next post will have step by step tut for you to create your own IOT discord Integration. Feel free to suggest your thoughts.


This content originally appeared on DEV Community and was authored by Fabian Ferno


Print Share Comment Cite Upload Translate Updates
APA

Fabian Ferno | Sciencx (2021-06-20T09:00:48+00:00) I let my discord friends control my house. Could’ve gone worse??. Retrieved from https://www.scien.cx/2021/06/20/i-let-my-discord-friends-control-my-house-couldve-gone-worse/

MLA
" » I let my discord friends control my house. Could’ve gone worse??." Fabian Ferno | Sciencx - Sunday June 20, 2021, https://www.scien.cx/2021/06/20/i-let-my-discord-friends-control-my-house-couldve-gone-worse/
HARVARD
Fabian Ferno | Sciencx Sunday June 20, 2021 » I let my discord friends control my house. Could’ve gone worse??., viewed ,<https://www.scien.cx/2021/06/20/i-let-my-discord-friends-control-my-house-couldve-gone-worse/>
VANCOUVER
Fabian Ferno | Sciencx - » I let my discord friends control my house. Could’ve gone worse??. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/06/20/i-let-my-discord-friends-control-my-house-couldve-gone-worse/
CHICAGO
" » I let my discord friends control my house. Could’ve gone worse??." Fabian Ferno | Sciencx - Accessed . https://www.scien.cx/2021/06/20/i-let-my-discord-friends-control-my-house-couldve-gone-worse/
IEEE
" » I let my discord friends control my house. Could’ve gone worse??." Fabian Ferno | Sciencx [Online]. Available: https://www.scien.cx/2021/06/20/i-let-my-discord-friends-control-my-house-couldve-gone-worse/. [Accessed: ]
rf:citation
» I let my discord friends control my house. Could’ve gone worse?? | Fabian Ferno | Sciencx | https://www.scien.cx/2021/06/20/i-let-my-discord-friends-control-my-house-couldve-gone-worse/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.