Black Lives Matter - Action and Equality. ... Adafruit joins the Stop Hate for Profit campaign.
0

New to MQTT, need help
Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Please be positive and constructive with your questions and comments.

New to MQTT, need help

by Kimlorentz on Wed May 29, 2019 3:52 pm

Hi I got an pycom gpy and want to use MQTT. Using Wifi.
io.adafruit.com.

Read from pycom board
- Temperature sensor (IoTCar/Temp)
- Humidity sensor (IoTCar/Hum)
- GPS Location (IoTCar/Location)
- Fan On/Off indicator (IoTCar/Fan)

Write to pycom board
- Fan On/Off temperature limit (IoTCar/SetTemp)

Can somebody help me get started, new to python programming.

Kimlorentz
 
Posts: 191
Joined: Mon Jun 23, 2014 7:11 am

Re: New to MQTT, need help

by brubell on Wed May 29, 2019 4:07 pm

Check out PyCom's MQTT tutorial, which uses Adafruit IO: https://docs.pycom.io/tutorials/all/mqtt.html


For more information about the Adafruit IO MQTT API, visit: https://io.adafruit.com/api/docs/mqtt.h ... o-mqtt-api

brubell
 
Posts: 937
Joined: Fri Jul 17, 2015 10:33 pm

Please be positive and constructive with your questions and comments.