Connecting to a new device with Pictorus

In order to start building and running apps on a device, we'll need to sync it with your Pictorus account. In this post we'll run through these steps.

Connecting to a new device with Pictorus

In order to start building and running apps on a device, we'll need to sync it with your Pictorus account. Make sure your device is connected to your WiFi network, and that it has python >= 3.6 and pip installed.

First, we will SSH into the device that we'd like to register. We can then install the Pictorus device manager locally, so Pictorus can handle app updates and telemetry for you. This is the only installation you'll need to do:

sudo pip install pictorus
sudo pictorus-cli configure
0:00
/0:14

SSH'ing into a device and starting the installation process

After running the pictorus-cli configure command, you will be prompted for your Pictorus username and password, and asked to name your device.

For accounts created with a Github or Google account, you'll need to a token for authentication. This can be accessed in the "Add device" menu in the Pictorus app environment:

0:00
/0:08

Authentication token to add device - for accounts created with Github or Google

Once registered, you should see your device online from our portal within a minute.

Create a new app, and then select your newly-added device from the devices drop-down menu in the upper right. Online devices show up green and offline devices are greyed out. After selecting your device from the dropdown, you can deploy and run your app!

0:00
/0:17