Make NTU Hackathon


Team for Make NTU Hackathon 2017 in Taipei. See the Wiki tab below for details on using the hardware available. The Code tab contains example code for all the hardware.

You are viewing an older revision! See the latest version

Program5_mbedConnectorQuickstart

Table of Contents

  1. Setup
  2. Run
  3. Troubleshooting

This is a web quickstart application for the mbed-connector-api-python package. The goal of this application is to get the user up and running, using the mbed-connector-python package and talking to devices through mbed Device Connector in under 5 min, 5 steps or less. The quickstart webapp is meant to be paired with the quickstart embedded app. The quickstart web app will allow the user to visualize quickstart embedded devices and interact with them.

Setup

Run

Troubleshooting

Here are some common problems and their solutions.

Cannot establish a secure connection

This is most likely caused by not having the requests[security] package installed. If you are using Ubuntu 14.4 LTS you may need to update pip first pip install -U pip and then install the requests security package pip install -U requests[security].

WebSocket transport not available

Dont worry about that warning message, it is not applicable to this demo, but likewise the warning message cannot be disabled.

ERROR 500 on trying to run the app.py file

Make sure you added your Access Key to the app. You can do this by either changing the value of the token variable in the app.py file or by setting the ACCESS_KEY environment variable to your access key.


All wikipages