Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

DustLink is a web-based management interface for your SmartMesh IP network, much along the lines of similar to the configuration website of our for your home WiFi router. It is written entirely in Python, using the SmartMesh SDK, and is open source. This means that you can reuse/modify/adapt any part of DustLink without restriction (see the license in the DustLink source code).

...

  • Connect the manager to your computer using the interface board. No need to connect any motes. Switch on all your motes (make sure they are in master mode) and manager. Wait for all motes to have joinedjoin.
  • Download DustLink from https://github.com/dustcloud/dustlink onto your desktop.
  • Double-click on bin\dustLinkFullWeb\dustLinkFullWeb.py to start DustLink. A command window appears:

    Code Block
    Dust Link - (c) Dust Networks
    >
    Note

    Wt At this point, your Windows firewall might ask you to authorize the application. This is normal, click yes.

     


  • DustLink is a web server on your local machine which hosts a website. To see this website, use the Chrome browser to navigate to http://127.0.0.1:8080/. The DustLink homepage appears.

Connect DustLink to your manager

 

  • at At the top of the screen, login with the following:

    usernameadmin
    passwordadmin
  • In the System menu, navigate to the “Managers” page. This page contains a form in which you specify the serial port(s) of your manager(s).

  • In the Add form, enter the API port of your manager, e.g. COM7. This port appears in the “Manager Connections” table.

  • After 10s, make sure the state has transitioned from “inactive” to “active”.

Visualize your mesh network 

 

  • in In the “networks” menu, select the network with the serial port you just specified.
  • Draw the topology of you your network below:

    Info
    iconfalse
    titleAnswer 29.1:

     

Gather information about your motes

  • in In the "motes" menu, a list of all the motes in your network appears.
  • verify Verify that these are indeed all your motes.
  • fill Fill in the table below with the information gathered from your motes:

    Info
    iconfalse
    titleAsnwer 29.2:
    MACisAPassignedBwpacketsLost
        
Tip
  • isAP is true only for the manager.
  • assignedBw is the bandwidth assigned by the manager. It is normal for the manager to have no bandwidth assigned for itself.

Health Monitoring

Info

DustLink continuously gathers information about the network by sending serial commands to the manager. Every hour, it analyzes all this information and runs a number of tests. Those tests can either pass or fail. You can start the test manually.

...

  • Navigate to the dashboard page.
  • Click on the light bulb of a mote, make sure you can switch the LED of all your motes on and off.
  • Make sure you see the temperature data refresh.
  • Click on the wrench in the temperature widget to set the temperature reporting rate to 5000 ms.
  • Click of the “view locally” link in the temperature widget to see a timeline of the last 100 reported measurements.
  • Put your mote in a cold/hot location and see the reported temperature change.
  • revert Revert the temperature reporting rate to 30000ms (30 seconds).

...