Commit Graph

27 Commits

Author SHA1 Message Date
Theo Arends 0e4d4a889a Refactor Energy code saving space
Refactor Energy code saving space
2019-08-16 14:41:02 +02:00
Stephan Hadinger 15e37ef0bb Change converted double to float in rules, and replaced trigonometric functions from stdlib with smaller versions. 2019-07-01 18:20:43 +02:00
Theo Arends 1b69502d9b Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
Theo Arends 30adce5648 Revert "Code optimization - Change for(uint8_t in for (uint32_t"
This reverts commit 5e1eac3f74.
2019-06-30 15:56:55 +02:00
Theo Arends 5e1eac3f74 Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Theo Arends 5702fc5e26 Workaround issue #5161
Workaround issue #5161
2019-06-05 16:14:50 +02:00
Theo Arends 4e95417db4 Add reset of Energy values when connection to sensor is lost for over 4 seconds
Add reset of Energy values when connection to sensor is lost for over 4 seconds (#5874, #5881)
2019-05-30 12:45:02 +02:00
Theo Arends 15098dae68 Fix core 2.5.x ISR not in IRAM exception (#5837)
Fix core 2.5.x ISR not in IRAM exception (#5837)
2019-05-22 10:39:37 +02:00
Theo Arends 866c9c4b1f Clean up code and functionality
Clean up code and functionality
2019-05-18 16:17:05 +02:00
Theo Arends 0b6c62f5f9 Add support for Shelly 1PM Template
Add support for Shelly 1PM Template {"NAME":"Shelly 1PM","GPIO":[56,0,0,0,82,134,0,0,0,0,0,21,0],"FLAG":2,"BASE":18} (#5716)
2019-05-13 18:26:07 +02:00
Theo Arends 5e810f1ff3 Add Shelly 2.5 overtemp functionality
* Add all temperature, humidity and pressure for global access
 * Add Shelly 2.5 overtemp functionality
 * Fix Shelly 2.5 I2C address priority issue when VEML6070 code is present by disabling VEML6070 for Shelly 2.5 (#5592)
2019-04-15 18:12:42 +02:00
Theo Arends 06a9fbd792 Changed logging message handling
Changed logging message handling
2019-03-08 15:15:42 +01:00
Theo Arends 304ac6fe44 6.4.1.12 code changes (byte/boolean)
6.4.1.12 20190128
 * Change code use of boolean to bool and byte to uint8_t
 * Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends e9c687cf09 Housekeeping - Documentation 2019-01-06 15:17:22 +01:00
Theo Arends cb8963a7bf 6.4.1.7 Fix regression energy sensors
6.4.1.7 20190106
 * Fix HLW8012, HJL01 and BL0937 based energy sensors low Power (below 10W) measurement regression from 6.4.1.6
2019-01-06 12:29:38 +01:00
Theo Arends 9da900dfb8 Stabilize current SHP6 2019-01-05 18:40:33 +01:00
Theo Arends 41351001f5 6.4.1.6 Re-introduce Cal commands
6.4.1.6 20190105
 * Add commands PowerCal, VoltageCal and CurrentCal for HLW8012, HJL01 and BL0937 based energy sensors
2019-01-05 15:39:56 +01:00
Theo Arends 447ec6256e 6.4.1.4 Update Copyright (C) 2019
6.4.1.4 20190101
 * Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
andrethomas 4a7e7b0dbb Change C functions with () to (void) 2018-11-14 15:32:09 +02:00
Theo Arends 5bbec2617f 6.2.1.12 - Fixes Shelly1 and CSL
6.2.1.12 20181007
 * Fix Shelly1 switchmode 3 and 4 when using pushbutton (#3989)
 * Add support for CSL Aplic WDP 303075 Power Socket with Energy Monitoring (#3991, #3996)
2018-10-07 12:37:03 +02:00
phelagor adc3d4ebaa Added support for CSL Aplic WDP303075
- Added template for Module.
- Added support for HLW8012 (HLW_SEL is different to sonoff POW, needs different level to read voltage)
2018-10-06 22:05:15 +02:00
Theo Arends 0ad250c10b 6.2.1.11 Add MQTT Client
6.2.1.11 20191002
 * Remove support for MQTT Client based on esp-mqtt-arduino by #define MQTT_LIBRARY_TYPE MQTT_ESPMQTTARDUINO
 * Add support for MQTT Client based on lwmqtt to be selected by #define MQTT_LIBRARY_TYPE MQTT_ARDUINOMQTT
2018-10-02 17:07:30 +02:00
Theo Arends 3ed06695ba Fix Teckin energy monitoring
Fix Teckin energy monitoring (#3950)
2018-10-02 09:38:36 +02:00
Theo Arends 4b7c797fb7 6.2.1.9 Apparent/Reactive Power
6.2.1.9 20180928
 * Add Apparent Power and Reactive Power to Energy Monitoring devices (#251)
2018-09-28 15:48:42 +02:00
Theo Arends 7a767f104c 6.2.1.6 Remove some commands
6.2.1.6 20180922
 * Removed commands PowerCal, VoltageCal and CurrentCal as more functionality is provided by commands PowerSet, VoltageSet and CurrentSet
 * Allow decimals as input to commands PowerSet, VoltageSet and CurrentSet
 * Add support for PCA9685 12bit 16pin hardware PWM driver (#3866)
2018-09-22 15:09:53 +02:00
Theo Arends f517755303 Prep for frequency display
Prep for energy frequency display and update xnrg_05_pzem2.ino with correct register values
2018-09-07 18:15:47 +02:00
Theo Arends 07dafe1631 6.2.0.2 - Energy monitoring
6.2.0.2 20180904
 * Rewrite energy monitoring using energy sensor driver modules
 * Fix lost today and total energy value after power cycle (#3689)
2018-09-04 16:22:34 +02:00