Wi-Fi controller flash configuration that uses the following platformio profile:
platform = espressif8266
board = esp01_1m
framework = arduino
Configured for use with micro-sprinkler-api which serves as a subscription proxy to a GCP Pubsub topic(triggered by GCP Scheduler), which carries a JSON payload that encodes relay/solenoid firing/duration instructions.
The src/arduino-ide
directory will be periodically updated with the Arduino IDE equivalent of main.cpp(and associated libs).
Hopefully this gives those more familiar with Arduino IDE get started more quickly,
or maybe serve as a quick reference to aid in transitioning to a c++ workflow, which can be initially
jarring.
FWIW, developed using the following:
IotSprinklerRelayEsp8266-12e Same general idea, a little more cost, but without the headaches that the esp-01's small footprint can introduce.
MicroSprinklerApi HTTP polling pubsub subscription service that is equally comfortable behind your firewall on Docker or on a serverless GCP Cloud Run instance.