Installs and configures an ssh server (openssh) and omxplayer in a docker container based on alpine, in order to transform your raspberry in a chromecast-like device.
While there are plenty of tutorials on how to set up your raspberry pi as a raspicast compatible server, almost all that I could find involve manual configuration. This project aims to automate the deployment and configuration of your raspberry using the balena.io (formerly resin.io) platform. No keyboard or mouse needed 😉
If you're not familiar with balena.io, please start here: https://www.balena.io/docs/learn/welcome/introduction/
Once you have your rpi running balenaOS and configured your application:
- git clone this_repo_url && cd rpi-cast #clone this repository and change into this directory:
- git remote add balena my_balena_username@git.balena.io:my_balena_username/my_application.git #add your balena.io application git remote
- git push balena master #deploy your code to the configured device(s)
By default balena.io exposes all ports that your container has. Therefore use:
- the ip of the device,
- port 22
- the credentials from the Dockerfile. By default:
- username: root
- password: myPassword
The IP of your device you can find in the balena.io dashboard: