Connect Raspberry Pi to QNAP NAS via QIoT Suite Lite

QIoT technology to allow you to explore potential IoT business opportunities.
Smart home/Smart building/Smart City/
Post Reply
SunnyYou
New here
Posts: 9
Joined: Mon Jun 25, 2018 4:16 pm

Connect Raspberry Pi to QNAP NAS via QIoT Suite Lite

Post by SunnyYou »

Get started with Raspberry Pi (Nodejs)

In this tutorial, you will learn the basics of working with Raspberry Pi (that runs the Debian-based Raspbian). You will then learn how to connect your devices to QNAP NAS using QIoT Suite Lite.

Please ensure your Raspberry Pi and NAS are on the same LAN.
1. Connect Raspberry Pi to QNAP NAS
Please configure your Raspberry Pi device with an operating system, set up your development environment, and deploy an application to Raspberry Pi.

1.1 What will you need
  • 1. Raspberry Pi
    2. SD card (an 8GB class 4 SD card is recommended) with NOOBS installed.
    3. HDMI display.
    4. USB keyboard and mouse.
    5. Power Supply: The Pi requires a USB micro power supply with at least 2A at 5V for the Model 3B, or 700mA at 5V for earlier models.
1.2 Set up Raspbian
  • Insert the SD card containing extracted NOOBS files into the Raspberry Pi
    Connect the keyboard, mouse, and HDMI display to the Raspberry Pi. Plug in the power adapter. The Raspberry Pi does not have a power switch, and will automatically power on once the adapter is connected.
    A menu will ask what OS to install and what language and keyboard layout to use. Check the box next to Raspbian and click "Install".
raspberry-pi-qiot-v2_02.png
The installation process may take up to 20 minutes, and will restart to the Raspbian desktop when complete.
raspberry-pi-qiot-v2_03.png
Configure Wi-Fi – In the Desktop environment locate the Wireless Network icon in the top-right menu and click the icon to view a list of available Wi-Fi networks.
raspberry-pi-qiot-v2_04.png
To connect to your Raspberry Pi from another device, you must know the Pi’s IP address. Using the terminal (Ctrl + Alt + t to open Terminal), enter hostname -I.
raspberry-pi-qiot-v2_05.png
More Raspberry Pi setup guides can be found at: https://www.raspberrypi.org/learning/software-guide/

1.3 Install Nodejs and required libraries
Install node.js v6
raspberry-pi-qiot-v2_06.png
Please visit https://github.com/qnap-dev/qnap-qiot-sdks for QIoT Suite Lite sample code

2. Create your device in QIoT Suite Lite

2.1 Install QIoT Suite Lite
QIoT Suite Lite can be installed from the App Center.
raspberry-pi-qiot-v2_07.jpg
Launch and log in QIoT Suite Lite. The default username and password is "admin".
raspberry-pi-qiot-v2_09.jpg
2.2 Create a new IoT application
IoT Applications are a combination of Things, Rules, and Dashboards. We recommend that you first create a “Things” in IoT Application. This IoT Application allows you to keep a record of all of the devices that are connected to your NAS.

Rules make it possible to build IoT applications that gather, process, analyze and act on data generated by connected devices. Rules can apply to data from one or many devices, and it can take one or many actions in parallel.

Dashboards turn your data into analytics and reports that provide real-time insights.

All these elements provide user a complete IoT Application environment.
raspberry-pi-qiot-v2_10.png
If this is your first time to use QIoT Suite Lite, QIoT Suite Lite provides a wizard to help you quick setup a IoT application.

Click “Quick Setup Wizard” to start quick setup wizard. After you read the QIoT Suite Lite introduction in pop window, click Next button.
raspberry-pi-qiot-v2_11.png
raspberry-pi-qiot-v2_12.png
For more tutorial, please visit this link https://www.qnap.com/en/how-to/tutorial ... suite-lite
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “QIoT”