mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Add support for SPS30 Particle sensor thanks to Gerhard Mutz (#5830)
Add support for SPS30 Particle sensor thanks to Gerhard Mutz (#5830)
This commit is contained in:
parent
222f62972c
commit
7204f85a3a
@ -5,6 +5,7 @@
|
||||
* Add HX711 weight restore after controlled restart or after power restore just before executing command Sensor34 7 (#5367, #5786)
|
||||
* Remove define USE_EMULATION from my_user_config.h (#5826)
|
||||
* Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE to my_user_config.h to control emulation features at compile time (#5826)
|
||||
* Add support for SPS30 Particle sensor thanks to Gerhard Mutz (#5830)
|
||||
*
|
||||
* 6.5.0.10 20190513
|
||||
* Enable ADC0 by default in my_user_config.h (#5671)
|
||||
|
@ -211,8 +211,9 @@ struct SYSCFG {
|
||||
uint8_t weblog_level; // 1AC
|
||||
uint8_t mqtt_fingerprint[2][20]; // 1AD
|
||||
|
||||
uint8_t free_1D5[20]; // 1D5 Free since 5.12.0e
|
||||
uint8_t free_1D5[19]; // 1D5 Free since 5.12.0e
|
||||
|
||||
uint8_t sps30_inuse_hours; // 1E8
|
||||
char mqtt_host[33]; // 1E9 - Keep together with below as being copied as one chunck with reset 6
|
||||
uint16_t mqtt_port; // 20A - Keep together
|
||||
char mqtt_client[33]; // 20C - Keep together
|
||||
|
@ -146,9 +146,9 @@ const char HTTP_SNS_SPS30_c[] PROGMEM ="{s}SPS30 " "TYPSIZ" "{m}%s " "um" "{e}";
|
||||
|
||||
#define PMDP 2
|
||||
|
||||
//#define SPS30_HOURS Settings.sps30_inuse_hours
|
||||
#define SPS30_HOURS sps30_inuse_hours
|
||||
uint8_t sps30_inuse_hours;
|
||||
#define SPS30_HOURS Settings.sps30_inuse_hours
|
||||
//#define SPS30_HOURS sps30_inuse_hours
|
||||
//uint8_t sps30_inuse_hours;
|
||||
|
||||
void SPS30_Every_Second() {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user