
About this episode
Live stream to http://twitch.tv/adafruit showing part 4 in the Raspberry Pi Cat Laser 2.0 series. This part looks at how to build a cloud server with Python, flask, and flask-socketio which allows multiple people to control the cat laser. Instead of each user trying to individually access the Pi they instead access the cloud server (running a virtual machine for now) and it sends control messages to the Pi (using MQTT) and serves up the Pi's video stream. Adding the cloud server allows many more users to control the laser vs. if they tried to access the Pi directly and overloaded it's meager CPU.
Links mentioned in the video:
- Code on github: https://github.com/adafruit/CatLaser2
- Pt. 1 video: https://www.youtube.com/watch?v=FRvKtcemXkM
- Pt. 2 video: https://www.youtube.com/watch?v=Z_TMkX0qy_Y
- Pt. 3 video: https://www.youtube.com/watch?v=gRB0HXrSlZc
- Ubuntu 16.04 LTS vagrant box issue and fix for synced folders: https://bugs.launchpad.net/cloud-images/+bug/1565985
- Flask-socketio: https://flask-socketio.readthedocs.io/en/latest/
- Paho MQTT python library: https://pypi.python.org/pypi/paho-mqtt/1.1
Acknowledgements:
- Music: bartlebeats
- Intro shuttle footage: NASA
- Intro fonts: Typodermic
- Intro inspiration: Mr. Wizards's World
- Matrix background: cool-retro-term & cmatrix
-----------------------------------------
Visit the Adafruit shop online - http://www.adafruit.com
Subscribe to Adafruit on YouTube: http://adafru.it/subscribe
Join our weekly Show & Tell on G+ Hangouts On Air: http://adafru.it/showtell
Watch our latest project videos: http://adafru.it/latest
New tutorials on the Adafruit Learning System: http://learn.adafruit.com/
Music by bartlebeats: http://soundcloud.com/bartlebeats
-----------------------------------------
Get every episode summarized
Each time Raspberry Pi publishes, we email you a written briefing from the transcript — the topics, who appeared, and any specific claims, with the ad reads skipped.
Email me new episodesFree for 3 shows. No card needed.
Hosts & guests
No transcript yet
This episode has not been transcribed. Request it and it moves to the front of the queue.
More episodes
More from Raspberry Pi

NFC Raspberry Pi Media Player
Raspberry Pi
Nov 12, 20241:47pending

Tutorial: Magic AI Storybook with ChatGPT, Raspberry Pi and Voice Recognition wi...
Raspberry Pi
May 31, 20231:00pending

Tutorial: Magic AI Storybook with ChatGPT, Raspberry Pi and Voice Recognition wi...
Raspberry Pi
May 24, 20236:29pending

RGB Matrix Cubes
Raspberry Pi
May 3, 20222:59pending