Pantavisor Linux comes installed with Pantabox which provides all of the tools to configure, install and manage your apps and even the kernel. In this guide, you’ll learn how to flash and boot an embedded device with Pantavisor Linux and then run Pantabox to configure your device and any apps running on it. You’ll then download and install the Home Assistant, an open source home automation platform from the Pantacor One Marketplace and display it in your browser.
After completing this guide, you may want to try Configuring and Installing Apps from Docker Hub where we dive a little deeper and describe how to use configuration overlays and a number of other features of Pantavisor Linux.
Sections in this guide:
Before you begin
You’ll need to have available:
Select the platform and architecture that matches your device and download the image.
Flash the microSD card with the downloaded bootable image. If you haven’t done this before, refer to these instructions:
Insert the microSD card into the device, ensure that it is connected to the network and then boot with the image. This procedure may differ depending on your platform:
Devices can be connected to the Internet either through a WiFi captive or directly with an ethernet cable. For details on how to do that for your platform see Setting up an Internet Connection
root
and password: pantabox
.After booting the device, if a monitor and keyboard is attached, you will see the Pantavisor Linux logo with some default instructions on how to login.
You can directly login to the device if you have a keyboard and monitor attached to it. But the more convenient way is to ssh on it:
ssh root@[device-ip]
You can find the IP address of you device in the upper right hand corner after you’ve logged in. Login with the default pantabox
password. (Setup your public key with the edit-sshkeys
commands.)
If you don’t have a keyboard and monitor attached to log in and view the device’s IP, then please download the Pantavisor command line interface or pvr
cli onto your laptop. Afterwards scan the network with:
pvr device scan
Note the IP address for your device and use that to ssh.
Important! Before going into production, please remember to change the default login with the chpasswd
command.
pantabox
command.
Now you’re ready to install Home Assistant (an open source, privacy first Home Automation platform):
Display the pantabox menu with pantabox
and then select install
. Choose Pantacor One Marketplace:
Once the app is finished installing, run pantabox
and select View
:
To locate the port setting for Home Assistant, type pantabox
and then select edit
from the menu. The Interactive Shell appear, where you can use vi
or nano
to view the app manifest:
vi homeassistant/v0alpha.app.manifest.json
This creates a local device revision that includes the newly installed Home Assistant app.
pvr add .
pvr commit
Apply your changes with:
exit 0
Finish setting up Home Assistant by pointing your browser at the IP address of the device (located in the right hand corner of your screen) with the port specified in the app manifest:
See Also:
Have any questions or comments? Please join our community forum at Pantavisor Community Forum.