Skip to content

draco2003/iotworkshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is the student resources required to partcipate in the "Your code brightens the room" workshop

To Get Started click the following link sandbox link to create a workspace on Gitpod. You're required to have a github user account to verify user/email in order to use the Gitpod service.

Sandbox environment for this Workshop/Repo

Presentation Slides

Files in this repo to checkout

mqtt_cli.py : demo python cli app for subscribing to a topic as well as sending a message

webui.py : example python web app for subscribing to a topic as well as sending a message

mqtt_cli.py example commands:

Off: python mqtt_cli.py --topic cmnd/hackgt/<yourdevicename>/power --message off

On: python mqtt_cli.py --topic cmnd/hackgt/<yourdevicename>/power --message on

Subscrbie to a topic python mqtt_cli.py --topic stat/hackgt/<yourdevicename>/POWER

webui.py example command:

Start webserver: python webui.py

Releases

No releases published

Packages

No packages published