Commit Graph

1409 Commits

Author SHA1 Message Date
Xose Pérez
8728d55b7b Change sensor API, force parameter-less constructors 2017-12-19 22:51:30 +01:00
Xose Pérez
89f892ac79 Report sensor errors to web UI 2017-12-19 16:46:50 +01:00
Xose Pérez
b70a5aaf8c Some clean-up 2017-12-19 16:14:08 +01:00
Xose Pérez
ef04f72228 Headers for Sensor and Filter classes 2017-12-19 15:56:10 +01:00
Xose Pérez
7cc06d9892 Homogeneize sensor error codes 2017-12-19 15:47:47 +01:00
Xose Pérez
86df1c892c Adapt BME280 code for BMP280 sensor 2017-12-19 15:40:00 +01:00
Xose Pérez
77b05086d9 Added support for MHZ19 CO2 sensor 2017-12-19 15:22:14 +01:00
Xose Pérez
cb3297183d Simple digital sensor 2017-12-18 20:34:17 +01:00
Xose Pérez
1fd5cbe5fd Playing with the sensor interrupt routines 2017-12-18 18:12:09 +01:00
Xose Pérez
f48c91bd07 Support for BME280 sensor 2017-12-18 17:06:09 +01:00
Xose Pérez
31304aa5a2 Merge branch 'sensors' of bitbucket.org:xoseperez/espurna into sensors 2017-12-18 00:17:43 +01:00
Oscar Rovira
5b0411bbe1 Use ESPSoftwareSerial fork, fixes 9600 baud problems 2017-12-17 22:27:36 +01:00
Oscar Rovira
9712e54b72 Merge with upstream 2017-12-17 22:17:02 +01:00
Oscar Rovira
bf486a3b84 Add long warm up option for sensors (non-blocking), re-organize code, and non-blocking read of PMS 2017-12-17 22:09:13 +01:00
Xose Pérez
054c037acb Merge branch 'dev' into sensors 2017-12-17 21:28:09 +01:00
Xose Pérez
c4fc428f37 Split initial WS message into submessages 2017-12-17 21:27:55 +01:00
Xose Pérez
f95e46c4b9 Disable EmonAnalog by default 2017-12-17 21:15:06 +01:00
Xose Pérez
8d87345d45 Make up 2017-12-17 18:40:44 +01:00
Xose Pérez
65831b95e4 Fix read call in EmonAnalog and EmonADC121 2017-12-17 18:39:47 +01:00
Xose Pérez
1b3927615e Enable/disable magnitudes for Emon sensors 2017-12-17 18:35:55 +01:00
Xose Pérez
b2e0984214 Improve memory footprint in filter classes 2017-12-17 18:35:26 +01:00
Xose Pérez
cf27d853cb Remove code for I2Cdevlib-ADS1115 2017-12-17 17:37:04 +01:00
Xose Pérez
d26f875763 Remove dependency on I2Cdevlib by default 2017-12-17 17:27:49 +01:00
Xose Pérez
8b56ab8652 Some renaming 2017-12-17 00:56:45 +01:00
Xose Pérez
edf9d465ba Improve ADS1115 speed to 1450 SPS, keep separate pivot for each channel 2017-12-16 22:14:24 +01:00
Oscar Rovira
6a58a8a907 Add PMSX003Sensor.h 2017-12-16 19:26:12 +01:00
Oscar Rovira
610f161be7 Begin with PMSx003 support 2017-12-16 19:18:58 +01:00
Xose Pérez
bfb9cb3a54 Properly name ADC channels 2017-12-16 10:05:13 +01:00
Xose Pérez
6f58170ace Support for energy monitor based on ADS1115, still WIP 2017-12-16 10:00:32 +01:00
Xose Pérez
faa8202045 Added msm_size and sdk_size to mDNS txts 2017-12-15 23:01:10 +01:00
Xose Pérez
2d37a53e2a Improve EMON sensors 2017-12-15 22:11:41 +01:00
Xose Pérez
808528c507 Porting EMON_ADC121 to new sensor module 2017-12-15 19:37:51 +01:00
Xose Pérez
fa74776327 Improve hierarchi for EmonSensor 2017-12-15 19:04:57 +01:00
Xose Pérez
3ade0ae035 Added analog energy monitor sensor to new sensors module 2017-12-15 18:22:45 +01:00
Xose Pérez
f8e7a564f1 Support for SI7021 sensor, I2C enabled by default using Wire library 2017-12-15 14:17:32 +01:00
Xose Pérez
d426969fb2 Added domoticz support to new sensor module 2017-12-14 23:52:58 +01:00
Xose Pérez
ebe0d5e410 Fixed DallasSensor 2017-12-14 00:47:05 +01:00
Xose Pérez
b2dd7e5b56 Migrate DS18B20 and counter to new sensor module 2017-12-13 11:57:09 +01:00
Xose Pérez
f6378d52e4 Some name refactoring 2017-12-12 22:11:34 +01:00
Xose Pérez
2299ce9bfd Basic sensor scafolding, DHT 90% migrated 2017-12-12 21:45:28 +01:00
Xose Pérez
25510824b5 Merge branch 'dev' of bitbucket.org:xoseperez/espurna into dev 2017-12-12 08:32:24 +01:00
Xose Pérez
b82d2a13a1 Links in ota_list 2017-12-12 01:37:29 +01:00
Xose Pérez
96202f7967 LED modes 2017-12-12 01:37:16 +01:00
Eldon R. Brown - WA0UWH
612c263931 Added 'datetime' to Mqtt Heartbeat Report
This change adds Date and Time ('datetime') to the
Mqtt Heartbeat Report, which can help diagnose the
Mqtt connection and/or client device problems.

Uptime is already reported, but without a datetime
context it is unknown if the retained Mqtt
informantion is current.

Note: Date and Time will not be reported if
NTP_SUPPORT is NOT enabled.

-
2017-12-11 12:24:31 -08:00
Xose Pérez
6d2f4ce57f Handle initial heartbeat from main loop (#318) 2017-12-10 10:15:44 +01:00
Xose Pérez
569b937d6c Changed 'reset' to 'reboot' for user interaction (#315) 2017-12-08 17:18:31 +01:00
Xose Pérez
38baf8599c Remove reset flag from MedianFilter::result 2017-12-08 17:17:50 +01:00
Xose Pérez
446c3ffed7 Change max pulse time to 3600s, 1 hour 2017-12-08 17:00:40 +01:00
Xose Pérez
c3663e7441 Change logic of ESPurna H08 LED 2017-12-08 16:59:28 +01:00
Xose Pérez
c5ade4660d Slow upload speed on ESPurna boards 2017-12-08 13:24:47 +01:00