Changed voltage range to 32 volt. Tried INA219 powersave mode, doesn't work.

In the esp-idf-lib the adps9930 driver uses a device descriptor structure instead of just i2c_dev_t. Fixed a linking issue. Added APDS9930 task. Added getLightValues function. Added wifi quality value to the MQTT payload. The payload is complete and will be published.

Added untested port of the Arduino APDS9930 library as component into the esp-idf-lib.

Fixed start of json status message.

Added task_out to drive the relays and led lights. Added NVS namespace to store the state of the outputs. Respond to subscribed MQTT topics to set new output values.

Added namespace and output variables in NVS.

Added volts/current loop calculations. Added millis() timer running on the hardware clock. Completed most of the main state loop. Added MQTT wait for disconnect. MQTT disconnect in two passes, disconnect and stop.

(0) -10 -7 +7 +10 tip

mercurial