This is for students who are running on a Non-Microsoft OS, or students who would rather use a lighter weight IDE
-
First download VS Code and install it.
-
Install a C++ extension in VS Code *The extension button is the square logo on the
/* =================================================================== | |
SAMPLE CODE Segments for Home Assistant MQTT Discovery | |
This is NOT complete code but shows an example of generating a unique ID | |
for topic/entity publishing based on the device MAC address. | |
It also includes sample code for creating a Home Assistant device with four | |
entities via MQTT Discovery, as shown here: | |
Video: https://youtu.be/VHiCtZqllU8 | |
Blog: https://resinchemtech.blogspot.com/2023/12/mqtt-auto-discovery.html | |
It is highly recommended that you include some sort of end-user accessible setting to |
This is for students who are running on a Non-Microsoft OS, or students who would rather use a lighter weight IDE
First download VS Code and install it.
Install a C++ extension in VS Code *The extension button is the square logo on the