Skip to content

Microsoft IoT Event

Alexander Goedde edited this page Apr 24, 2015 · 8 revisions

To all hackers at the Microsoft IoT event: Welcome! We're glad you want to use Crossbar.io. This page gives you information and links to get you started.

General information

The main page is the Crossbar.io project homepage. This has guides to get you started in your language of choice, and with some specific devices.

Getting started on Azure

Take a look at the simple instructions.

Connecting to the Demo Instance

We offer a Crossbar.io demo instance for use by IoT hackers at Microsoft TechCamps & other hackathons.

To access this instance, use the URL

ws://crossbar-on-azure-iot.cloudapp.net:80/ws 

for the connection (replaces wsuri with this in most example code).

To avoid conflict between multiple applications running concurrently, we've set up several realms. When you pick a realm, please check the box next to it (you need to "Edit" the page).

  • microsoft-iot-01
  • microsoft-iot-02
  • microsoft-iot-03
  • microsoft-iot-04
  • microsoft-iot-05
  • microsoft-iot-06
  • microsoft-iot-07
  • microsoft-iot-08
  • microsoft-iot-09
  • microsoft-iot-10
  • microsoft-iot-11
  • microsoft-iot-12
  • microsoft-iot-13
  • microsoft-iot-14
  • microsoft-iot-15
  • microsoft-iot-16

Usage of this demo instance should be restricted to the event! Please set up your own instance when continuing to use Crossbar.io! Take a look at the instructions for setting up in the cloud and for local installation.

Note to Tessel users: The Tessel does not currently pings at the WebSocket level. This means that disconnecting a Tessel will usually not be detected quickly, so that registrations for procedures persists. Since as a default only a single registration per procedure URL is allowed, this poses a problem. With an instance of Crossbar.io under you control, the dirty (but easy) solution is to restart Crossbar.io periodically during development. With our demo instance, you should use shared registrations, with the invocation rule set to "last". This is also dirty, but then the Tessel v1 is very much a proof of concept.

Tessel sample code & instructions

You can find a general template for an WAMP/Crossbar.io on the Tessel in the examples.

Instructions for how to get started with the Tessel can be found in the Crossbar.io documentation.

The Tessel alarm app is something we hacked together during a Microsoft IoT hackathon in November. This shows using some modules (accelerometer + camera).

Instructions for the Yun

We have detailed blog post in how to set a Yun up to communicate with Crossbar.io.

Any questions?

Questions are best asked on the mailing lists:

or you can contact us on twitter @crossbario, on IRC freenode / #autobahn or via email [email protected].