/demo-qr-entanglement

Another demo by Aaron to visualize the latency and connectiveness with Solace Cloud MQTT

Primary LanguageHTMLOtherNOASSERTION

Entanglement QR Code Demo

Another demo by Aaron to visualize the latency and connectiveness with Solace Cloud MQTT (or any MQTT service, really!).

Premise

Click here load up the page. It will generate a QR code to scan with a phone. Once the phone connects and entagles, you can control the cube from either device either via rotational/accelerometer data (doesn't work on iPhones anymore), or via swipe gestures.

Instructions to deploy

  1. Clone/copy to some webserver somewhere, e.g.: https://yourserver.com/qr/
  2. Edit the index.html file:
    1. Update the URL variable URL_WHERE_DEPLOYED near the top to match your webserver URL
    2. Add any additional MQTT server connections to the connections section (around halfway through the file). Feel free to sign up for Solace Cloud: https://cloud.solace.com
  3. Run it, and scan it!

Licences

Check the LICENSE file