Skip to main content

Software

Now you have your NodeMCU connected to your lights, you need to setup a development enviroment. DirtyWatts MicroIndicator uses a tool called PlatformIO to handle uploading the C++ code to the NodeMCU.

To setup your computer on a windows/macos/linux device:
  1. Download and install Visual Studio Code (VS Code) if you don't have it already.
  2. Open VS Code and install the PlatformIO extension.
  3. Download and extract the DirtyWatts codebase from Questionable-Research-Labs/DirtyWatts.

    image.png


  4. Open the DirtyWatts/MicroIndicator folder: 

    image.png

You are now ready to start making changes!