roboard

0.1.5-a • Public • Published

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:

Package Sidebar

Install

npm i roboard

Weekly Downloads

0

Version

0.1.5-a

License

MIT

Unpacked Size

8.31 kB

Total Files

5

Last publish

Collaborators

  • moodrobotics