esp32projects
2 years agoRefactor to provide optional components, and add LED display functions
jweigele [Fri, 14 Jul 2023 20:11:31 +0000 (13:11 -0700)]
Refactor to provide optional components, and add LED display functions

 * Mostly, optional right now is CONFIG_TEMP_ENABLED
 * LED display took a huge amount of pain getting working, made a
   separate repo for the component mods

2 years agoReport both pm25 *and* pm10, and average temperature across time
jweigele [Thu, 13 Jul 2023 17:30:02 +0000 (10:30 -0700)]
Report both pm25 *and* pm10, and average temperature across time

 * add pm10 as a discrete value, and create an overall struct to hold
   both data types (pmbuffer) and average
 * make the temp list an actual ring buffer too, for use in
   flattening/averaging out temperature values like is currently done on
   pico
 * memmem for searching a value worked better, and the strstr variant
   was buggy for whatever reason

2 years agorename source files in aqi to better represent it
jweigele [Thu, 13 Jul 2023 15:13:30 +0000 (08:13 -0700)]
rename source files in aqi to better represent it

2 years agoreport and send average (over 1 min) pm25 for aqi
jweigele [Thu, 13 Jul 2023 15:06:53 +0000 (08:06 -0700)]
report and send average (over 1 min) pm25 for aqi

2 years agoNeeded to update submodule to track correct branch
jweigele [Thu, 13 Jul 2023 01:03:40 +0000 (18:03 -0700)]
Needed to update submodule to track correct branch

2 years agoBasic implemention of pm25 detection over uart
jweigele [Wed, 12 Jul 2023 07:51:20 +0000 (00:51 -0700)]
Basic implemention of pm25 detection over uart

 * Everything is very messy, function names, reports double, etc!
 * Does report both pm25 and temperature, but requires additions to
   zigbee2mqtt in order to function

2 years agocommented out some unused functions, and added currently disabled light sleep (waitin...
jweigele [Wed, 12 Jul 2023 03:02:42 +0000 (20:02 -0700)]
commented out some unused functions, and added currently disabled light sleep (waiting for support)

2 years agoInitial commit of esp32 zigbee codebase, just does simple temperature polling in...
root [Sun, 9 Jul 2023 18:13:42 +0000 (18:13 +0000)]
Initial commit of esp32 zigbee codebase, just does simple temperature polling in a sleep