Nocturnal Practitioners of Magic
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    pebble-socket-examplepublic

    Pebble watch app/server example using web sockets.

    Instructions

    Server

    1. npm install
    2. npm start

    Watch App

    1. Using Cloud Pebble copy the watch-app.js code to a new project
    2. Update the IP in the app to point to your server running node
    3. Install the app to the watch

    Once the app is installed and talking to the server you will see a "Hello" appear on the watch. Now anything you type in the shell where you are running the server app will be sent to the watch and displayed on the screen.

    Keywords

    install

    npm i pebble-socket-example

    Downloadslast 7 days

    0

    version

    0.0.1

    license

    ISC

    repository

    github.com

    last publish

    collaborators

    • avatar