Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.02 KB

readme.md

File metadata and controls

29 lines (18 loc) · 1.02 KB

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