Laurent Dong
96098e4e09
Support If in Rules
...
The major features of IF statement are:
- Support IF, ELSEIF, ELSE
- Support not only comparison but also using logical expression as condition
- Support run multiple commands
- Support nested IF statement
- All the commands run by IF statement will go to the BACKLOG!
- No limit for logical operators, parenthesis and nested IF statement. Depends on your RAM!
Extended Backus-Naur Form of IF statement:
<if-statement> ::=
IF "(" <logical-expression> ")" <statement-list> {ELSEIF "(" <logical-expression> ")" <statement-list>} [ELSE <statement-list>] ENDIF
<logical-expression> :=
<comparison-expression> |
(<comparison-expression> | <logical-expression>) {(AND | OR) <logical-expression>} |
"(" <logical-expression ")" {(AND | OR) <logical expression>}
<comparison-expression> ::=
<math-expression> ("=" | "<" | ">" | "|" | "==" | "<=" | ">=" | "!=") <math-expression>
<statement-list> ::=
<statement> {";" <statement>}
<statement> ::=
<Sonoff-Tasmota-command> | <if-statement>
In English:
If statement support 3 format:
1. IF (<condition>) <statement-list> ENDIF
2. IF (<condition>) <statement-list> ELSE <statement-list> ENDIF
3. IF (<condition>) <statement-list> [ELSEIF (<condition>) <statement-list> ]* ELSE <statement-list> ENDIF
<condition> is a logical expression which can be:
1. A comparison expression for example:
VAR1 >= 10
2. Multiple comparison expression with logical operator "AND" or "OR" between them. "AND" has higher priority than "OR". Fox example:
UPTIME > 100 AND MEM1 == 1 OR MEM2 == 1
3. Parenthesis can be used to change the priority of logical expression. For example:
UPTIME > 100 AND (MEM1 == 1 OR MEM2 == 1)
<statement-list> can be:
1. A Sonoff-Tasmota command. For example:
ledpower on
2. A IF statement ("IF .... ENDIF")
3. Multiple Sonoff-Tasmota command or IF statement split with ";". For example:
Power1 off; Ledpower on; if (mem1 == 0) Var1 Var1+1; mem1==1 endif; Delay 10; POWER1 on
4. Do not need to lead with "BACKLOG" for multiple commands.
2019-09-09 11:24:27 -04:00
gemu2015
710b576d6b
epaper display 29 fix
2019-09-08 20:48:47 +02:00
Tim Leuschner
eb858ed485
Update _changelog.ino
...
Name was misspelled ... ;-)
2019-09-08 18:56:15 +02:00
Stephan Hadinger
8e1a90932e
Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into serial_115200_2
2019-09-08 18:34:50 +02:00
Theo Arends
4910ea308a
Add support for A4988 stepper-motor-driver-circuit
...
Add support for A4988 stepper-motor-driver-circuit by Tim Leuscher (#6370 )
2019-09-08 18:32:35 +02:00
Stephan Hadinger
41d6dd2683
Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into serial_115200_2
2019-09-08 18:29:11 +02:00
Theo Arends
17eb9727a5
Merge pull request #6370 from Leuselator/A4988_Stepper
...
A4988 stepper
2019-09-08 18:14:07 +02:00
Tim Leuschner
2345828b39
Merge branch 'A4988_Stepper' of https://github.com/Leuselator/Sonoff-Tasmota into A4988_Stepper
2019-09-08 17:31:35 +02:00
Tim Leuschner
fafb837120
removed my changes to platformio&my_user_config, removed the unnessesary digitalwrites in adjustMicrosteps()
2019-09-08 17:30:17 +02:00
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
Stephan Hadinger
1d58501c49
Change Improve reliability of TasmotaSerial at 115200 bauds and reduce IRAM usage for Stage/pre-2.6
2019-09-08 16:41:31 +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
Tim Leuschner
ff3701e1ce
Merge branch 'development' into A4988_Stepper
2019-09-08 11:49:15 +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
Tim Leuschner
4533039c9f
removed my user-settings
2019-09-08 04:02:47 +02:00
Tim Leuschner
e0a17cda55
this compiles...
2019-09-08 04:01:02 +02:00
Tim Leuschner
4e1480d0f0
works fine...
2019-09-08 03:28:19 +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
Tim Leuschner
e516262904
..to be tested
2019-09-07 21:37:01 +02:00
Tim Leuschner
179d74ab08
it compiles...
2019-09-07 20:38:06 +02: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
Tim Leuschner
8350be64a0
.
2019-09-07 14:09:44 +02:00
Tim Leuschner
5eac2dd939
Support Stepper-motors connected to A4988-stepper-driver-circuit
2019-09-07 14:03:07 +02: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
Theo Arends
3ee83ae147
Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development
2019-09-03 21:15:40 +02:00
Theo Arends
d44104135e
Fix turning on/off all power when limit is reached
...
Fix turning on/off all power when limit is reached (#6340 )
2019-09-03 21:15:36 +02:00
gemu2015
d5005e29d9
sml update (add modus , optimizations)
2019-09-03 10:54:01 +02:00
gemu2015
d6560e89bd
sml update modbus decoder
2019-09-03 10:39:51 +02:00
srodgers
407be4075f
Add ina226 driver
2019-09-02 14:53:12 -07:00
Theo Arends
04debb5305
Fix USE_SDM120_2 issues
...
Fix USE_SDM120_2 issues (#6282 )
2019-09-02 16:41:18 +02:00
Theo Arends
f4b5e565ef
Add driver USE_SDM120_2 with Domoticz P1 Smart Meter functionality as future replacement for USE_SDM120 - Pls test and report
...
Add driver USE_SDM120_2 with Domoticz P1 Smart Meter functionality as future replacement for USE_SDM120 - Pls test and report (#6282 )
2019-09-01 17:51:25 +02:00
Stephan Hadinger
42d3f1f677
Add Zigbee parameters
2019-08-31 21:52:51 +02:00
Stephan Hadinger
23c3419509
Add Zigbee support phase 2 - cc2530 initialization and basic ZCL decoding
2019-08-31 21:23:32 +02:00
Theo Arends
ae4735af5c
Merge pull request #6330 from s-hadinger/user_config_override
...
Move '#include user_config_override.h' in 'my_user_config.h'.
2019-08-31 18:30:49 +02:00
Stephan Hadinger
fce3de82c5
Move '#include user_config_override.h' in 'my_user_config.h'.
...
Allow user_config_override.h to change parameters like USE_MQTT_TLS.
2019-08-31 14:44:49 +02:00
Theo Arends
12a5e500ee
Merge pull request #6328 from s-hadinger/ir_full_code_shrink
...
Disable USE_DISCOVERY and USE_EMULATION in sonoff-ir, reducing code size by 30k
2019-08-31 11:51:16 +02:00
Stephan Hadinger
2796aa7bc6
Disable USE_DISCOVERY and USE_EMULATION in sonoff-ir, reducing code size by 30k
2019-08-31 11:49:22 +02:00
gemu2015
655c8288eb
fix counter irq mode
2019-08-31 11:32:57 +02:00
gemu2015
78989faf81
scripter update
...
epoch, json export, web show
2019-08-31 10:10:16 +02:00
Stephan Hadinger
dc5d5476c7
Fix Travis build, case type in #include
2019-08-30 22:33:21 +02:00
Stephan Hadinger
69a31577eb
Fix Travis build for sonoff-ir
2019-08-30 22:25:11 +02:00
Stephan Hadinger
2d673d78ef
Add 'sonoff-ir' pre-packaged IR-dedicated firmware and 'sonoff-ircustom' to customize firmware with IR Full protocol support
2019-08-30 20:41:01 +02:00
Theo Arends
06135c6ccd
Merged #5421
...
Merged #5421
2019-08-30 17:07:56 +02:00
Theo Arends
b363bb55a9
Add compile time define USE_WS2812_HARDWARE to select hardware type WS2812, WS2812X, WS2813, SK6812, LC8812 or APA106 (DMA mode only)
...
Add compile time define USE_WS2812_HARDWARE to select hardware type WS2812, WS2812X, WS2813, SK6812, LC8812 or APA106 (DMA mode only)
2019-08-30 14:35:08 +02:00
Theo Arends
48783a4772
Add define USE_WS2812_BTYPE to select different bitbang timing
...
Add define USE_WS2812_BTYPE to select different bitbang timing (#6292 )
2019-08-29 18:03:30 +02:00
Stephan Hadinger
5e962879c1
Align to new behavior for codes >64 bits
2019-08-28 22:24:40 +02:00
Stephan Hadinger
ab5af7bf47
Add Full support of all protocols in IRremoteESP8266, to be used on dedicated-IR Tasmota version. Warning: +81k Flash when compiling with USE_IR_REMOTE_FULL
2019-08-28 22:01:01 +02:00
Theo Arends
b04bf63446
Add possibility to receive more then 64 bits to IRremote
...
Add possibility to receive more then 64 bits to IRremote. May still need change of IR_RCV_BUFFER_SIZE (#6286 )
2019-08-28 16:13:19 +02:00
Theo Arends
9af67a5278
Bump version to 6.6.0.9
...
Change theoretical baudrate range to 300..19660500 bps in 300 increments (#6294 )
2019-08-28 12:02:27 +02:00
Theo Arends
387c10f118
Fix lost energy values
...
Fix lost energy values (#6302 )
2019-08-28 11:08:23 +02:00
Theo Arends
b52da68a68
Fix energy smart calculation at day roll-over
...
Fix energy smart calculation at day roll-over
2019-08-28 10:52:24 +02:00
Theo Arends
3a63ff3728
Fix Serial Bridge set baudrate regression from 6.6.0.4
...
Fix Serial Bridge set baudrate regression from 6.6.0.4
2019-08-28 10:17:31 +02:00
Theo Arends
3048b6550c
Merge pull request #6303 from s-hadinger/fix_echo_2nd_gen
...
Fix Unrecognized relay with Echo Dot 2nd Gen
2019-08-27 22:24:44 +02:00
Stephan Hadinger
e14c560f51
Fix Unrecognized relay with Echo Dot 2nd Gen
2019-08-27 22:19:27 +02:00
Theo Arends
f5646d6bbe
Add SH1106 and e-paper 4.2 inch to sonoff-display.bin
...
Add SH1106 and e-paper 4.2 inch to sonoff-display.bin
2019-08-27 17:29:54 +02:00
Theo Arends
1776f7d06a
Fix sonoff-sensor compilation by removing iram user TX20
...
Fix sonoff-sensor compilation by removing iram user TX20
2019-08-27 17:24:19 +02:00
Theo Arends
f31b903fab
Bump version to 6.6.0.8
...
* Add Tuya Energy monitoring by Shantur Rathore
* Add phase 1 Domoticz P1 Smart Meter support using energy sensors handled by xdrv_03_energy.ino based on an idea by pablozg
* Add commands Tariff1 0..23 (start Off-Peak hour), Tariff2 0..23 (start Standard hour) and Tariff3 0/1 (Saturday and Sunday Off-Peak)
2019-08-27 17:01:12 +02:00
Theo Arends
5413b95963
Fix Greek language compilation error
...
Fix Greek language compilation error
2019-08-27 16:44:51 +02:00
Theo Arends
9d04ca0ccd
Merge pull request #6300 from shantur/tuya-serial-fixes
...
Fix sonoff-display compilation after Tuya Power metering changes
2019-08-27 15:53:05 +02:00
Theo Arends
a82742126f
Merge pull request #6298 from gemu2015/meter-driver
...
meter driver
2019-08-27 15:49:01 +02:00
Theo Arends
b661c6a414
Fix baudrate calculation allowing max 30600 baud
...
Fix baudrate calculation allowing max 30600 baud (#6294 )
2019-08-27 15:44:30 +02:00
Shantur Rathore
6c3d9d2ff5
Fix sonoff-display compilation after Tuya Power metering changes
2019-08-27 14:40:43 +01:00
gemu2015
e96bf9af4e
updata tasmota serial, add sml driver
2019-08-27 15:33:09 +02:00
Theo Arends
022df89950
Merge pull request #6296 from shantur/tuya-serial-fixes
...
More Tuya support
2019-08-27 14:39:09 +02:00
Shantur Rathore
231a1ba137
Tuya Serial: Add support for power metering
...
Capable Tuya serial devices send power metering data over serial interface. User needs to identify the ids of all power metering functions and set as
SetOption44 -> Voltage
SetOption45 -> Current
SetOption46 -> Power
2019-08-27 10:50:34 +01:00
Shantur Rathore
579f68cf2f
Tuya Dimmer: Add support for dimmers with max 24
...
New Tuya Dimmer has dim values from 0 to 24. Currently the code expects it to be 0-100 or 0-255.
With this change we move the flag to a param and use that to calculate correct dim percentage.
This change also makes sure to update settings on version upgrade.
2019-08-27 10:46:27 +01:00
Stephan Hadinger
0cb49214e4
Fix Would not compile if USE_LIGHT not defined
2019-08-27 10:02:25 +02:00
Theo Arends
0ef45c1fa3
Add IsDst()
...
Add IsDst()
2019-08-25 17:31:27 +02:00
Theo Arends
427dee028d
Fix compile error
...
Fix compile error
2019-08-25 17:30:12 +02:00
Theo Arends
43c3d3611d
Prep domoticz for P1 smart meter
...
Prep domoticz for P1 smart meter
2019-08-25 16:25:38 +02:00
Theo Arends
459101ee3a
Add translation
...
Add translation
2019-08-25 16:19:23 +02:00
Theo Arends
6c905b65a4
Expand Settings area to 4k for future use
...
Expand Settings area to 4k for future use
2019-08-25 14:58:45 +02:00
Theo Arends
dc76792b5f
Bump version to 6.6.0.7
...
Bump version to 6.6.0.7
2019-08-25 12:41:00 +02:00
Theo Arends
28eb6d7661
Integrate ibeacon
2019-08-25 12:29:48 +02:00
gemu2015
f6503ca01d
Update xsns_52_ibeacon.ino
2019-08-24 15:56:28 +02:00
gemu2015
3b30ba8810
ibeacon added
2019-08-24 13:20:00 +02:00
Theo Arends
5cb863d35b
Restore define USE_DISPLAY_EPAPER_42
...
Restore define USE_DISPLAY_EPAPER_42
2019-08-23 17:33:30 +02:00
Shantur Rathore
92a6f6672c
Tuya Fix: Dimmer doesn't switch on from HASS
...
Tuya serial dimmer doesn't switch on from HASS because when powered off, HASS sends dimmer command.
Internally, dimmer update and power command are sent too quickly to serial out and switch doesn't turn on.
Adding a delay fixes things.
2019-08-23 10:02:24 +01:00
Shantur Rathore
9fb804b426
Fix: Tuya Switches are detected as dimmers.
...
Tuya switches are detected as dimmers even after setting SetOption65 to 1.
Currently SetOption65 just hides the dimmer from Web UI for Tuya switches with SetOption65 to 1 but they are advertised as dimmer to HASS.
With this change we set light_type to LT_BASIC (on/off) instead of LT_SERIAL1 (dimmable) when option 65 is set.
2019-08-23 10:02:24 +01:00
Shantur Rathore
1c7fd88ec4
Tuya: Rename tuya_show_dimmer to tuya_disable_dimmer to make the option clear.
...
By default the option is set to 0 in which case the tuya serial will act as dimmer
When its set to 1 tuya serial will disable dimmer functions.
2019-08-23 10:02:24 +01:00
gemu2015
8c3c3f1709
display update
2019-08-23 10:26:09 +02:00
Stephan Hadinger
993216c8c6
Fix Hue Emulation not responding on /resourcelinks, issue #6238
2019-08-22 19:13:14 +02:00
Theo Arends
944cf3877f
Final fix buffer dump
...
Final fix buffer dump
2019-08-22 12:36:13 +02:00
Theo Arends
5ddd5633ff
Fix watchdog restarts due to buffer overflow
...
Fix watchdog restarts due to buffer overflow (#6266 )
2019-08-22 10:54:12 +02:00
Theo Arends
c2474f8d5d
Quick fix MHZ19 watchdog reset
...
Quick fix MHZ19 watchdog reset (#6266 )
2019-08-21 09:44:34 +02:00
Theo Arends
86b6dc7ecb
Fix warning
...
Fix warning
2019-08-20 12:17:21 +02:00
Theo Arends
e04bea8768
Merge pull request #6262 from s-hadinger/fix_http_head
...
Renamed HTTP_HEAD to HTTP_HEADER
2019-08-20 09:29:16 +02:00
Shantur Rathore
e9475592b3
Fix: Legacy Led1 doesn't power up with Relay1.
...
https://github.com/arendst/Sonoff-Tasmota/pull/6246 broke Legacy Led1 power up logic. Make sure the if statement matches the if statement before #6246
2019-08-19 21:04:27 +01:00
Stephan Hadinger
a49c416c81
Renamed HTTP_HEAD to HTTP_HEADER
2019-08-19 21:14:58 +02:00
Theo Arends
5f6a87c7c0
Update libraries and fix SSD1306 power control
...
Update libraries and fix SSD1306 power control
2019-08-19 18:17:44 +02:00
Theo Arends
42c8ac61e8
Bump version to 6.6.0.6
...
Bump version to 6.6.0.6
2019-08-19 17:09:31 +02:00
Theo Arends
b6e95e818c
Add new display driver defines
...
Add new display driver defines
2019-08-19 16:58:24 +02:00
Theo Arends
e8f28740a7
Display fixes part 1
...
Display fixes part 1
2019-08-19 16:49:20 +02:00
gemu2015
eb7ca618c7
display update
2019-08-19 13:38:14 +02:00
gemu2015
cb0de03df7
update displays
2019-08-19 13:21:54 +02:00
Theo Arends
33aa430f64
Add support for RDM6300 125kHz RFID Reader by Gerhard Mutz
...
Add support for RDM6300 125kHz RFID Reader by Gerhard Mutz
2019-08-19 11:47:59 +02:00
Theo Arends
347ebe5e0d
Merge pull request #6258 from gemu2015/rdm6300
...
rdm6300 support
2019-08-19 11:22:50 +02:00
Theo Arends
7d690dcc1b
Gain a little code space on WebSend response
...
Gain a little code space on WebSend response
2019-08-19 11:21:00 +02:00
Theo Arends
cae714e300
Optimize rule/script processing
...
Optimize rule/script processing
2019-08-19 11:18:50 +02:00
gemu2015
70cb8f3822
rdm6300 support
2019-08-19 10:54:58 +02:00
Theo Arends
bfad4f815f
Add define USE_WEBSEND_RESPONSE
...
Add define USE_WEBSEND_RESPONSE
2019-08-19 10:36:42 +02:00
gemu2015
f981c13ae6
Update xdrv_10_scripter.ino
2019-08-19 08:24:41 +02:00
gemu2015
f6d22a6e4d
scripter update
2019-08-19 08:20:51 +02:00
Theo Arends
7965ada5c5
Clean code
...
Clean code
2019-08-18 15:21:38 +02:00
Theo Arends
54364484fa
Add Driver and Sensor info to status 4
...
* Add Driver and Sensor info to status 4
* Change WebSensor return information to show disabled state using exclamation mark
* Clean up debug code
2019-08-18 13:23:43 +02:00
Theo Arends
049dd72ca5
Refactor wifi saving code space
...
Refactor wifi saving code space
2019-08-17 17:13:09 +02:00
Theo Arends
c107864b92
Refactor RTC saving code space
...
Refactor RTC saving code space
2019-08-17 16:49:17 +02:00
Theo Arends
ef63883a1c
Refactor Button, Switch and Rotary to save code space
...
Refactor Button, Switch and Rotary to save code space
2019-08-17 16:19:58 +02:00
Theo Arends
9eed3ebfea
Refactor Armtronix driver
...
Refactor Armtronix driver
2019-08-17 15:07:46 +02:00
Theo Arends
12d17030ca
Refactor Tuya driver saving code space
...
Refactor Tuya driver saving code space
2019-08-17 15:00:57 +02:00
Theo Arends
9a15663ca0
Correction
...
Correction
2019-08-17 14:50:12 +02:00
Theo Arends
069be6edd9
Refactor PS16DZ driver saving code space
...
Refactor PS16DZ driver saving code space
2019-08-17 14:48:42 +02:00
Theo Arends
d87181e22d
Refactor rules saving code space
...
Refactor rules saving code space
2019-08-17 14:27:41 +02:00
Theo Arends
38c6254833
Refactor light driver saving code space
...
Refactor light driver saving code space
2019-08-17 13:17:30 +02:00
Theo Arends
b9302d9ab9
Merge pull request #6246 from shantur/development
...
LedX should show power status even if there is no wifi or mqtt.
2019-08-17 11:56:45 +02:00
Shantur Rathore
f4b7e422fc
LedX should show power status even if there is no wifi or mqtt.
...
Fixes: https://github.com/arendst/Sonoff-Tasmota/issues/6244
2019-08-17 10:10:06 +01:00
Stephan Hadinger
859156c395
Fix #6247
2019-08-17 11:06:49 +02:00
Stephan Hadinger
bd97621363
Update _changelog.ino for #6191
2019-08-16 18:35:16 +02:00
Stephan Hadinger
1de7abe9f4
Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into issue_6191
2019-08-16 18:33:53 +02:00
Stephan Hadinger
4aeaff66aa
Fix wrong telemetry message when SetOption68 1 ( #6191 )
2019-08-16 18:33:41 +02:00
Theo Arends
676c7867ca
Refactor Sensors available
...
Refactor Sensors available
2019-08-16 18:30:45 +02:00
Theo Arends
26d331501b
Add embedded sensor numbering to Status 4
...
Add embedded sensor numbering to Status 4
2019-08-16 17:48:05 +02:00
Theo Arends
b5f290b4a2
Change display ledtable location from RAM to flash
...
Change display ledtable location from RAM to flash
2019-08-16 17:29:19 +02:00
Theo Arends
c61f2cc5ec
Refactor WebSensor
...
Refactor WebSensor
2019-08-16 16:54:36 +02:00
Theo Arends
9746489380
Bump version to 6.6.0.5
...
* Add command WebSensor<sensor number> 0/1 to control display of sensor data in web GUI (#6085 )
* Change some table locations from RAM to Flash
2019-08-16 16:12:33 +02:00
Theo Arends
0e4d4a889a
Refactor Energy code saving space
...
Refactor Energy code saving space
2019-08-16 14:41:02 +02:00
gemu2015
807aff4675
subscribe with strings, smal bug fixes
2019-08-16 07:37:16 +02:00
caphm
7e0ae16c4f
Add MAC address to Home Assistant Discovery Message, fixes #6226
2019-08-15 14:35:13 +02:00
Theo Arends
697ec3fc7f
Refactor code saving code space
...
Refactor code saving code space
2019-08-15 13:50:28 +02:00
Theo Arends
a85588aa3d
Add support for PAJ7620 gesture sensor by Christian Baars
...
Add support for PAJ7620 gesture sensor by Christian Baars
2019-08-15 11:34:35 +02:00
Theo Arends
c9d271802f
Update sonoff_post.h
2019-08-15 11:26:30 +02:00
Staars
578b89c9de
remove #define USE_PAJ7620 from driver code
2019-08-15 11:20:53 +02:00
Staars
458e8c60c0
add support for PAJ7620 gesture sensor
2019-08-15 10:20:14 +02:00
Theo Arends
741ad7c26a
Merge pull request #6227 from shantur/development
...
Tuya Dimmer fixes
2019-08-14 16:47:40 +02:00
Theo Arends
78c61031da
Merge pull request #6228 from shantur/tuya-dimmer-min-limit
...
Tuya Dimmer: Make dimmer lower limit optional.
2019-08-14 16:42:01 +02:00
Theo Arends
82622e1c1a
Keep defaults
2019-08-14 16:41:45 +02:00
Ivan Kravets
982480b012
Remove non-ASCII symbols
...
Causes issue on Windows OS
2019-08-14 17:27:51 +03:00
Shantur Rathore
0235bc0f8c
Tuya Dimmer: Make dimmer lower limit optional.
...
Not all Tuya dimmers have a lower limit of 10% (25)
2019-08-14 14:52:37 +01:00
Shantur Rathore
f08e7ff5df
tuya-dimmer: Fix dimmer skipping power/dimmer commands
...
This tuya dimmer mcu sends data for multiple dimmer ids which breaks `tuya_ignore_dim` logic and sometimes when `power on` is sent its blocked due to multiple serial commands being sent at the same time. This patch makes sure we send dimmer commands only when we need to.
Bug is explained in https://github.com/arendst/Sonoff-Tasmota/issues/6215#issuecomment-521191828
2019-08-14 14:32:52 +01:00
Stephan Hadinger
8661a2ead6
Change ToHex to ToHex_P PROGMEM compatible
2019-08-13 19:53:12 +02:00
Theo Arends
09f8a7967e
Minor Refactor
...
Minor Refactor
2019-08-13 17:33:35 +02:00
Theo Arends
e2040b70de
Refactor Sonoff Bridge
...
Refactor Sonoff Bridge
2019-08-13 16:10:47 +02:00
Theo Arends
72baffdf81
Refactor Counter and Dht code
...
Refactor Counter and Dht code
2019-08-13 14:52:46 +02:00
Theo Arends
52ccc2e7da
Change buzzer tune to more user friendly input by swapping input
...
Change buzzer tune to more user friendly input by swapping input
2019-08-13 11:40:34 +02:00
Adrian Scillato
2d1a1b6b14
Updated Spanish Translation
2019-08-12 16:00:48 -03:00
Theo Arends
efb1908fff
Add buzzer parameter tune
...
Add buzzer parameter tune
2019-08-12 18:20:32 +02:00
Theo Arends
d053767e2e
Update features
...
Update features
2019-08-12 17:28:09 +02:00
Theo Arends
23ec00a452
Add command Buzzer
...
Add command Buzzer with optional parameters <number of beeps>,<duration of beep in 100mS steps>,<duration of silence in 100mS steps> enabled when a buzzer is configured (#5988 )
2019-08-12 17:18:08 +02:00
Jason2866
01bfdb0971
Update de-DE.h
2019-08-12 16:35:41 +02:00
Andrzej Raczkowski
6002f7930b
Update for pl-PL.h added translation for templates
2019-08-12 09:33:19 +02:00
Theo Arends
2d0143623d
Refactor commands by processing optional prefix
...
Refactor commands by processing optional prefix
2019-08-11 18:12:18 +02:00
Theo Arends
305cb8fd7e
Refactor commands
...
Refactor commands
2019-08-11 15:18:11 +02:00
Theo Arends
01ca5f5cfb
Refactor code
...
Refactor code
2019-08-10 18:12:25 +02:00
Theo Arends
03c54dab3e
Add USE_ZIGBEE to features and update decode-status.py to accomodate future features
...
Add USE_ZIGBEE to features and update decode-status.py to accomodate future features
2019-08-10 17:52:26 +02:00
Theo Arends
5f236561b1
Change ToHex default inbetween to no character
...
Change ToHex default inbetween to no character
2019-08-10 17:34:59 +02:00
Theo Arends
52a2da28ac
Add function ToHex to support.ino
...
Add function ToHex to support.ino
2019-08-10 13:31:05 +02:00
Erik
0c8c62a857
Adjust on_cmd_type according to SetOption20
2019-08-10 11:17:37 +02:00
Theo Arends
9632ba7b1c
Merge pull request #6199 from s-hadinger/zigbee_low_level
...
Add Zigbee support phase 1 - low level MQTT ZNP messages for CC2530 devices
2019-08-10 09:22:20 +02:00
localhost61
5623a87136
Update fr-FR to v6.6.0.4 (SolaX X1)
2019-08-10 00:49:16 +02:00
Stephan Hadinger
c9139514d0
Add ZigBee support phase 1 - low level MQTT ZNP messages for CC2530 devices
2019-08-09 22:52:33 +02:00
Theo Arends
4f40084c69
Hide debug info
...
Hide debug info
2019-08-09 17:34:22 +02:00
Theo Arends
d7e80b4bb6
Fix correct debug type
...
Fix correct debug type
2019-08-09 16:48:53 +02:00
Theo Arends
618ad75b64
Update language files
...
Update language files
2019-08-09 16:43:51 +02:00
Theo Arends
e0f08ec764
Add support for Solax X1 inverter by Pablo Zerón
...
Add support for Solax X1 inverter by Pablo Zerón
2019-08-09 16:42:16 +02:00
Theo Arends
6417444521
Merge pull request #6196 from pablozg/development
...
Initial Support Solar Solax X1 Inverters
2019-08-09 14:46:59 +02:00
Theo Arends
3c166dec2c
Add negative window offset when time is set within midnight minus window and midnight
...
Add negative window offset when time is set within midnight minus window and midnight
2019-08-09 14:07:35 +02:00
Theo Arends
39cfe4c7e2
Move webserver debug from driver to core
...
Move webserver debug from driver to core
2019-08-09 14:05:12 +02:00
pablozg
4702fadfdc
Fix: added missing define sensor in NL and UK
2019-08-09 13:55:15 +02:00
pablozg
29497f7ac6
Initial Support Solax X1 Inverters
2019-08-09 12:56:01 +02:00
Theo Arends
62a516c3f2
Add some debug info
...
Add some debug info
2019-08-08 18:14:36 +02:00
Theo Arends
a1a6590715
Make some log messages compile dependant
...
Make some log messages compile dependant
2019-08-08 17:51:49 +02:00
Theo Arends
27efc08d2c
Add define DEBUG_TASMOTA_CORE
...
Add define DEBUG_TASMOTA_CORE
2019-08-08 16:24:11 +02:00
Theo Arends
7336b2807f
Add debug compile features using defines DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR. See example in xdrv_09_timers.ino
...
Add debug compile features using defines DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR. See example in xdrv_09_timers.ino (#6186 )
2019-08-08 15:17:39 +02:00
Theo Arends
301f2c626d
Merge pull request #6189 from gemu2015/mp3-fix
...
Update xdrv_14_mp3.ino
2019-08-08 08:36:06 +02:00
gemu2015
50dab11933
Update xdrv_14_mp3.ino
2019-08-08 08:28:59 +02:00
Theo Arends
8eb87a00d6
Extent feature list for future use
...
Extent feature list for future use
2019-08-07 12:56:32 +02:00
Theo Arends
2f6b88cb4d
Extent sensor list
...
Extent sensor list
2019-08-07 12:18:59 +02:00
Theo Arends
afb39aa680
Add support for CHIRP soil moisture sensor by Christian Baars
...
Add support for CHIRP soil moisture sensor by Christian Baars
2019-08-07 12:08:13 +02:00
Theo Arends
1333d3b444
Default disable for now
2019-08-07 11:29:19 +02:00
Staars
370e2b0920
move debug text msg to PROGMEM
2019-08-07 08:35:42 +02:00
Staars
eb66e155fa
use uint32_t in for-loops
2019-08-07 08:28:33 +02:00
Staars
88a61ea49d
remove/move #defines
2019-08-07 08:24:24 +02:00
Staars
ef2556dfaf
initial commit chirp sensor
2019-08-06 21:48:55 +02:00
Stephan Hadinger
ed5f368d65
Version 6.6.0.4
2019-08-06 19:57:46 +02:00
Stephan Hadinger
81ca44dba2
Add SetOption68 to enable multi-channel PWM instead of a single light ( #6134 )
2019-08-06 10:57:50 +02:00
Theo Arends
d6e475e73a
Add command FlashDump when debug is enabled
...
Add command FlashDump when debug is enabled
2019-08-05 16:45:13 +02:00
Stephan Hadinger
a2b8f783c4
Removed float conversion and used changeUIntScale instead
2019-08-05 14:24:50 +02:00
gemu2015
fbe4e51958
scripter expression brackets
2019-08-05 13:01:23 +02:00
Theo Arends
427c4aca79
Fix AWS exceptions and make flash location relative to flash size
...
Fix AWS exceptions and make TLS flash location relative to flash size (#6179 )
2019-08-05 12:15:15 +02:00
Stephan Hadinger
a50a6eff61
Change Store AWS IoT Private Key and Certificate in SPI Flash avoiding device-specific compilations
2019-08-04 19:42:21 +02:00
Theo Arends
23185218e6
Merge pull request #6178 from s-hadinger/irsendraw_repeat
...
Add inter-message gap for IRSend raw
2019-08-04 18:24:05 +02:00
Stephan Hadinger
0a6545fd6f
Add inter-message gap for IRSend raw
2019-08-04 18:12:22 +02:00
Theo Arends
7ff13f4fd5
Add rule/script trigger to Hue color or dimmer change
...
Add rule/script trigger to Hue color or dimmer change (#6085 )
2019-08-04 17:48:21 +02:00
Stephan Hadinger
b56f0a6aa1
IRSend handle index=0
2019-08-04 12:45:17 +02:00
Stephan Hadinger
c10b236831
Add allow repeat/longpress for IRSend raw, introduced IRSend<r> option ( #6074 )
2019-08-04 12:37:01 +02:00
Theo Arends
abee4e8bd4
Refactor Debug command
...
Refactor Debug command
2019-08-03 15:25:16 +02:00
Theo Arends
a756914fb6
Refactor Domoticz command
...
Refactor Domoticz command
2019-08-03 15:24:00 +02:00
Theo Arends
a0a9a5b0e0
Refactor display command
...
Refactor display command
2019-08-03 14:46:34 +02:00
Theo Arends
e5ecffe4dd
Refactor commands
...
Refactor commands
2019-08-03 13:01:34 +02:00
Theo Arends
e10689fac3
Refactor Knx commands
...
Refactor Knx commands
2019-08-02 18:33:38 +02:00
Theo Arends
4d9b53bc1a
Refactor Display commands
...
Refactor Display commands
2019-08-02 17:22:38 +02:00
Theo Arends
d1b726ee10
Fix commands DisplayMode, Width and Height output
...
Fix commands DisplayMode, Width and Height output (#6171 )
2019-08-02 16:37:48 +02:00
Theo Arends
908b9ca74a
Refactor Rules commands
...
Refactor Rules commands
2019-08-02 16:23:17 +02:00
Theo Arends
8f2ddea708
Refactor Timer commands
...
Refactor Timer commands and fix random time trigger around midnight (#6169 )
2019-08-02 15:13:51 +02:00
Theo Arends
8875787935
Refactor IrRemote commands
...
Refactor IrRemote commands
2019-08-02 14:23:41 +02:00
Stephan Hadinger
e77dc3eecf
Increased Web command size
2019-08-01 22:59:12 +02:00
Theo Arends
49f8b4922f
Refactor Serial Bridge commands
...
Refactor Serial Bridge commands
2019-08-01 17:33:44 +02:00
Theo Arends
2d90955026
Refactor Domoticz Commands
...
Refactor Domoticz Commands
2019-08-01 17:18:49 +02:00
Theo Arends
7e05984a11
Refactor Sonoff Bridge commands
...
Refactor Sonoff Bridge commands
2019-08-01 16:38:52 +02:00
Theo Arends
c7f810da54
Refactor Light commands
...
Refactor Light commands
2019-08-01 15:47:00 +02:00
Theo Arends
714f938c05
Refactor energy commands
...
* Refactor energy commands
* Add define USE_ENERGY_MARGIN_DETECTION to disable Energy Margin and Power Limit detection
* Add define USE_ENERGY_POWER_LIMIT to disable Energy Power Limit detection while Energy Margin detection is active
2019-08-01 15:46:12 +02:00
Theo Arends
aa88295d41
Update feature lists
...
Update feature lists
2019-08-01 15:42:58 +02:00
Stephan Hadinger
c93a03f1d0
Add MqttCount metric to STATE ( #6155 )
2019-07-31 19:34:23 +02:00
Theo Arends
781cf69933
Add disable option to Width
...
Add option 0 to Width1 (Marker), Width2 (Second), Width3 (Minute) and Width4 (Hour) disabling display (#6152 )
2019-07-31 16:59:12 +02:00
Theo Arends
d1314424fd
Merge pull request #6148 from AlbertoLopSie/max31865-pr
...
Max31865 RTD to Digital support, PT100/PT1000
2019-07-31 09:41:27 +02:00
Alberto Lopez
6b4f0fd8ec
Added check for USE_SPI enabled
...
Reset MAX31865_PTD_BIAS to 0 by default
2019-07-30 20:20:17 -03:00
Alberto Lopez
bc95f11c99
Added missing #define MAX31865_PTD_BIAS lost in branch switching
2019-07-30 15:38:40 -03:00
Alberto Lopez
509b9c6dea
Commented USE_SPI and USE_MAX31865 by default. Fixed bad struct member usage.
2019-07-30 12:57:08 -03:00
Alberto Lopez
60198127ba
Added Adafruit MX31865 Library to Repo
...
Added a #define to compensate for low quality PTD probes
2019-07-29 17:54:28 -03:00
Alberto Lopez
2b4d2f5bba
Added configuration variables as #defines in my_user_config.h
...
Code in driver changed to se new config vars.
2019-07-29 12:44:49 -03:00
Stephan Hadinger
372aecd353
Upgrade library IRRemoteEsp8266 to 2.6.4, now using sendPioneer()
2019-07-29 09:28:40 +02:00
Alberto Lopez
475f208cdc
All code moved to new file (xsnx_47_max31865.ino)
...
Code streamlined. Unused code deleted.
New "Resistance" string added to i18n to report PTD reported resistance
USE_SPI enabled in my_user_config.h
2019-07-28 19:36:22 -03:00
Theo Arends
50e0de0dd5
Refactor Web commands
...
Refactor Web commands
2019-07-28 17:57:09 +02:00
Theo Arends
765a625e5a
Merge pull request #6143 from gemu2015/scripter-update
...
hexadecimal numbers, ws2812(array)
2019-07-28 17:54:55 +02:00
Theo Arends
13a618634e
Refactor MQTT commands
...
Refactor MQTT commands
2019-07-28 17:14:20 +02:00
gemu2015
4a23d6ac78
hexadecimal numbers, ws2812(array)
2019-07-28 17:10:55 +02:00
Theo Arends
a3e12dd3c8
Code optimization
...
Code optimization
2019-07-28 13:54:52 +02:00
Alberto Lopez
c2ad3d8264
Initial commit
...
Working fine with MAX3165 and a PT100 probe.
Using a modified version of Adafruit MAX31865 library. Added a default
constructor in order to allow lazy initialization once GPIO definitions
were loaded.
Tested on a Sonoff TH PCB Board 2.1 2018-06-15 using the following GPIO
mapping:
GPIO Orig Func SSPI I/O HEADER HEADER2 S-JACK
15 BOOT MODE CLK O 1
14 MISO I 2 TIP
4 MOSI O 3 RING1
VCC 1 VCC 4 RING3
2 DBG BOOT ~CS O 5 EXP-LOG
GND 4 GND RING2
HEADER2 is a 4-pin .1 header glued in the middle of the PCB to connect
to several GPIO locations on the Sonoff TH PCB.
TODO: Merge with MAX31855 code.
2019-07-27 19:58:17 -03:00
Theo Arends
89783d0b61
Fix config restore CRC error
...
Fix config restore CRC error
2019-07-27 18:55:20 +02:00
Theo Arends
fde53117d6
Space saving code optimization
...
Space saving code optimization
2019-07-27 18:37:56 +02:00
Theo Arends
37b1c25881
Refactor core command structure
...
Refactor core command structure
2019-07-27 11:13:41 +02:00
Theo Arends
ff909baa69
Refactor ADC commands
...
Refactor ADC commands
2019-07-26 10:43:30 +02:00
Theo Arends
9bcba3772e
Refactor Counter commands
...
Refactor Counter commands
2019-07-26 10:21:36 +02:00
Theo Arends
cc9d7bb8e9
Refactor MQTT pre-processing
...
Refactor MQTT pre-processing
2019-07-26 09:52:14 +02:00
Theo Arends
250c991c97
6.6.0.3 - Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues
...
Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues (#2422 )
2019-07-25 14:18:28 +02:00
Theo Arends
c2413a2256
Housekeeping
...
Housekeeping
2019-07-24 13:09:42 +02:00
Theo Arends
398a72d128
Remove command code from sonoff.ino and introduce support_command.ino
...
Remove command code from sonoff.ino and introduce support_command.ino
2019-07-24 11:55:58 +02:00
Theo Arends
996c01858c
Update _changelog.ino
...
Change commands Var and Mem to show all parameters when no index is given (#6107 )
2019-07-24 11:12:49 +02:00
Theo Arends
1068d59a63
Extent commands Var and Mem with option to show all parameters at once
...
Extent commands Var and Mem with option to show all parameters at once (#6107 )
2019-07-24 11:10:15 +02:00
Bohdan Kmit
bb632ae023
Increase temporary variable size to fit utf-8 strings
2019-07-24 00:19:27 +03:00
Bohdan Kmit
f184f64e90
Increase temporary variable size to fit utf-8 strings
2019-07-23 23:59:23 +03:00
Bohdan Kmit
223a9ee283
Ukrainian translation fixes
2019-07-23 23:36:28 +03:00
Bohdan Kmit
7b6850e6be
Fix logic for choosing default display size
2019-07-23 23:29:51 +03:00
Theo Arends
fdda0429d6
Add control of WifiConfig when power ON is pressed for over 5 seconds or single press
...
Add control of WifiConfig when power ON is pressed for over 5 seconds or single press
2019-07-23 14:40:33 +02:00
Theo Arends
546653a8f2
Add display features
...
* Add command DisplayWidth to set pixel width on supported devices
* Add command DisplayHeight to set pixel height on supported devices
* Add Oled reset GPIO option "OLED reset"
2019-07-23 14:05:42 +02:00
Theo Arends
af4dd080c5
Fix possible IRSend input corruption
...
Fix possible IRSend input corruption
2019-07-23 10:22:14 +02:00
gemu2015
7294241037
Update xdrv_10_scripter.ino
2019-07-23 07:04:37 +02:00
gemu2015
00c2cabb62
scripter update
2019-07-23 07:01:17 +02:00
Stephan Hadinger
752582310d
Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into fix_6100
2019-07-22 19:27:30 +02:00
Stephan Hadinger
6ec634c695
Fix send IRSend for Pioneer devices ( #6100 )
2019-07-22 19:27:03 +02:00
Theo Arends
d91f5ae343
Update Sonoff L1 template
...
Update Sonoff L1 template
2019-07-22 18:21:25 +02:00
Theo Arends
ce13c0cf8f
Add support for optional IRHVAC Midea/Komeco protocol
...
Add support for optional IRHVAC Midea/Komeco protocol (#3227 )
2019-07-21 18:06:13 +02:00
Theo Arends
0e7cef7426
Make IRsend and IRhvac protocols optional
...
Make IRsend and IRhvac protocols optional
2019-07-21 16:03:20 +02:00
gajotnt
8d7ce366c9
Update my_user_config.h
...
Corrected the defined baudrate of the SDM120 to the correct one (2400)
2019-07-18 12:09:50 +00:00
Theo Arends
43c67808a0
Update iFan03 template info
...
Update iFan03 template info
2019-07-16 17:32:49 +02:00
gemu2015
b0979f6ef3
scripter update
2019-07-16 16:50:52 +02:00
Stephan Hadinger
0df4a888d5
Support IRSend long press ('repeat' feature from IRRemoteESP8266) ( #6074 )
2019-07-15 09:22:07 +02:00
Theo Arends
22b47fb89b
Fix sending "+" with websend
...
Fix sending "+" with websend (#6094 )
2019-07-14 22:25:13 +02:00
Theo Arends
d77017fd74
Add option to disable support for module Sonoff iFan at compile time
...
Add option to disable support for module Sonoff iFan at compile time (#6093 )
2019-07-14 22:08:19 +02:00
Theo Arends
a053a2cc4a
Refactor iFan code
...
Refactor iFan code
2019-07-14 18:17:34 +02:00
Theo Arends
a68d11c676
Optimize iFan fan sequencing
...
Optimize iFan fan sequencing
2019-07-14 16:26:02 +02:00
Theo Arends
49022d0320
6.6.0.2 Add support for Sonoff iFan03 as module 71
...
Add support for Sonoff iFan03 as module 71 (#5988 )
2019-07-14 15:23:02 +02:00
Theo Arends
3c98acea65
Add buzzer to language files
...
Add buzzer to language files
2019-07-14 14:27:23 +02:00
Stephan Hadinger
6f02bad381
Xiaomi Philips brightness ( #6091 )
2019-07-14 14:10:38 +02:00
Stephan Hadinger
791e33f81a
Fix WeMo emulation for 1G echo and 2G echo dot ( #6086 )
2019-07-13 16:31:53 +02:00
Theo Arends
0bb0f06982
Update _changelog.ino
2019-07-12 13:42:48 +02:00
Theo Arends
fa0315f1f4
Merge pull request #6046 from burundiocibu/multi-219
...
Added support for multiple INA219 devices on single I2C bus
2019-07-12 13:36:35 +02:00
Theo Arends
8a98437761
Merge pull request #6076 from thirug010/development
...
Updated Code for Issue #6066- Dimmer Value not equal to Rx Dim State
2019-07-12 12:21:02 +02:00
Theo Arends
3d52619593
Update _changelog.ino
2019-07-12 12:18:25 +02:00
Stephan Hadinger
51740acd8b
Fix Force Elliptic Curve for Letsencrypt TLS #6042
2019-07-12 08:11:40 +02:00
thirug010
943dc524ea
Update Code for Issue #6066- Dimmer Value not equal to Rx Dim State #
...
Change Summary
1. Added Option to select Dimmer Range (1-100 and 1-255) through SetOption66 (default is 1-100 for legacy device support
2. Updated Dimmer code to set range based on the option66 100 / 225
2019-07-11 22:28:08 -05:00
Theo Arends
c4dbde6306
Quicker restore to NTP when forced
...
Quicker restore to NTP when forced
2019-07-11 15:15:49 +02:00
Theo Arends
c3d2937f22
Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP
...
Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP (#5279 )
2019-07-11 14:59:28 +02:00
Theo Arends
64521b42b6
Add Epoch and UptimeSec to JSON messages
...
Add Epoch and UptimeSec to JSON messages (#6068 )
2019-07-11 14:09:42 +02:00
Theo Arends
a439ef9f0e
Workaround invalid detection of SHT3x sensors
...
Workaround invalid detection of SHT3x sensors (#6067 )
2019-07-11 10:56:12 +02:00
Jason2866
74afa790cf
Disable TX20 wind sensor
...
Just disabling RC switch is NOT enough for successfull compiling with stage/core!!
2019-07-10 18:34:08 +02:00
Theo Arends
bc3c5a8acf
Merge pull request #6061 from ascillato/patch-2
...
SCD30 - Added temp and hum for domoticz
2019-07-10 18:18:55 +02:00
Adrian Scillato
5a8236c876
SCD30 - Added temp and hum for domoticz
2019-07-10 12:56:18 -03:00
Adrian Scillato
64123a5cd8
Disable USE_RC_SWITCH by default ...
...
in order to compile with latest Stage Core.
The USE_RC_SWITCH driver uses too much iram for the latest core.
2019-07-10 12:46:46 -03:00
Adrian Scillato
7b25271735
Removed outdated comment
2019-07-09 11:28:25 -03:00
Theo Arends
992afd4b05
Fix compile warning
...
Fix compile warning
2019-07-09 12:26:45 +02:00
Theo Arends
4081e63396
Keep rules the default
2019-07-09 10:48:03 +02:00
gemu2015
97ff82ce9a
update scripter for 2.52 FAT
2019-07-09 10:20:11 +02:00
Jon Little
ad294e6b01
Added support for multiple INA219 devices on single I2C buss.
2019-07-08 20:55:48 -05:00
Adrian Scillato
4f880f8039
Commented out USE_SCRIPT_FATFS
...
and added comments of limitations
2019-07-08 21:50:27 -03:00
Theo Arends
27ac431576
Merge pull request #6034 from adebeun/development
...
Implemented automatic setting of clock display from network time.
2019-07-08 21:05:52 +02:00
Adrian Scillato
ff2d2357a9
Fix Scheme 4 ( #6038 )
2019-07-08 16:00:22 -03:00
Arthur de Beun
cc98a45185
Undo change.
2019-07-09 06:52:15 +12:00
Theo Arends
ecd288f32f
Fix scripter core 2.3.0 related compile errors
...
Fix scripter core 2.3.0 related compile errors (#6045 )
2019-07-08 17:52:02 +02:00
Theo Arends
da7ab3274b
Fix setting default over temperature
...
Fix setting default over temperature
2019-07-08 16:50:23 +02:00
Theo Arends
0243e2be7e
Add command SetOption42 0..255 to set over temperature in Celsius. Defaults to 90
...
Add command SetOption42 0..255 to set over temperature in Celsius. Defaults to 90 (#6036 )
2019-07-08 14:16:33 +02:00
Theo Arends
57310a7699
Fix Domoticz battery level at 200 when ADC voltage reading is disabled
...
Fix Domoticz battery level at 200 when ADC voltage reading is disabled (#6033 )
2019-07-08 12:52:26 +02:00
Theo Arends
86314e24e5
Fix ambiguous Tuya set relay option by adding command SetOption41 allowing to control number of virtual relays
...
Fix ambiguous Tuya set relay option by adding command SetOption41 allowing to control number of virtual relays (#6039 )
2019-07-08 12:42:46 +02:00
Theo Arends
e67b27b0a3
Fix possible exception when irreceive is not initialised
...
Fix possible exception when irreceive is not initialised
2019-07-08 12:24:31 +02:00
Arthur de Beun
21f2cc93c4
Add automatic setting of clock display from network time for AZ7798
2019-07-08 06:56:26 +12:00
Arthur de Beun
a42c13d8e5
Implemented automatic setting of clock display from network time.
2019-07-07 22:26:56 +12:00
Stephan Hadinger
eaf5dbd36c
Add blend RGB leds with White leds for better whites #5895 #5704
2019-07-07 10:15:50 +02:00
Theo Arends
c3584cc8ed
Bump version to v6.6.0
...
Bump version to v6.6.0
2019-07-06 15:15:29 +02:00
Theo Arends
b76b5f35c3
Extent some char buffers to accomodate UTF-16 character sets
...
Extent some char buffers to accomodate UTF-16 character sets (#6026 )
2019-07-06 12:53:07 +02:00
Theo Arends
b73b40ee11
Remove hourly uptime message
...
Remove hourly uptime message
2019-07-05 12:05:34 +02:00
Theo Arends
99f680da57
Add NTP drift information
...
Add NTP drift information
2019-07-05 11:47:13 +02:00
Theo Arends
c36f93987c
Final fix
...
Final fix
2019-07-04 13:43:27 +02:00
Theo Arends
b3f3468880
Fix compile error
...
Fix compile error (#6017 )
2019-07-04 13:29:53 +02:00
Theo Arends
aa1af61bc8
Fix Shelly 2.5 invalid energy measurement
...
Fix Shelly 2.5 invalid energy measurement (#5968 )
2019-07-04 10:36:38 +02:00
Adrian Scillato
48fe21604e
Fix SDM630 Energy Value to Domoticz
2019-07-03 19:01:12 -03:00
Adrian Scillato
4391aa07fe
Fix SDM120 Energy Value to Domoticz
...
Fix SDM120 Energy Value to Domoticz (https://github.com/arendst/Sonoff-Tasmota/issues/6015 )
2019-07-03 18:56:06 -03:00