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
Max Prokhorov
4ef069abb0
Fully fit unsigned char in the format
5 years ago
Xose Pérez
546c8f09b2
Update Copyright notice
5 years ago
Xose Pérez
d2101a90fb
Support for Teckin SP22 v1.4+
6 years ago
Xose Pérez
9ac06d0c7d
Fix numbers checks
6 years ago
Xose Pérez
d546a069e2
Option to save total energy in EEPROM after X reports, disabled by default
6 years ago
Xose Pérez
cb63e2659b
Support for BL0937 power monitoring chip with unmodified HLW8012 library ( #737 )
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
Xose Pérez
feffc290cc
Sensor type, value and slot methods should not set error values
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
c38911beae
Fix reference to sensor slot method
6 years ago
Xose Pérez
af805ab045
Update copyright notices
7 years ago
Xose Pérez
4888196b5e
Clean debug messages
7 years ago
Xose Pérez
e1baf48b9b
Option to disable completely new sensors module
7 years ago
Xose Pérez
3036676958
Check used GPIOs via locks
7 years ago
Xose Pérez
d80df39629
Destructors
7 years ago
Xose Pérez
ea38a3964c
Fix power factor range for HLW8012 sensor
7 years ago
Xose Pérez
1fd269e05e
Moving interrupt handling routines from Abstract classes (ICACHE_RAM_ATTR and virtual do not get on well)
7 years ago
Xose Pérez
28d59083ac
Fix early access bug to HLW8012 instance on HLW8012Sensor
7 years ago
Xose Pérez
1ac4a61206
Migrate HLW8012 sensor to new sensor module, remove old code
7 years ago