https://github.com/realtime-framework/realtimemessaging-tessel
The Realtime Messaging Node.js client for Tessel
https://github.com/realtime-framework/realtimemessaging-tessel
Last synced: about 2 months ago
JSON representation
The Realtime Messaging Node.js client for Tessel
- Host: GitHub
- URL: https://github.com/realtime-framework/realtimemessaging-tessel
- Owner: realtime-framework
- License: mit
- Created: 2015-06-22T18:10:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-30T15:46:59.000Z (almost 10 years ago)
- Last Synced: 2025-01-31T08:17:09.092Z (4 months ago)
- Language: JavaScript
- Homepage:
- Size: 123 KB
- Stars: 1
- Watchers: 5
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## The Realtime Cloud Messaging SDK for Tessel
Part of the [The Realtime® Framework](http://framework.realtime.co), Realtime Cloud Messaging (aka ORTC) is a secure, fast and highly scalable cloud-hosted Pub/Sub real-time message broker for web and mobile apps.When you need to communicate in real-time with your Tessel devices Realtime Cloud Messaging is the reliable, easy, unbelievably fast, “works everywhere” solution.
## The Realtime Tessel sample app
Before running this sample install the Realtime Cloud Messaging SDK for Tessel using the following commands:cd sample
npm install realtime-tessel
To execute the blink sample in your Tessel run the following commands:
tessel run blink.js
This sample will subscribe the Realtime channel `tessel` and when any message is received your Tessel leds will toggle.
You might want to use this sample in conjunction with the JavaScript sample (or [http://console.realtime.co](http://console.realtime.co)) and send messages to the channel `tessel`. You should see the Tessel leds toggle when messages are received.
> NOTE: For simplicity these samples assume you're using a Realtime® Framework developers' application key with the authentication service disabled (every connection will have permission to publish and subscribe to any channel). For security guidelines please refer to the [Security Guide](http://messaging-public.realtime.co/documentation/starting-guide/security.html).
>
> **Don't forget to replace `YOUR_APPLICATION_KEY` and `YOUR_APPLICATION_PRIVATE_KEY` with your own application key. If you don't already own a free Realtime® Framework application key, [get one now](https://accounts.realtime.co/signup/).**## Documentation
The Tessel SDK API reference documentation can be found [here](http://messaging-public.realtime.co/documentation/tessel/2.1.0/OrtcClient.html).The complete Realtime® Messaging reference documentation is available [here](http://framework.realtime.co/messaging/#documentation)