Control Circuits With Shelly Relays, MQTT, FlaskAPI, TKinter, Angular, and Raspberry Pi - Part One
Vložit
- čas přidán 9. 09. 2024
- This is part one of the second episode of Smarter Circuits. The purpose of the episode is to demonstrate how to create an end-to-end smart circuit--that is a circuit you can control remotely or logically. The episode covers Shelly wifi relay wiring and configuration, MQTT server installation and setup, Flask API integration, TKinter touch interface, and a basic start to an Angular Single-Page Application.
For Shelly products on Amazon, click the following link:
amzn.to/3JhKe0O
Part Two - • Control Circuits With ... (available 9/6/2021)
Part Three - • Control Circuits With ... (available 9/13/2021)
A link to the third part of this video will be added when the video becomes available.
Code examples are available on the Smarter Circuits GitHub:
github.com/Sma...
Follow us on Twitter @CircuitsSmarter
and if you're interested in supporting the growth and improvement of the channel, join us on Patreon:
/ smartercircuits
Information:
Fing Network Scanner - www.fing.com/
MQTT Explorer - mqtt-explorer.com/
MQTT Configuration - mosquitto.org/...
Setting up the Raspberry Pi - www.raspberryp...
Flask API, Apache2, Gunicorn service - / build-a-simple-python-...
Paho MQTT - www.eclipse.or...
Note:
At 14:11, there is a small code error. The line that reads
return 'OK'
should be
return {"status":"OK"}