
You could make your configuration changes directly by editing the values in User_config.h (for main OMG settings) and config_XX.h (for module-specific settings). # (Option A) Creating a portable config file Sets the default settings for ESP8266 (NodeMCU v2) devices using the Plight module. At first, a very simple base "environment" is specified that specifies common variables shared by all situations: PlatformIO config files work on the concept of overriding. And there's more: it also lets you configure the settings of those modules. Not just that, but it also specifies which modules to turn on and off. PlatformIO uses this file to define how to build OMG for different kinds of hardware. You will find inside the folder a platformio.ini config file. Download the CODE (opens new window) from github.

If you really want to use Arduino IDE, you need to download the libraries listed here (opens new window) at the version or revision specified. I recommend using PlatformIO this way you will not have to search for all the necessary libraries and adequate forks/revisions. To make advanced configurations to OpenMQTTGateway, you have the choice between two development environments: If you don't have to change the default parameters except Wi-Fi and MQTT broker settings, you don't need advanced configuration you can go directly to the Upload Binaries section instead. Indeed the ESP hardware family can be loaded directly without any configuration from your desktop.Īdvanced configuration means changing the default pins, the MQTT topics, and all the expert parameters that you can find in User_config.h (opens new window) and in all config_XX.h (opens new window) files. This section is useful if you want to do advanced configuration of your project or if you choose an Arduino. # (Option 3) Upload your configurations # Introduction
