roboard
v0.1.5-a
Published
Remote screen controled by robots. Create a cheap Videoconference, digital signage or dashboard with an old computer or raspberry pi connected to a small or large screen.
Downloads
9
Maintainers
Readme
roboard
Remote screen controled by robots. Create a cheap Videoconference, digital signage or dashboard with an old computer or raspberry pi connected to a small or large screen.
You (or your robot) can change the screen content, change vol or Power On or Off with MQTT or HTTP commands.
Commands
You can use these commands:
- goto url Where url is where the page it´s going to load
- tv on
- tv off
- mute on
- mute off
- vol +
- vol -
- vol (0-10)
Installation
If you want to use it with a raspbery pi (or an ARM processor)
sudo apt install chromium-browser chromium-codecs-ffmpeg
sudo apt-get install cec-utils
npm install
Setup
Edit config.js to configure how the chromium works:
- args = [ '--start-fullscreen' // you can also use '--start-fullscreen' or '--start-maximized' ];
- defaultViewport = null;
- headless = false;
and edit config.json to change the connection information (or delete the file):
- deviceName: Use a Case Sensitive name without Spaces, "/", and special caracters.
- splashUrl = "http://moodrobotics.com";
- mqtt = { host: "mqtt://domain:PORT", commandtopic: "/devices/command/nikola", infotopic: "/devices/info/nikola" }
If you run it on a Raspberry pi:
- executablePath: '/usr/bin/chromium-browser'
- args: ['--no-sandbox', '--disable-setuid-sandbox']
Documentation
To do this, it leverages the great work of:
- cec-monitor by Pablo González of Senzil.
- libcec by PulseEight.
- hdmi-cec.
- node-cec
- MQTT.
- Puppeteer
- prompt-sync from David Mark Clements.