Skip to content

Customizing the Overlay

Priit Laes edited this page Jun 5, 2019 · 2 revisions

The video overlay on NeTV2 is provided via Magic Mirror. By default, the overlay shows you the time, some status information about NeTV2, and grabs an RSS feed of news headlines from the New York Times.

To customize the overlay, you will need to log into the Raspberry Pi. This will require you to connect to the Internet.

Connecting NeTV2 to the Internet

You have two options to connect NeTV2 to the Internet:

  1. Wifi
  2. Ethernet

Configuring wifi

  • Power on the NeTV2, and ensure that a compatible monitor and video source are plugged in, so that you can see both the video source and the overlay Magic Mirror UI
  • Plug in a mouse and keyboard into the USB ports on the NeTV2
  • Exit Magic Mirror by holding down the "control" and "Q" keys simultaneously.
  • Double click on the icon on the left hand side labeled "stop mm". This will prevent the Magic Mirror UI from restarting automatically, as it will do within 10 seconds.
  • Follow the Raspberry Pi guide for connecting to wifi.

Configuring Ethernet

  • Power on the NeTV2
  • Plug an Ethernet cable into the NeTV2 Ethernet port.
  • Assuming your local network is configured for DHCP, the NeTV2 will automatically grab an IP address and be on the local network.
  • Consult your router configuration page to determine the IP address of the NeTV2, or...
  • Exit Magic Mirror by holding down the "control" and "Q" keys simultaneously.
  • Double click on the icon on the left hand side labeled "stop mm". This will prevent the Magic Mirror UI from restarting automatically, as it will do within 10 seconds.
  • Start the terminal program and type 'ifconfig' to print your IP address

Logging into your NeTV2

Once the NeTV2 is connected to your local network, you can log into it via ssh:

ssh [email protected]

You can find the ip-address of the device using either router DHCP lease list or by attempting to ping netv2mvp.local address (requires Zeroconf/Avahi).

The default password is 'netv2mvp'. It's highly recommend you change the default password for security reasons.

Customizing Magic Mirror

The Magic Mirror UI code is located in

/home/pi/code/MagicMirror

You can get started on customizing the UI by editing the config.js file at

/home/pi/code/MagicMirror/config/config.js

To learn more about how the NeTV2 status UI is implemented, please visit the script repository. And of course, the Magic Mirror repository itself is chock full of examples and links to other UI elements that you can add!