Another demo by Aaron to visualize the latency and connectiveness with Solace Cloud MQTT (or any MQTT service, really!).
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.
- Clone/copy to some webserver somewhere, e.g.:
https://yourserver.com/qr/
- Edit the index.html file:
- Update the URL variable
URL_WHERE_DEPLOYED
near the top to match your webserver URL - 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
- Update the URL variable
- Run it, and scan it!
Check the LICENSE file