Skip to content

Facebook messenger bot to communicate and take action on a RaspberryPi.

Notifications You must be signed in to change notification settings

pedrocesarti/rasp-iot-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rasp-iot-bot

During a IoT lecture in my MBA in Big Data class my group and I was challenged to create a solution to send a command via Facebook Messenger Bot to a device (Raspberry Pi) that would be responsible to turnon and turnoff a lights in our lab. The idea for a Big Data class was create data that we could use to create Dashboards and make decisions, so the first solution include a Firebase DB and a Microsoft PowerBI dashboard, you can check the code prepared to work with Firebase in the branch FIAP I decide to keep a clean and small version to make this easier to people.

  • Solution works in a Raspberry Pi running Raspian as OS;
  • The platform used to develop the application is Javascript in the server side, by default Raspian supports NodeJS, so that is no problem to run the code directly on the device..
  • Different for other solutions, this solution running the code in the device need be accessible from Internet (to be accessed by Messenger), to do this we run Ngrok to create an HTTP tunnel.

Enjoy! :)

About

Facebook messenger bot to communicate and take action on a RaspberryPi.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published