Mercurial
>
iotbalkon
/ graph
Search:
summary
shortlog
changelog
graph
tags
bookmarks
branches
files
zip
gz
help
graph
The revision graph only works with JavaScript-enabled browsers.
A bit simpler mqtt event handling.
Wed, 12 Apr 2023 16:37:17 +0200
, by 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.
Wed, 12 Apr 2023 16:23:02 +0200
, by Michiel Broek
Shorter delays during wifi connect timeout. Some code cleanup in the main state table. Report WiFi TX power during init. Removed SSID from WIFI_State because it wasn't used.
Tue, 11 Apr 2023 19:41:53 +0200
, by Michiel Broek
Decreased WiFi transmit level to 13. Level 15 is unstable, skip 14 just to be sure. It seems to be the bad designed antenna circuit on the ESP32-C3 Lolin v2.1.0 board. The board also benefits from a ground plane connected to the shield of the USB connector. The final implementation needs an external antenna anyway so the onboard antenna will go away. In the meanwhile, the wifi task is now more robust. Also, in testing mode there is no battery alarm, only when building for production.
Tue, 11 Apr 2023 11:11:13 +0200
, by Michiel Broek
The esp-idf-lib apds9930 component is now working. In nvsio stop logging not updated values. Store gain and aglbit values in nvs.
Fri, 07 Apr 2023 14:31:17 +0200
, by Michiel Broek
Some extra time for the mqtt messages.
Thu, 06 Apr 2023 22:01:08 +0200
, by Michiel Broek
Set the new measured deep sleep current consumption. This is half of the Wemos D1 system.
Thu, 06 Apr 2023 20:53:06 +0200
, by 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.
Thu, 06 Apr 2023 20:49:52 +0200
, by Michiel Broek
Code changes to try to fix the not working ADPS9930 driver.
Thu, 06 Apr 2023 13:22:03 +0200
, by Michiel Broek
First pass of debugging APDS9930 with a real chip.
Wed, 05 Apr 2023 20:00:26 +0200
, by 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.
Tue, 04 Apr 2023 20:57:49 +0200
, by Michiel Broek
Fixed wrong voltage and current measurements due to differences between Arduino and ESP-IDF.
Tue, 04 Apr 2023 14:33:26 +0200
, by Michiel Broek
Changed voltage range to 32 volt. Tried INA219 powersave mode, doesn't work.
Mon, 03 Apr 2023 20:11:29 +0200
, by 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.
Mon, 03 Apr 2023 16:07:34 +0200
, by Michiel Broek
Added untested port of the Arduino APDS9930 library as component into the esp-idf-lib.
Mon, 03 Apr 2023 11:08:09 +0200
, by Michiel Broek
Fixed start of json status message.
Sun, 02 Apr 2023 09:33:20 +0200
, by 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.
Sat, 01 Apr 2023 21:06:59 +0200
, by Michiel Broek
Added namespace and output variables in NVS.
Fri, 31 Mar 2023 21:12:39 +0200
, by 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.
Fri, 31 Mar 2023 20:31:12 +0200
, by Michiel Broek
Added the getTempBaro and getVoltsCurrent functions to process the measured data. Added some main task code. Added subscribe to MQTT events.
Thu, 30 Mar 2023 21:55:24 +0200
, by Michiel Broek
Added task MQTT and some utilities. Added more power measurement variables and code. INA219 measurements are saved in the State record.
Thu, 30 Mar 2023 17:05:05 +0200
, by Michiel Broek
Added Wifi task.
Wed, 29 Mar 2023 21:39:07 +0200
, by Michiel Broek
Added begin of INA219 measurements. Added raw main state table.
Tue, 28 Mar 2023 22:13:06 +0200
, by Michiel Broek
Finished the BMP280 task.
Tue, 28 Mar 2023 11:25:46 +0200
, by Michiel Broek
Added esp-idf-lib for a lot of sensors. Added the basic design for the BMP280 task.
Mon, 27 Mar 2023 22:13:21 +0200
, by Michiel Broek
Initial project setup
Sun, 26 Mar 2023 22:22:45 +0200
, by Michiel Broek
less
more
|
(0)
tip