Add your Pi and all your Weaved services to remot3.it today
Last updated Mar 13, 2017.
This page will guide you through the installation of Weaved's Fleet Management tool "remot3.it" on your Pi. Use www.remot3.it to make secure, private connections to your Pi across the Internet and automate repetitive bulk operations using a "one-to-many" command line interface to 10s, 100s, or 1000s of Pi in the field.
Try it for free!
This page will guide you how to update your Pi for use with Weaved's new Fleet Management portal "www.remot3.it". Follow these instructions if you already have a Pi with one or more services registered at Weaved.com.
Use these instructions ONLY if you are connecting to the Pi over a Weaved ssh connection. These instructions are safe to perform on a remote Pi running RASPBIAN Wheezy or Jessie ONLY in your account without physical access. For example, over the Internet to a Pi in another location.
If you do have physical access to the Pi being upgraded and can connect to it over a LAN (without using Weaved to connect) then click here for simpler instructions.
If you are starting out with a fresh Pi, with no pre-existing Weaved services installed, then click here.
After completing these instructions your Pi will still be available at https://developer.weaved.com/portal/login.php In addition, your Pi and all its existing services will also become available at https://www.remot3.it.
Use these instructions ONLY when you are upgrading the Pi over a Weaved ssh connection.
Step 1 of 6
Check the weavedconnectd Debian package version on the Pi you'd like to update.
Use your Weaved account at https://developer.weaved.com/portal/login.php to make an ssh connection with your Pi over the web. First check the revision of the existing weavedconnectd debian package on your Pi. Before doing anything else make sure your current package is version 1.3-02 or later.
sudo dpkg -s weavedconnectd
Check to make sure your current version is v1.3-02 or later before proceeding.
If you confirm that weavedconnectd version 1.3-02 or later is already installed, then continue at step 2 of 6 below.
If there is no existing debian package "weavedconnectd" on your Pi then run the command:
ls -l /etc/weaved/services
You should see a .conf file for each of your installed services, something like:
pi@raspberrypi ~ $ ls -l /etc/weaved/services
-rw-r--r-- 1 root root 1000 Dec 16 13:06 Weavedssh22.conf
-rw-r--r-- 1 root root 1033 Dec 16 13:07 Weavedweb80.conf
pi@raspberrypi ~ $
ps ax | grep weaved
You should see something like:
pi@raspberrypi ~ $ ps ax| grep weaved
27967 ? S 0:00 /usr/bin/weavedConnectd -f /etc/weaved/services/Weavedssh22.conf -d /var/run/Weavedssh22.pid
28159 ? S 0:00 /usr/bin/weavedConnectd -f /etc/weaved/services/Weavedweb80.conf -d /var/run/Weavedweb80.pid
28171 pts/2 S+ 0:00 grep --color=auto weaved
pi@raspberrypi ~ $
Note that the daemon is called weavedConnectd.
If this corresponds to your situation, then please follow the alternate migration procedure to perform the migration. Otherwise, stop and contact us at email@example.com .
Step 2 of 6
Next check the OS Version on your Pi:
Make sure the OS Version shows Stretch, Jessie or Wheezy:
PRETTY_NAME="Raspbian GNU/Linux 8 (jessie)"
If not, stop and contact us at firstname.lastname@example.org.
On your Pi download the new weavedconnectd deb package that includes support for remot3.it.
sudo wget https://github.com/weaved/installer/raw/master/Raspbian%20deb/1.3-07/weavedconnectd_1.3-07v_armhf.deb
Step 3 of 6
Install the new deb package using the highlighted command below. Make sure to copy/paste the command exactly as given below. This command ensures the new deb package will install to completion over the Weaved ssh connection. The command will trigger replacement of the current Weaved software on your Pi with a new version that is compatible with remot3.it . So the current ssh connection over Weaved will drop (disconnect) once the command is given. This is the normal expected behavior. REMINDER use this command ONLY on a Pi running Raspbian Wheezy or Jessie OS (see Step 1).
sudo nohup dpkg -i weavedconnectd_1.3-07v_armhf.deb 2>&1 &
Step 4 of 6
Go back to your browser at developer.weaved.com and sign in again to your Weaved account. Reconnect to the same ssh service on the same Pi you are upgrading so you can complete the procedure. If the Pi ssh service stays off-line for a couple minutes this is OK and normal. Let it start back up. Refresh your browser until you see it come back on-line, then connect again over ssh using Weaved.
Once you are reconnected to the Pi run the weaved installer from the command line.
Step 5 of 6
Follow the on-screen menu and sign into your Weaved account.
WARNING ... DO NOT RE-INSTALL ANY SERVICES (ex. ssh, vnc, http, etc.) on your Pi.
Just enter a Device Name and EXIT exactly as shown in the second screen shot below.
WARNING ... AGAIN PLEASE DO NOT install remot3.it for SSH while you are using Weaved SSH, or the connection will just drop and the device will be left in an unknown and possibly UNRECOVERABLE state. Just follow the screen shots below exactly as shown and all will be good
When prompted for a Device Name, enter a name for the Pi ( ex. test_remot3it_pi ). This is the Device Name that will be displayed in the remot3.it portal for this Pi. You can edit the name later at any time. Let the installer finish and return to the prompt.
VERY IMPORTANT REMINDER DO NOT RE-INSTALL THE SSH SERVICE ON YOUR PI BECAUSE YOU ARE NOW USING THE WEAVED SSH CONNECTION
Just Enter a Device Name and Exit the installer (menu item 4) exactly as shown below.
Exit the interactive menu installer (menu item 4). Please do not re-install any pre-existing services (like ssh, VNC, HTTP, etc.) . They are already updated and ready for remot3.it
Step 6 of 6
Point a browser (Chrome, Safari, Firefox, Microsoft Edge, sorry no Microsoft IE support) to https://www.remot3.it and log in using your Weaved account email and password. Your Pi will appear in the remot3.it Manage Devices view within 2 minutes. Please give the Pi 2 minutes to show up in your remot3.it account. Refresh your browser by clicking "Shift+reload" to override any browser caching that may be happening.
EXPERT TIP: If you wait patiently for 2 minutes and refresh the browser using "Shift+reload" ... and your Pi still doesn't show up in remot3.it. Then just sign out of remot3.it and then sign back in. We promise it will be there !!
Click on the Pi device name you entered above to connect.
Next unleash the real power of remot3.it with bulk script execution across your fleet ! http://forum.weaved.com/t/upload-and-run-a-shell-script-across-multiple-pi/1030