Skip to content

timvaniersel/remote-chef

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote chef

Internet of Knives device. Control an chef's knife from anywhere over the internet.

Remote chef keukenmes

Setup

  • Raspberry Pi 4
  • Raspberry Pi Motor HAT
  • NEMA 17 stepper motor
  • NEMA 17 stepper motor bracket
  • NEMA 17 Cork Dampers
  • Raspberry Pi Camera
  • Gate fitting
  • Cutting board
  • Shaft coupling 5mm
  • 2 Springs
  • Screws
  • 2 wooden cubes 6x6x6 cm
  • wiring
  • Universal AC - DC adapter

Installation

Install FFMPEG on the Raspberry Pi (could take a while)

TODO

  • Add requirements.txt
  • Test Flask
  • Auto start Flask app (NGINX + WSGI)
  • Configure router to forward requests to Flask Can't, protected
  • ~~Add reverse tunneling ~~
  • Add button to website

Start application

Youtube livestream

Replace <code> with the YouTube livestream key.

raspivid -o - -t 0 -vf -hf -fps 60 -b 12000000 -rot 180 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -i - -vcodec copy -acodec aac -ab 384k -g 17 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/<code>

Flask

Auto starts with uWSGI / NGINX

Reverse SSH tunnel

The RPi creates a reverse SSH tunnel to a VPS server that has NGINX installed. On click there will be a GET request that is passed through to the Raspberry Pi.