...
Info | ||
---|---|---|
Expected completion time of this lab:
. |
Table of Contents |
---|
Note |
---|
Every time you see |
Download Source Code
Download the following code on your computer's desktop:
What? | Why? | Where? |
---|---|---|
SmartMesh SDK | A collection of programs to interact with your SmartMesh IP network |
Note |
---|
Note that we are using Git branch "develop", which is the one that currently supports Python 3. |
Info | |
---|---|
title | How do I download?The links above point to source repositories on Github.com. To download the code, click on: |
Unzip the source code on your computer's desktop
Python 3.9
Info |
---|
Why?All source code is written in Python. You need to install Python on your computer to run the source code. |
Download and install the latest Python 3 version from https://www.python.org/, using the default settings.
Note |
---|
Make sure you add |
Install the Python packages needed by the SmartMesh SDK by typing the following command:
Code Block |
---|
C:\Users\Thomas\Desktop\smartmeshsdk-develop>pip install -r requirements.txt |
Info |
---|
What is pip?
|
Tip | ||
---|---|---|
When am I done?Double-click on
|
Warning | ||
---|---|---|
testIf you get the following error when running Python:
make sure the Python executable path is present in you system PATH variable. |
Node-RED
Info |
---|
Why?You will use Node-RED (https://nodered.org/) to connect your SmartMesh IP network to different back-end systems, and build a dashboard. |
Include Page | ||||
---|---|---|---|---|
|
FTDI drivers
Info |
---|
FTDI is the make of a chip on the SmartMesh IP motes. You need the driver of that chip on your computer. This is normally already installed, so you can probably skip this step. On older Windows computers, this driver isn't included by default. |
Download and install the appropriate drivers for your system from https://ftdichip.com/drivers/vcp-drivers/.
Tip |
---|
On Windows, download and install the setup executable for easier use. |
...