timmbogner / Farm-Data-Relay-System

A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
MIT License
485 stars 108 forks source link

PM data types #126

Closed Stips5 closed 1 year ago

Stips5 commented 1 year ago

Hi Tim

I think PM1, PM2.5, PM10 (particulate matter) could be added to datatypes list

Stips5 commented 1 year ago

Suggestion

#define PM_1            27 // 1 Particles
#define PM_2_5          28 // 2.5 Particles
#define PM_10           29 // 10 Particles
timmbogner commented 1 year ago

Hey! I'm just getting back to things. This will be great, although to stay in line with the type standard I've been using it should go as follows:

#define PM1_T   27 // 1 Particles
#define PM2_5_T 28 // 2.5 Particles
#define PM10_T  29 // 10 Particles

If you're good making a pull request, I'll accept it. Otherwise I can do it and give you credit. What sensor are you using?

Stips5 commented 1 year ago

I can try with pull request, also I would add UV_T representing UV value, eg. using Adafruit_VEML6070 I am using PMS5003 for reading PM values.

Stips5 commented 1 year ago

Merged with https://github.com/timmbogner/Farm-Data-Relay-System/commit/a597da242bfdb8b9bf1dc24573b3e180cb398d9a