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
Theo Arends
caabada214
Update my_user_config.h
2019-01-24 11:21:16 +01:00
Louis Lagendijk
4cdc3d5404
Implemented changes suggested by Theo (Thanks!):
...
- use functions from support.ino (had to split reading in Max4409Detect
in 2 8 bits reads as the MAX44009 only supports 16 bits reads for
luminance registers)
- Used the << instead of pow() to save a lot of xompiled code
- Improved float -> string conversion along the suggested lines
- Code size is now +/- 750 bytes (without other I2C sensors compiled in
I think
2019-01-23 22:20:29 +01:00
Louis Lagendijk
ee3ab87d07
Made requested changes:
...
- Added checks for improved MAX44009 detection
- removed HTTP_SNS_ILLUMINANCE_S (show only integer in web-interface)
- removed missed readings and repeated detection
2019-01-23 16:06:06 +01:00
Louis Lagendijk
2a9ad52776
Merge remote-tracking branch 'upstream/development' into development
2019-01-16 14:17:01 +01:00
andrethomas
44ea65a389
PN532: Segregate UID and DATA usage
2019-01-15 22:03:55 +02:00
Theo Arends
fc1198c1f9
Add features
...
* Add support for Luminea ZX2820 Smart Socket with Energy monitoring (#4921 )
* Add define MDNS_ENABLE to control initial mDNS state (#4923 )
* Add split interlock part 1 (#4910 )
2019-01-14 10:57:01 +01:00
Louis Lagendijk
7b9c2d6797
Added MAX44009 in my_user_config.h
2019-01-12 23:27:37 +01:00
Theo Arends
95bd91b6db
Merge pull request #4863 from blittan/development
...
Clearer meaning of Static or DHCP
2019-01-09 09:13:52 +01:00
blittan
15041873c2
Clearer meaning of Static or DHCP
2019-01-08 22:12:09 +01:00
andrethomas
549080b850
PN532: Add Read/Write Data support
2019-01-08 20:53:09 +02:00
andrethomas
5ec7249ece
Add support for PN532 NFC
2019-01-02 22:04:33 +02: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
Theo Arends
f12261e4fa
Add support for MAX31855
...
Add support for MAX31855 K-Type thermocouple sensor using softSPI (#4764 )
2019-01-01 13:45:44 +01:00
Markus Past
5737665a2f
MAX31855 driver for Sonoff-Tasmota - Initial commit
2018-12-30 11:45:21 +01:00
K.C. Budd
8ce6b5a01d
Add INPUT_PULLUP option for single DS18B20
2018-12-26 12:10:47 -08:00
Theo Arends
ed6e411f7f
Add optional TLS_CA_CERT
...
Add define USE_MQTT_TLS_CA_CERT for checking MQTT TLS against root ca using Let's Encrypt cert from sonoff_letsencrypt.h - not supported with core 2.3.0 (#4703 )
2018-12-22 18:09:27 +01:00
Theo Arends
9e15a1d266
Merge pull request #4703 from fmeies/development
...
Added option for checking mqtt tls against root ca
2018-12-22 16:50:07 +01:00
Theo Arends
e2cd656286
6.4.0.3 Hass and Alexa fixes
...
6.4.0.3 20181222
* Change Hass discovery to short MQTT messages as used by Hass 0.81 and up (#4711 )
* Change FallbackTopic detection (#4706 )
* Add define WIFI_SOFT_AP_CHANNEL in my_user_config.h to set Soft Access Point Channel number between 1 and 13 as used by Wifi Manager web GUI (#4673 )
* Fix Alexa "this value is outside the range of the device". Needs power cycle and Alexa deletion/discovery cycle. (#3159 , #4712 )
2018-12-22 16:13:07 +01:00
Frank Meies
59056935f9
Check for core version when enabling tls ca cert, changed names of defines
...
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 22:54:42 +01:00
Frank Meies
d722387344
Check for core version when enabling tls ca cert
...
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 22:49:46 +01:00
Frank Meies
435b3afde7
Added option for checking mqtt tls against root ca
...
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 11:28:47 +01:00
Arthur de Beun
6185a08d89
Updated from originals: platformio.ini, sonoff/my_user_config.h.
2018-12-19 06:57:37 +13:00
Arthur de Beun
2b0987da47
Revert platformio.ini and my_user_config to original version,
...
adding line for new sensor but leaving it commented out.
2018-12-19 06:36:53 +13:00
Arthur de Beun
604f341e9a
Add support for AZ-Instrument 7798 CO2 meter/datalogger.
2018-12-18 22:22:41 +13:00