Desktop MQTT Client for Adafruit.io

Similar documents
Adafruit IO Basics: Digital Input

Adafruit IO Basics: Feeds

Sino:bit with Arduino

Adafruit IO Basics: Analog Input

'Sup Brows. Created by Kate Hartman. Last updated on :52:04 PM UTC

Adafruit IO Basics: Digital Output

Adafruit IO Basics: Temperature & Humidity

Datalogging Hat with FLORA BLE

Using Zapier with Adafruit IO

Adafruit ATWINC1500 WiFi Breakout

Adafruit IO Basics: Servo

Adafruit IO Basics: Color

Adafruit ATWINC1500 WiFi Breakout

Adafruit ATWINC1500 WiFi Breakout

BeagleBone. Created by lady ada. Last updated on :46:10 PM UTC

Adafruit IO Basics: ESP Arduino

Adafruit GPS Hat in Windows IoT Core

Make a Google Glass remote with Bluefruit

FeatherWing Proto, Doubler and Tripler

Adafruit WINC1500 WiFi Shield for Arduino

Micro:bit with Arduino

Using IFTTT with Adafruit IO to Make an IoT Door Detector

PyPortal NeoPixel Color Picker Created by Kattni Rembor. Last updated on :42:41 PM UTC

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Adafruit Mini TFT with Joystick Featherwing

FeatherWing Proto and Doubler

The KWallet Handbook. George Staikos Lauri Watts Developer: George Staikos

Monochrome OLED Breakouts

Adafruit Mini TFT " 160x80

Adafruit AM2320 Sensor

Android GBoard Morse Code Control with Circuit Playground Express

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Circuit Playground Combadge

Boomy The Boombox. Created by Ruiz Brothers. Last updated on :52:13 PM UTC

Adafruit 8x16 LED Matrix FeatherWing

Adafruit Si5351 Clock Generator Breakout

Introducing Adafruit Trellis

Bluefruit LE Connect for ios

3D Printed Case for Adafruit Feather

Adafruit MMA8451 Accelerometer Breakout

Introducing Circuit Playground

MCP Bit DAC Tutorial

Clare Video Doorbell Version 2 User Manual

NeoPixie Dust Bag with Circuit Playground Express

Joy Featherwing. Created by Dean Miller. Last updated on :03:07 PM UTC

BLE Light Switch with Feather nrf52840 and Crickit

PyPortal Smart Thermometer with Analog Devices ADT7410, Adafruit IO and CircuitPython Created by Brent Rubell

Adafruit Si7021 Temperature + Humidity Sensor

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

Adafruit AMG8833 8x8 Thermal Camera Sensor

Adafruit GPIO Expander Bonnet for Raspberry Pi Created by Kattni Rembor. Last updated on :12:47 PM UTC

Adafruit 8x16 LED Matrix FeatherWing

Interactive Gift Box. Created by codingpro. Last updated on :47:40 AM UTC

Overview. Label Gallery SDK User Guide

Electra Desktop Wallet Set-Up Guide

PyPortal Cutefuzz Image Viewer Created by John Park. Last updated on :06:12 PM UTC

Desktop Fume Extractor

Ring Doorbell is 4.98 x 2.43 x 0.87 inches, x 6.17 x 2.21 cm.

Color Swatch Add-on User Guide

Adafruit MPRLS Ported Pressure Sensor Breakout

Pushrod Garage. Created by John Park. Last updated on :07:30 PM UTC

Adafruit Feather 32u4 Basic Proto

Wind Blowing Emoji Prop

Adafruit MMA8451 Accelerometer Breakout

Sino:bit with Arduino

Adafruit DRV2605 Haptic Controller Breakout

MLX90393 Wide-Range 3-Axis Magnetometer

Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

MCP Bit DAC Tutorial

Con Badge with Circuit Playground Express

0.96" mini Color OLED

Trellis 3D Printed Enclosure

Adafruit 7-Segment LED FeatherWings

Adafruit LED Backpacks

Introducing Circuit Playground

Adafruit I2C FRAM Breakout

Alarm.com Wi-Fi Doorbell Camera and Slim Line - Installation Guide

Getting Started with FLORA

MiniPOV4 - DIY Full-Color Persistence of Vision & Light-Painting Kit

Bill Redirect Send BluePrint fingerprint Symcod reader numbers directly in your existing application software

Snake Charmer Box. Created by Dano Wall. Last updated on :07:25 PM UTC

Rx Snapchat Spectacles for DIY and STEM

Getting Started with FLORA

Jawbone Jambox Won't Pair With Iphone 4s >>>CLICK HERE<<<

1.8" TFT Display Breakout and Shield

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

How to Create Your Cryptocurrency Wallet and Add PumaPay Tokens

Clockwork Goggles. Created by John Park. Last updated on :03:10 PM UTC

Adafruit eink Display Breakouts

Adafruit MMA8451 Accelerometer Breakout

OBIS Scientific Remote

Adafruit LED Backpacks

Adafruit 3.5" 480x320 TFT FeatherWing

TSL2561 Luminosity Sensor

Circuit Playground Digital Input

Naughty or Nice Machine

Secret Hollow Book Intrusion Detector

Adafruit Flora Bluefruit LE

Adafruit PCF8523 Real Time Clock

Transcription:

Desktop MQTT Client for Adafruit.io Created by lady ada Last updated on 2017-07-14 05:58:50 AM UTC

Guide Contents Guide Contents Overview Installing Software Configuring SSL Connections Connecting & Use Connecting Publishing Subscribing 2 3 4 7 9 11 11 11 12 Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 2 of 14

Overview Even though adafruit.io (http://adafru.it/jcy) is designed to be used with portable and wireless devices, it can also be used with desktop software! This makes it easy to control remote devices and debug your setup. This tutorial will document how we installed some desktop software and used it to interact with our dashboard & feeds. Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 3 of 14

Installing Software We tried out and really like MQTT.fx which is Open source under the Apache 2.0 license and has packages available for Windows, Mac and Linux (64bit deb) Start by visiting http://mqttfx.org/ (http://adafru.it/xdy) and download the latest version, as of this writing, 0.0.16 is the latest Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 4 of 14

You might have to mouseover to see the links, we grabbed the.exe file for windows. The.dpkg file is for Macs, the.deb file is for Debian Linux. Go thru the installation process Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 5 of 14

OK now run it and go to the next step! Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 6 of 14

Configuring Once the software is installed, you'll need to configure it for adafruit.io Start it up, this is the main window: Click on the gear logo in the top middle area. It will take you to the config page. 1. The Profile Name is just the name we'll call this connection set by. I used adafruit.io but use whatever you like 2. The Broker Address must be io.adafruit.com - we don't recommend using an IP addres in case the server moves 3. For the Broker Port use 1883 if you are not using SSL. For SSL connections, go with 8883 instead! 4. Client ID needs to be a unique value - you can use your AIO key or go to http://www.danstools.com/md5-hash-generator/ (http://adafru.it/fjt) and type in a bunch of text to generate a unique MD5 hash Then there's a set of sub-tabs. For the General Tab. You can set whatever timeout/keep alive you want. We recommend keeping Clean Session and Default MQTT version selected. Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 7 of 14

In the next tab you actually put in your credentials. Use your adafruit.com account user name for User Name and then your Password is the long alphanumeric key in your AIO settings Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 8 of 14

SSL Connections If you want to use SSL (and you should!) the next tab will let you set that up. Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 9 of 14

Select CA signed server certificate and for Protocol, try TLSv1.2 You'll also need to make sure the Broker Port above is 8883! Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 10 of 14

Connecting & Use Connecting Once done with the profile, click OK or Apply and Cancel to get back to the main screen. Select the new profile by name and click Connect The Connect button will gray out and the Disconnect button will be clickable. On the very right hand side you'll see a green dot to tell you the connection is OK If you are using SSL, you'll see a closed-lock as well Publishing Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 11 of 14

You can publish to a feed by clicking on the Publish button in the 'tab menu' Next to the >> there's a text field. Enter your feed name there, it will be in the format username/feeds/feedname where username is your adafruit account name, and feedname is the actual feed name you have in your feedlist Type some text or data or numbers or whatever into the big box below and then click the Publish button to the right of the feed name entry box Subscribing Subscribing to data feeds is pretty much the same, in the Subscribe tab, enter in the feed Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 12 of 14

name in the username/feeds/feedname format and click Subscribe to the right of the feed entry box Then on your dashboard you can make a change Adafruit Industries https://learn.adafruit.com/desktop-mqtt-client-for-adafruit-io Page 13 of 14

And it will be received in the desktop Adafruit Industries Last Updated: 2017-07-14 05:58:49 AM UTC Page 14 of 14