1. Connect a device to the cloud or create a virtual device

System requirements

IoTFlows remote access agent requires a Linux based operating systems such as Debian, Ubuntu, or Raspberry Pi OS. If you currently don't have a Linux based machine or single-board computer such as a Raspberry Pi, you can get started by creating a virtual device.

Connect your device or create a virtual device

Connect your device
Create a virtual device
    1.
    Go to project page in the console and click on "Add Device".
    2.
    Select "Device"
    3.
    Select a device plan
    4.
    Enter a name and description for your device and hit "Create". You will see a window similar to the following image.

For Debian-based operating systems:

If the operating system of your device is Debian-Based (e.g. Ubuntu, Linux Mint, Raspberry Pi OS), simply run the given command on your device while it has an internet connection to connect it to the IoTFlows cloud. Here is an example of how this code looks like:
1
bash <(curl -s https://cdn.iotflows.com/update-nodejs-and-iotflows-remote-access.sh) --username=dev_e3133dd4729f736d25833c635c0a697b --password=6c86391e297506cseabh9161555e9c16 --confirm-install
Copied!

For other Linux operating systems:

For other operating systems, follow the provided instruction in the modal, which looks similar to the following image.
Once the setup is complete, you will see a blinking green light next to your device name:
If you see the green light, your device has been successfully connected to the Cloud!
To manually stop, restart, disable, or uninstall the remote access, you can run the following commands:
1
sudo systemctl stop iotflows-remote-access.service
2
sudo systemctl restart iotflows-remote-access.service
3
sudo systemctl disable iotflows-remote-access.service
4
sudo npm uninstall @iotflows/iotflows-remote-access
Copied!
Congratulations! You have successfully installed the remote access agent on your device and it's connected to the cloud.
    1.
    Go to project page in the console and click on "Add Device".
    2.
    Select "Virtual Device"
    3.
    Select a virtual device plan
    4.
    Enter a name and description for your virtual device and hit "Create". Once the setup is complete, you will see a blinking green light next to your device name:
If you see the green light, your device has been successfully connected to the Cloud!
Congratulations! You have successfully created a virtual device and it's connected to the cloud.
Last modified 16d ago