//See HydroPlantVoltageDetector.ino and SolarPanelVoltageSensor.ino
The code is almost exactly the same for both, with different topics
These two scripts were uploaded to NodeMCU's that read analog input values of their respective voltage sensors, and uploaded them to MQTT servers.