Theo Arends
612654ffca
Refactor energy driver selection
...
Refactor energy driver selection
2019-09-08 17:21:26 +02:00
Theo Arends
75abfc5fd9
Refactor energy driver detection
...
Refactor energy driver detection and function call
2019-09-08 16:57:56 +02:00
Theo Arends
cea6592945
Remove Total Reactive from SDM120
...
Remove Total Reactive from SDM120 (#6282 )
2019-09-08 15:14:48 +02:00
Theo Arends
17a0049fa2
Use SDM120 Import Active as Total
...
Use SDM120 Import Active as Total Energy when available (#6282 )
2019-09-08 15:07:28 +02:00
Theo Arends
da35643f63
Revert "Merge pull request #6373 from s-hadinger/serial_115200"
...
This reverts commit a59dea5a74
, reversing
changes made to e0b07391c9
.
2019-09-08 12:59:32 +02:00
Theo Arends
1d39db76b3
Merge branch 'development' into serial_115200
2019-09-08 12:49:21 +02:00
gemu2015
c2f560312d
sml individual decimal precision on insertion, comments in >W and >J
2019-09-08 12:14:28 +02:00
Stephan Hadinger
7dda2fba0e
Change Improve reliability of TasmotaSerial at 115200 bauds and reduce IRAM usage for Stage/pre-2.6
2019-09-08 12:07:51 +02:00
Theo Arends
3d9a73f826
Add support for up to 4 INA226 Voltage and Current sensors
...
Add support for up to 4 INA226 Voltage and Current sensors by Steve Rogers (#6342 )
2019-09-08 11:26:54 +02:00
srodgers
27ecd09e9d
Update from testing branch
2019-09-07 15:30:51 -07:00
srodgers
4a41c13738
Merged from upstream
2019-09-07 14:38:57 -07:00
srodgers
0a9166dde7
Update files
2019-09-07 14:28:08 -07:00
Theo Arends
2e9f06f8bf
Bump version to 6.6.0.11
...
Change Settings crc calculation allowing short term backward compatibility
2019-09-07 18:32:11 +02:00
Theo Arends
fc2be92478
Move SDM120 modbus updates out of ticker interrupt
...
Move SDM120 modbus updates out of ticker interrupt (#6282 )
2019-09-07 16:31:39 +02:00
Federico Leoni
299a14fed4
Update pt-BR.h
2019-09-07 11:25:53 -03:00
Federico Leoni
5eb09495c2
Update it-IT.h
2019-09-07 11:24:57 -03:00
Federico Leoni
0c8ac27b54
Update pt-BR.h
2019-09-06 20:30:49 -03:00
Federico Leoni
8b15fe8c0b
Update it-IT.h
2019-09-06 20:03:42 -03:00
Theo Arends
53235a3382
Redesign Energy Total calculation
...
* Redesign Energy Total calculation
* Increase SDM120 modbus interval time to 200mS (#6282 )
2019-09-06 18:02:31 +02:00
Theo Arends
2fa583392a
Change command Time 1/2/3 for legacy reason
...
Change command Time 1/2/3 to select JSON time format ISO, ISO + Epoch or Epoch for legacy reason
2019-09-06 15:46:40 +02:00
gemu2015
c671eaecb9
touch button update, fix display settings font and size
2019-09-06 10:11:50 +02:00
Theo Arends
a1e9c2d2ac
Fix SDM120 modbus dump and Domoticz Energy Consumed or Produced
...
Fix SDM120 modbus dump exception and Domoticz Energy Consumed or Produced (#6282 )
2019-09-05 18:02:36 +02:00
Theo Arends
ab89bb53a9
Oops
...
Oops
2019-09-05 17:45:43 +02:00
srodgers
e620f75785
Remove extra space
2019-09-05 08:25:03 -07:00
srodgers
553c5e4a9c
Sync to testing branch
2019-09-05 08:20:40 -07:00
Theo Arends
ea0fb65845
Refactor Sendmail
...
Refactor Sendmail
2019-09-05 17:19:19 +02:00
Theo Arends
aaf542bf97
Merge pull request #6352 from gemu2015/sendmail
...
sendmail support
2019-09-05 16:56:30 +02:00
Theo Arends
a01de9a9b2
Remove obsolete Tuya code
...
Remove obsolete Tuya code
2019-09-05 16:56:02 +02:00
Theo Arends
c9df1d6942
Merge pull request #6355 from shantur/tuya-mcu
...
TuyaMCU: Cleanup unused tuya_disable_dimmer
2019-09-05 12:58:10 +02:00
Shantur Rathore
e0f5ed38af
TuyaMCU: Cleanup unused tuya_disable_dimmer
2019-09-05 11:32:39 +01:00
Theo Arends
db44b058e2
Add command Reset 99 to reset bootcount to zero
...
Add command Reset 99 to reset bootcount to zero (#684 , #6351 )
2019-09-05 12:32:28 +02:00
Theo Arends
d1ca5d1bde
Fix exception on AddLogBuffer
...
Fix exception on AddLogBuffer (#6282 )
2019-09-05 12:22:06 +02:00
Theo Arends
282591a0b2
Bump version to 6.6.0.10
...
Redesign Tuya support by Shantur Rathore (#6353 )
2019-09-05 10:41:08 +02:00
Theo Arends
0145c86fe0
Update settings.h
2019-09-05 10:02:42 +02:00
Shantur Rathore
dad5b0ffc2
Tuya MCU: Implement support for Inverted Relays
2019-09-04 22:42:32 +01:00
gemu2015
ca52a38bc1
sendmail
2019-09-04 20:58:17 +02:00
Shantur Rathore
c4c8fab42f
Tuya MCU: Fix Switch ids are 1 incremented in MQTT
2019-09-04 17:29:46 +01:00
Shantur Rathore
982f0b9573
TuyaMCU: Rename Tuya Dimmer to Tuya MCU to make it more clear.
2019-09-04 17:29:45 +01:00
Shantur Rathore
1d7a058155
Tuya MCU: Add support for Switches1 to 4 FunctionIDs 1 to 4
2019-09-04 17:29:45 +01:00
Shantur Rathore
efd1870d5e
Tuya: Make Tuya Mcu implementation more configurable.
...
More and more Tuya MCU based devices are coming in the market and people requesting to support them. This patch makes Tuya module more configurable and easier to add new functionalities. Its not just a dimmer or a switch anymore.
After this Patch Tuya MCU module has a list of supported functions and the user would need to map the functionId to dpId of their device. Once mapped correctly the Tuya module will take care for handling proper function for dpId.
Currently functions supported are
1. Relays1 to 8 : FunctionID 11 to 18
2. Dimmer : FunctionID 21
3. Power ( Deca Watt ) : Function ID 31
4. Current ( milli Amps ) : Function ID 32
5. Voltage ( deca Volts ) : Function ID 33
The changes are
- Use a TuyaMCU command to map DPs to Functions instead of many different SetOptions. SetOption41, 44, 45, 46, 65 won't be needed after this patch.
- TuyaMCU command takes argument like `11,1` which means Map Function id 11 (Relay1) to DPID 1
- Migrates old settings flags and options to new TuyaMap command
2019-09-04 17:29:44 +01:00
Theo Arends
af1edb0cdb
Add command Time 1/2/3 to select JSON time format ISO + Epoch, ISO or Epoch
...
* Add time to more events (#6337 )
* Add command Time 1/2/3 to select JSON time format ISO + Epoch, ISO or Epoch
2019-09-04 18:06:34 +02:00
Theo Arends
138ed6def9
Refactoring
...
Refactoring
2019-09-04 12:58:37 +02:00
Theo Arends
1304252d08
Refactor sonoff.ino
...
Refactor sonoff.ino
2019-09-04 12:47:58 +02:00
Theo Arends
f88e87cfde
Refactor and document power control
...
Refactor and document power control
2019-09-04 12:20:04 +02:00
Theo Arends
636e842545
Restore initial energy total default behaviour regression from yesterday
...
Restore initial energy total default behaviour regression from yesterday
2019-09-04 10:10:25 +02:00
Theo Arends
34eed717fa
Add command Power0 0/1/2/Off/On/Toggle to control all power outputs at once
...
Add command Power0 0/1/2/Off/On/Toggle to control all power outputs at once (#6340 )
2019-09-03 23:04:49 +02:00
Theo Arends
41f76c5128
Add restore power state when limit is restored
...
Add restore power state when limit is restored (#6340 )
2019-09-03 22:27:54 +02:00
Theo Arends
1478f1624a
Add restore power state when limiit restored
...
Add restore power state when limiit restored (#6340 )
2019-09-03 22:22:36 +02:00
Theo Arends
8e4dd169f3
Init Energy Total on energy monitoring devices with Energy Total Register
...
Init Energy Total on energy monitoring devices with Energy Total Register (#6282 )
2019-09-03 21:56:17 +02:00
Theo Arends
b3562e030e
Init Energy Total on energy monitoring devices with Energy Total Register
...
Init Energy Total on energy monitoring devices with Energy Total Register (#6282 )
2019-09-03 21:53:20 +02:00