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
Maxim Prokhorov
ec37c06ba5
sensor/ads1x15: fix changing sensor type when reading adc
5 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
eef1138b20
Remove unneeded code
6 years ago
Xose Pérez
8a999bb15a
Replacing delay with nice_delay
6 years ago
Xose Pérez
26a087dd7c
Check init status of sensors and re-init if they fail on boot ( #353 )
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
947f9bab73
I2C sensors using new i2c interface
6 years ago
Xose Pérez
2dc2b7d176
Checking code with cppcheck
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
7 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
6e839e3d72
Added sensor IDs
7 years ago
Xose Pérez
c975b11226
Tentative to sensor manifest
7 years ago
Xose Pérez
de4780efbc
Added getters for sensors
7 years ago
Xose Pérez
3ca68576f5
ExpectedPower method for EMON sensors
7 years ago
Xose Pérez
4e454331d4
Improved I2C auto-discover avoiding collissions
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
90a7f7f6d2
Interrupt handling routines for sensors
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
8d87345d45
Make up
7 years ago
Xose Pérez
1b3927615e
Enable/disable magnitudes for Emon sensors
7 years ago
Xose Pérez
cf27d853cb
Remove code for I2Cdevlib-ADS1115
7 years ago
Xose Pérez
d26f875763
Remove dependency on I2Cdevlib by default
7 years ago
Xose Pérez
8b56ab8652
Some renaming
7 years ago