Sun, 10 Sep 2023 17:29:15 +0200 |
Michiel Broek |
Version 0.4.3. Attempt to fix the sunlight overflow of the APDS9930 sensor in the private part of the esp-idf-lib. Removed some error checks from functions that always return OK. Store light sensor registers in the state record and report the values in the json result string.
default tip
|
file |
diff |
annotate
|
Mon, 17 Apr 2023 16:20:58 +0200 |
Michiel Broek |
Version 0.4.1 Measure internal chip temperature, range -10 to 80. Result available in mqtt json payload.
|
file |
diff |
annotate
|
Thu, 13 Apr 2023 12:08:24 +0200 |
Michiel Broek |
Version 0.4.0. Disable normal logging mqtt.
|
file |
diff |
annotate
|
Wed, 12 Apr 2023 16:37:17 +0200 |
Michiel Broek |
A bit simpler mqtt event handling.
|
file |
diff |
annotate
|
Wed, 12 Apr 2023 16:23:02 +0200 |
Michiel Broek |
Reduced I2C master speed from 400 to 100 Khz. Hope to get power-on init for BMP280 more reliable. Added warnings for I2C devices that are missing. Some logmessages reduced to debug log messages. Added extra 10 mSec delays before read shunt voltage in the INA219 task. Removed and reduced log levels in the MQTT task. Show received data events. Remove WiFi total time debug logging, it's ok now.
|
file |
diff |
annotate
|
Thu, 06 Apr 2023 20:49:52 +0200 |
Michiel Broek |
Added nvsio utilities to make read/write to nvs namespace easier. Added variables for deep sleep to nvs namespace. In task_wifi, removed some init parameters that might add to instable wifi connect problems.
|
file |
diff |
annotate
|
Tue, 04 Apr 2023 20:57:49 +0200 |
Michiel Broek |
Splitted wifi and mqtt connect states to make the connections more robust. Protect the mqtt connection request against requests when a request is already done or in progress.
|
file |
diff |
annotate
|
Mon, 03 Apr 2023 16:07:34 +0200 |
Michiel Broek |
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.
|
file |
diff |
annotate
|
Sun, 02 Apr 2023 09:33:20 +0200 |
Michiel Broek |
Fixed start of json status message.
|
file |
diff |
annotate
|
Sat, 01 Apr 2023 21:06:59 +0200 |
Michiel Broek |
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.
|
file |
diff |
annotate
|
Fri, 31 Mar 2023 20:31:12 +0200 |
Michiel Broek |
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.
|
file |
diff |
annotate
|
Thu, 30 Mar 2023 21:55:24 +0200 |
Michiel Broek |
Added the getTempBaro and getVoltsCurrent functions to process the measured data. Added some main task code. Added subscribe to MQTT events.
|
file |
diff |
annotate
|
Thu, 30 Mar 2023 17:05:05 +0200 |
Michiel Broek |
Added task MQTT and some utilities. Added more power measurement variables and code. INA219 measurements are saved in the State record.
|
file |
diff |
annotate
|