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
546c8f09b2
Update Copyright notice
5 years ago
Xose Pérez
1d132172a1
Fix EmonSensor bug
6 years ago
Xose Pérez
d546a069e2
Option to save total energy in EEPROM after X reports, disabled by default
6 years ago
Maxim Prokhorov
8a0b3bca42
Fix compiler warnings
Add button definitions to the travis02 and travis03
IR_BUTTON should be uint32_t to properly work with new macro
eepromRotate return value is not used
6 years ago
Maxim Prokhorov
fab9c0f741
Force to implement BaseSensor methods that return values
6 years ago
Xose Pérez
69ac57abb4
Using alternative methods for maths, saving ~8Kb with lights
6 years ago
Xose Pérez
ac7bf70050
Fix calibration issues in EmonSensor ( #876 )
6 years ago
Lazar Obradovic
69cbb056a3
isolate PROGMEM
Isolated dependencies
sensors dependencies
enums, macros and prototypes.
I2C dependencies moved to actual sensor files.
definitelly redefine
6 years ago
Xose Pérez
ec56573741
Option to reset energy count #671
6 years ago
Xose Pérez
26a087dd7c
Check init status of sensors and re-init if they fail on boot ( #353 )
6 years ago
Lazar Obradovic
023f70d203
lintfixes, try1
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
d91d5eedb1
New sensors tab in web UI for all sensors
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
feeebf9fb3
Move multiple channel support in EMON to base class
7 years ago
Xose Pérez
7a2b4a7847
Normal debug for sensors
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
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
6f58170ace
Support for energy monitor based on ADS1115, still WIP
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
3ade0ae035
Added analog energy monitor sensor to new sensors module
7 years ago