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
Theo Arends
52a2da28ac
Add function ToHex to support.ino
...
Add function ToHex to support.ino
2019-08-10 13:31:05 +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
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
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
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
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
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
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
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
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
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
Bohdan Kmit
223a9ee283
Ukrainian translation fixes
2019-07-23 23:36:28 +03:00
Theo Arends
af4dd080c5
Fix possible IRSend input corruption
...
Fix possible IRSend input corruption
2019-07-23 10:22:14 +02:00
Stephan Hadinger
6ec634c695
Fix send IRSend for Pioneer devices ( #6100 )
2019-07-22 19:27:03 +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
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
Stephan Hadinger
51740acd8b
Fix Force Elliptic Curve for Letsencrypt TLS #6042
2019-07-12 08:11:40 +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
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
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
Adrian Scillato
4f880f8039
Commented out USE_SCRIPT_FATFS
...
and added comments of limitations
2019-07-08 21:50:27 -03:00
Theo Arends
169718aa5c
Refactor Sonoff L1 support
...
Refactor Sonoff L1 support
2019-07-02 12:26:04 +02:00
Theo Arends
cc46e2e625
Add support for Sonoff L1 thanks to reef-actor
...
Add support for Sonoff L1 thanks to reef-actor (#6002 )
2019-07-02 10:54:30 +02:00
Theo Arends
bcaafd7413
Change ADE7953 energy update code and add debug information
...
Change ADE7953 energy update code and add debug information (#5968 )
2019-06-21 14:31:08 +02:00
Stephan Hadinger
4413a757d8
TLS+AWS IoT optimization for speed, code and memory footprint
2019-06-19 09:49:48 +02:00
Theo Arends
5f3be7ca87
Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
...
Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
2019-06-16 17:03:41 +02:00
Theo Arends
12da2fd6f9
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
...
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
2019-06-16 16:43:23 +02:00
Jason2866
53460ec306
Disable some sensors by default
...
Disable rarely used sensors in standard build
2019-06-15 11:42:32 +02:00
gemu2015
a86d579746
Update my_user_config.h
2019-06-15 06:14:51 +02:00
Theo Arends
9d706c9864
Start using optional ES6 saving code space
...
Start using optional ES6 saving code space
2019-06-12 17:32:25 +02:00
Theo Arends
2e7c72724d
Fix Arduino compile errors
...
Fix Arduino compile errors
2019-06-11 17:48:53 +02:00
Theo Arends
2b5c691041
6.5.0.16 Refactor TLS and Add visibility toggle to GUI password
...
6.5.0.16 20190611
* Refactored TLS based on BearSSL, warning breaking change for fingerprints validation (see doc)
* Add checkbox to GUI password field enabling visibility during password entry only (#5934 )
2019-06-11 14:30:07 +02:00
Stephan Hadinger
0f43764aa0
Re-enabling USE_DISCOVERY, mistakenly disabled in the first place
2019-06-10 20:45:36 +02:00
Stephan Hadinger
844840a851
Added TLS CA validation option as an alternative to Fingerprint validation
2019-06-10 19:58:57 +02:00
Stephan Hadinger
006462f17e
Refactored TLS based on BearSSL - cleaned
2019-06-10 12:06:03 +02:00
Theo Arends
6a5ea7a9c6
Add support for AWS IoT with TLS 1.2 on core 2.5.2
...
Add support for AWS IoT with TLS 1.2 on core 2.5.2
2019-06-06 14:40:59 +02:00
Stephan Hadinger
72c47c667a
Added link to AWS IoT documentation
2019-06-05 22:39:54 +02:00
Stephan Hadinger
bc3d0add4c
Support for AWS IoT via TLS 1.2
2019-06-05 11:44:52 +02:00
Theo Arends
86a606dd90
Update my_user_config.h
...
Keep rules the default
2019-05-30 14:18:22 +02:00
gemu2015
66dfbb5982
Update my_user_config.h
2019-05-30 13:56:21 +02:00
gemu2015
7505f7dd64
Update my_user_config.h
2019-05-30 13:34:48 +02:00
Stephan Hadinger
f2731d6128
Updated code size impact for #define USE_DISCOVERY on core 2_5_x
2019-05-29 19:34:52 +02:00
Theo Arends
22663fc10c
6.5.0.13 Add command SetOption38 6..255
...
6.5.0.13 20190527
* Add command SetOption38 6..255 to set IRReceive protocol detection sensitivity mimizing UNKNOWN protocols (#5853 )
2019-05-27 11:56:14 +02:00
Theo Arends
dc1bf2ff03
Add support for VL53L0x time of flight sensor. Might interfere with TSL2561 using same I2C address ( #5845 )
...
Add support for VL53L0x time of flight sensor. Might interfere with TSL2561 using same I2C address (#5845 )
2019-05-22 13:39:26 +02:00
gemu2015
85d8fc7693
Update my_user_config.h
2019-05-22 13:23:21 +02:00
gemu2015
720eeef0eb
some fixes
2019-05-21 06:52:01 +02:00
gemu2015
c3fd4b4cab
update sps30
2019-05-21 06:44:44 +02:00
Theo Arends
d599f21758
Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE
...
* Remove define USE_EMULATION from my_user_config.h (#5826 )
* Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE to my_user_config.h to control emulation features at compile time (#5826 )
2019-05-20 15:09:42 +02:00
Stephan Hadinger
3c13310664
Replace powf() with FastPrecisePow(), saves 4KB of code
2019-05-18 15:59:40 +02:00
Theo Arends
dc3d0aea94
Add initial support for Scripts
...
Add initial support for Scripts as replacement for Rules. Default disabled but can be enabled in my_user_config.h (#5689 )
2019-05-18 13:34:52 +02:00
Theo Arends
520643d17e
Update my_user_config.h
...
Default disable script for legacy reason
2019-05-18 12:21:09 +02:00
gemu2015
ba41a2ada5
update scripter
2019-05-18 09:45:04 +02:00
Theo Arends
6177787744
Revert "6.5.0.11 Change sensor names using a minus"
...
This reverts commit 61c59fa4b9
.
2019-05-17 14:06:36 +02:00
Theo Arends
61c59fa4b9
6.5.0.11 Change sensor names using a minus
...
6.5.0.11 20190517
* Add user define INDEX_SEPARATOR to control Sensor Name index character which was fixed to "-" (minus) but is now changed to "_" (underscore) for future support.
* This change impacts DS18X20, DHT, BMP and SHT3X sensor names.
2019-05-17 12:07:37 +02:00
Theo Arends
ad54ece2fb
6.5.0.10 Enable ADC0 by default
...
6.5.0.10 20190513
* Enable ADC0 by default in my_user_config.h (#5671 )
* Add user configurable ADC0 to Module and Template configuration compatible with current FLAG options (#5671 )
2019-05-13 15:56:01 +02:00
Stephan Hadinger
4cf156cbdc
Updated code size for USE_EMULATION
2019-05-07 09:37:10 +02:00
Theo Arends
6adb513cd6
Add Shelly 2.5 Energy Monitoring ( #5592 )
...
Add Shelly 2.5 Energy Monitoring (#5592 )
2019-04-14 18:20:24 +02:00
Theo Arends
df6645481e
6.5.0.7 Add command LedMask
...
6.5.0.7 20190410
* Add command LedMask to assign which relay has access to power LED (#5602 , #5612 )
2019-04-10 14:26:36 +02:00
Theo Arends
3e3610efdc
Consolidate Timer Active Tab Text color to Text color
...
Consolidate Timer Active Tab Text color to Text color eliminating command WebColor19
2019-04-09 10:24:00 +02:00
Theo Arends
79f2dff760
Move and document WebColor within my_user_config.h
...
Move and document WebColor within my_user_config.h
2019-04-09 09:37:29 +02:00
Theo Arends
7f903ac736
Only allow hex color values for future use
...
- Only allow hex color values (for future use)
- Change css background-color to background (saving code space)
2019-04-07 16:58:23 +02:00
Theo Arends
387e3c5f99
Add more compile time GUI color options
...
Add more compile time GUI color options (#5586 )
2019-04-06 19:19:46 +02:00
Theo Arends
43a61b3e24
6.5.0.5 Add compile time GUI color options
...
6.5.0.5 20190406
* Add compile time GUI color options (#5586 )
2019-04-06 18:25:26 +02:00
Theo Arends
5e1cbcf94f
Make MI Desk Lamp optional
...
Make MI Desk Lamp optional
2019-04-05 15:27:06 +02:00
Jason2866
82ef09b684
Make MI Desk Lamp default off
...
Mi Desk Lamp can be activated in my_user_config.h by setting uncommenting //#define ROTARY_V1
2019-04-05 08:41:26 +02:00
Theo Arends
7f590e62f3
Change Spanish Argentina to Spanish Spain ( #5565 )
...
Change Spanish Argentina to Spanish Spain (#5565 )
2019-04-01 17:41:47 +02:00
Theo Arends
64ab5d95e5
Add optional support for Badger HR-E Water Meter
...
Add optional support for Badger HR-E Water Meter (#5539 )
2019-03-28 11:14:09 +01:00
Theo Arends
ca5c3d1eeb
6.4.2.22 Remove support for MQTT_LIBRARY_TYPE
...
6.4.2.22 20190315
* Remove support for MQTT_LIBRARY_TYPE, MQTT_ARDUINOMQTT and MQTT_TASMOTAMQTT (#5474 )
2019-03-15 14:29:47 +01:00
Theo Arends
37e1b31937
Add support for sensor SCD30
...
* Add support for sensor SCD30 (#5434 )
* Add support for commands in sensor drivers
2019-03-10 13:33:32 +01:00
Theo Arends
cfcf125b7e
Default disable new rule features
...
Default disable rule USE_EXPRESSION and SUPPORT_MQTT_EVENT (#5369 )
2019-03-07 17:47:14 +01:00
Theo Arends
5871c7ebae
Add Korean language translations
...
Add Korean language translations (#5344 )
2019-02-26 10:16:56 +01:00
Theo Arends
813d2fd3f1
Merge pull request #5326 from gsimon75/issue_5310_rgb_order_setoption
...
Added SetOption37 for RGB remapping
2019-02-25 10:55:43 +01:00
Theo Arends
e16178d912
Merge pull request #5320 from laurentdong/development
...
Support subscribe/unsubscribe MQTT topics and trigger specified event with the subscribed MQTT topic.
2019-02-24 17:02:45 +01:00
Gabor Simon
4492a14574
Added SetOption37 for RGB remapping
2019-02-24 12:07:15 +00:00
Gabor Simon
38b81302e3
sm16716: added config option for custom rgb order
2019-02-24 09:26:10 +04:00
Laurent
dd27ade7ef
Rules: Trigger Event with MQTT Subscriptions
...
Support subscribe/unsubscribe MQTT topics and trigger specified event with the subscribed MQTT topic.
You can subscribe a MQTT topic and assign an event name. Once we received subscribed MQTT message, an event will be automatically triggered. So you can set up a rule with "ON EVENT#<event_name> DO ..." to do whatever you want based on this MQTT message. The payload is passed as a parameter once the event been triggered. If the payload is in JSON format, you are able to get the value of specified key as parameter.
For example, if you have a Tasmota based thermostat and multiple temperature sensors in different place, usually you have to set up a centre home automation system like Domoticz to control the thermostat. Right now, with this new feature, you can write a rule to do this.
Two new commands in Rules:
1. Subscribe
Subscribe a MQTT topic (with or without key) and assign an event name to it.
Command format:
Subscribe [<event_name>, <topic> [, <key>]]
This command will subscribe a <topic> and give it an event name <event_name>.
The optional parameter <key> is for parse the specified key/value from MQTT message
payload with JSON format.
In order to parse value from two level JSON data, you can use one dot (".") to split the key into two section.
Subscribe command without any parameter will list all topics currently subscribed.
2. Unsubscribe
Unsubscribe specified MQTT event.
Command format:
Unsubscribe [<event_name>]
Unsubscribe a topic subscribed by specify the event name.
If no event specified, Unsubscribe all topics subscribed.
Examples:
1.
Subscribe BkLight, Tasmota/BackyardLight/stat/POWER
And define a rule like:
Rule1 on event#BkLight=ON do ruletimer4 60 endon
2.
Subscribe DnTemp, Tasmota/RoomSensor1/stat/SENSOR, DS18B20.Temperature
Define a rule to deal with the MQTT message like {"Time":"2017-02-16T10:13:52", "DS18B20":{"Temperature":20.6}}
Rule1 ON EVENT#DnTemp>=21 DO ... ENDON
2019-02-23 22:33:09 -05:00
gfrancesco
deeceaf2a0
Add configuration parameter to send MQTT telemetry on status change (SetOption59)
2019-02-17 22:05:02 +01:00
Theo Arends
14d5f7fb54
Fix GUI password and Add rule expression
...
* Fix GUI wifi password acception starting with asteriks (*) (#5231 , #5242 )
* Add rule expression enabled by define USE_EXPRESSION in my_user_config.h (#5210 )
2019-02-16 16:17:17 +01:00
Laurent
4b4b3709ad
Introduce Expression in Rules
...
Support use an expression as paramter in some rule commands, include Var<x>, Mem<x> and Ruletimer<x>.
Expression is constructed by constants (float number), variables (var<x>, mem<x>, Time, Uptime, Sunrise, Sunset), operators and round brackets.
Currently support 6 operators, order by priority from high to low:
^ (power)
% (modulo)
*, /
+, -
Commands examples:
Var1 3.14 * (MEM1 * (10 + VAR2 ^2) - 100) % 10 + uptime / (2 + MEM2)
Ruletimer4 Time - Sunrise + MEM2/2
2019-02-12 21:46:42 -05:00
Theo Arends
78b2bd3bd5
Merge pull request #4991 from gsimon75/sm16716
...
Add support for the SM16716 RGB LED controller
2019-02-08 20:07:50 +01:00
Andre Thomas
c254410723
PN532: Add // #define USE_PN532_CAUSE_EVENTS
...
PN532: Add // #define USE_PN532_CAUSE_EVENTS
Forgot to include it in the my_user_config.h
2019-02-08 19:26:02 +02:00
Gabor Simon
7b93df4978
Merge branch 'development' into sm16716
2019-02-08 20:00:53 +04:00
Theo Arends
ae277f59cf
Change image defines
...
6.4.1.15 20190208
* Change image name BE_MINIMAL to FIRMWARE_MINIMAL (#5106 )
* Change image names USE_xyz to FIRMWARE_xyz (#5106 )
2019-02-08 14:55:45 +01:00
Andre Thomas
567b12e1ce
PN532: Update resource requirements in config
...
PN532: Update resource requirements in my_user_config.h
2019-02-08 09:59:33 +02:00
andrethomas
707b51f292
PN532: Implement HSU (Serial)
2019-02-08 01:06:54 +02:00
andrethomas
b76b615a6e
PN532: Deprecate I2C support
2019-02-08 00:41:46 +02:00
Colin Kuebler
35060dfa45
Measured impact of USE_SM16716 on binary filesize
2019-02-01 20:12:13 -05:00
Gabor Simon
737cd7a2d0
Merge branch 'sm16716' of https://github.com/gsimon75/Sonoff-Tasmota into sm16716
2019-02-01 04:38:15 +00:00
Gabor Simon
ef40aff62a
Added SM16716_SEL pin to SYF05 template, enabled SM16716 support
2019-02-01 04:37:22 +00:00
Theo Arends
2c164a8b4b
6.4.1.13 Add boot loop offset
...
6.4.1.13 20190130
* Add command SetOption36 to control boot loop default restoration (#4645 , #5063 )
2019-01-30 14:34:31 +01:00