Max Prokhorov
0d40d2275a
Load sensor classes later ( #2128 )
* Sensors: refactor configuration
- move sensor implementaion to the .ino,
remove dependency undef / define from sensor files
- update test/build/sensor.h from SENSOR_SUPPORT
- allow to change sensor config variables externally
- `#include <...>` for global headers and libraries,
fix relative path for math library
* add missing sns <-> i2c dependency
* ledrelay should return relay_none as default
* rollback to original test header
* include debug header when requested (relative)
4 years ago
Xose Pérez
175fcbf6cf
Support for WPS in core build. Using UNUSED macro to prevent warnings
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
5 years ago
Xose Pérez
42b2974790
Some fixings after configuration refactor
6 years ago
Lazar Obradovic
81fb3f0e64
analog sensors and ADC_MODE
6 years ago
Xose Pérez
feffc290cc
Sensor type, value and slot methods should not set error values
6 years ago
Xose Pérez
c0215f0a16
Error reset on _pre for different sensors
6 years ago
Xose Pérez
170f0d543c
Option to publish address via MQTT for any sensor
6 years ago
Xose Pérez
af805ab045
Update copyright notices
6 years ago
Xose Pérez
e1baf48b9b
Option to disable completely new sensors module
7 years ago
Xose Pérez
2bc8794919
Move I2C code in BaseSensor to I2CSensor
7 years ago
Xose Pérez
956215eac5
Default slot method in BaseSensor class
7 years ago
Xose Pérez
6e839e3d72
Added sensor IDs
7 years ago
Xose Pérez
c975b11226
Tentative to sensor manifest
7 years ago
Xose Pérez
feeebf9fb3
Move multiple channel support in EMON to base class
7 years ago
Xose Pérez
42f5ee5376
Flag sensor changes to avoid reinitializing them if unnecessary
7 years ago
Xose Pérez
8728d55b7b
Change sensor API, force parameter-less constructors
7 years ago
Xose Pérez
ef04f72228
Headers for Sensor and Filter classes
7 years ago
Xose Pérez
65831b95e4
Fix read call in EmonAnalog and EmonADC121
7 years ago
Xose Pérez
1b3927615e
Enable/disable magnitudes for Emon sensors
7 years ago
Xose Pérez
edf9d465ba
Improve ADS1115 speed to 1450 SPS, keep separate pivot for each channel
7 years ago
Xose Pérez
bfb9cb3a54
Properly name ADC channels
7 years ago
Xose Pérez
2d37a53e2a
Improve EMON sensors
7 years ago
Xose Pérez
808528c507
Porting EMON_ADC121 to new sensor module
7 years ago
Xose Pérez
fa74776327
Improve hierarchi for EmonSensor
7 years ago
Xose Pérez
ebe0d5e410
Fixed DallasSensor
7 years ago
Xose Pérez
b2dd7e5b56
Migrate DS18B20 and counter to new sensor module
7 years ago
Xose Pérez
f6378d52e4
Some name refactoring
7 years ago