Commit Graph

1500 Commits

Author SHA1 Message Date
eeak 5a0f2fd895
Update de-DE.h 2018-11-01 18:25:45 +02:00
eeak 591411fc37
Update cs-CZ.h 2018-11-01 18:25:32 +02:00
eeak 6aa9f13f9c
Update bg-BG.h 2018-11-01 18:25:13 +02:00
eeak cd8d316741
Update en-GB.h 2018-11-01 18:04:44 +02:00
eeak 6a3ca9bd99
Update ru-RU.h 2018-11-01 17:55:27 +02:00
eeak f1ce6d57da
Update my_user_config.h 2018-11-01 17:49:03 +02:00
eeak 3ff97d5c1e
Update my_user_config.h 2018-11-01 17:39:13 +02:00
eeak db4d7ed277
Add ConvertPress() 2018-11-01 17:36:22 +02:00
eeak 1a86c65339
Update xsns_09_bmp.ino 2018-11-01 17:32:24 +02:00
andrethomas 1000cb836f Make driver boot delay configurable 2018-11-01 17:24:49 +02:00
Theo Arends 04bddf6370 Fix compile error
Fix compile error
2018-11-01 14:27:37 +01:00
Theo Arends eb4f1173d3 6.3.0.2 Add Timezone minutes
6.3.0.2 20181101
 * Add minutes to commands Timezone to allow all possible world timezones
2018-11-01 14:24:10 +01:00
Theo Arends 46a0a0afba Add minutes to commands Timezone
Add minutes to commands Timezone to allow all possible world timezones
2018-11-01 13:00:05 +01:00
Joel Stein f4c80b5ed0 tuya: accept any wifi-reset packet 2018-11-01 04:30:02 +01:00
Joel Stein 9723d6de56 tuya: keep option to set dimmer-id at compile-time 2018-11-01 03:39:54 +01:00
Joel Stein 7f9f1f2f66 tuya: autoconfigure gpios 2018-11-01 02:55:16 +01:00
Joel Stein 2d94b7cc7c tuya: Autoconfigure Dimmer ID when SetOption34 == 0, use 0 as default for TUYA_DIMMER_ID 2018-11-01 00:13:46 +01:00
Adrian Scillato 1fc19ccf5f
Reduce CPU usage at boot time 2018-10-31 15:07:27 -03:00
Adrian Scillato 5d1f5a40a1
Reduce CPU usage at boot time
If many drivers has been enabled, there is a peak of CPU usage at boot time that it is translated as a peak in power consumption. This address to a wifi connection issue in poor power regulated devices like Sonoff Basic R2. This fix reduces cpu usage making the wifi connection to establish faster.
2018-10-31 15:03:47 -03:00
Theo Arends 7d4312f346 Fix unintended function overload
Fix unintended function overload of WifiState
2018-10-31 11:27:40 +01:00
Theo Arends cb4c2764fd 6.3.0.1 Tuya and sonoff-basic changes
6.3.0.1 20181031
 * Add wifi status to Tuya (#4221)
 * Add default sleep 1 to sonoff-basic to lower enrgy consumption (#4217)
2018-10-31 11:22:18 +01:00
Theo Arends 07ac25ce34
Merge pull request #4221 from chaosmaster/tuya-wifi-state
tuya: properly indicate wifi-status
2018-10-31 11:05:57 +01:00
andrethomas 954ed0ea3c sonoff-basic.bin - Enable sleep = 1 by default 2018-10-30 19:26:24 +02:00
Theo Arends 332b657e77 6.3.0 Released
6.3.0 Released
2018-10-30 18:15:31 +01:00
Theo Arends e6a8b2d30d Add TotalStartTime to Energy JSON
Add TotalStartTime to Energy JSON message (#3971)
2018-10-30 17:04:19 +01:00
Joel Stein 9125823da3 tuya: remove default from switch, since wifi_state is already initialized to 0x02 2018-10-30 16:56:57 +01:00
Joel Stein faab6f1221 tuya: modify WifiState() in support.ino to reflect not-connected-state instead of reimplementing it 2018-10-30 15:34:31 +01:00
Theo Arends c0f9ea027d
Merge pull request #4208 from znanev/patch-2
Update Bulgarian translation
2018-10-30 15:28:50 +01:00
Theo Arends 0e52e5f854 Fix BMP calibration mis-usage
Fix BMP calibration mis-usage
2018-10-30 15:20:19 +01:00
Theo Arends 2a4c79c7cc Fix date
Fix date
2018-10-30 14:18:07 +01:00
Joel Stein 8f3f1f3958 tuya: implement seperate WifiState() so we actually know, when we're not connected 2018-10-30 05:33:36 +01:00
Joel Stein 4a03b1c2cd tuya: wifi-state switch debug-arguments 2018-10-30 01:11:08 +01:00
Joel Stein ccd10e151f tuya: wifi-state: add default state 2018-10-29 23:45:18 +01:00
Joel Stein d8914906a8 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into tuya-wifi-state 2018-10-29 23:35:13 +01:00
Joel Stein 166f6ce3a6 tuya: proper indication of wifi-state 2018-10-29 23:35:00 +01:00
znanev 9f706665a2
Update bg-BG.h 2018-10-29 18:22:05 +00:00
Theo Arends 9d981d83e4 Add support for two BMP/BME
Add support for two BMP/BME sensors (#4195)
2018-10-29 15:46:03 +01:00
Theo Arends 6b86c473d9 Add token %hostname%
Add token %hostname% to command FullTopic (#3018)
2018-10-29 12:38:44 +01:00
Theo Arends cc56677ba3 Add Gui Hostname display
Add command SetOption53 0/1 to toggle gui display of Hostname and IP address
2018-10-29 12:21:27 +01:00
Theo Arends ac00e6541a Quick fixes
Quick fixes
2018-10-29 11:30:36 +01:00
Theo Arends 06a068dc6b
Merge pull request #4199 from chaosmaster/tuya-set-wifi-state
tuya: reset wifi status LED
2018-10-29 09:40:02 +01:00
Joel Stein 80d5a23e39 tuya: only send wifi-led-reset until ack is received 2018-10-29 01:58:48 +01:00
Joel Stein b24449aa2b tuya: add break 2018-10-29 01:27:45 +01:00
Joel Stein 09de17d385 tuya: reset wifi-led every second 2018-10-29 01:10:57 +01:00
reloxx13 82efaccc91
typo2 2018-10-28 22:00:12 +01:00
reloxx13 756bbc33cd
typos 2018-10-28 21:59:34 +01:00
reloxx13 bf6ac243e5
Update xsns_09_bmp2x.ino
fix model detection
2018-10-28 21:32:58 +01:00
reloxx13 2e08463ae8 dont be on by default 2018-10-28 20:52:48 +01:00
reloxx13 8b820d5895 Merge branch 'development' into feature/support_multiple_bme 2018-10-28 20:51:30 +01:00
reloxx13 925cd37bbe support multiple bmp/bme sensors 2018-10-28 20:49:22 +01:00
Theo Arends 5c78561b07 6.2.1.20 Add mDNS delay option
6.2.1.20 20181028
 * Add command SetOption35 0..255 (seconds) to delay mDNS initialization to control possible Wifi connect problems
2018-10-28 17:57:25 +01:00
Theo Arends 6119c43610 Fix version 2018-10-28 16:16:18 +01:00
Jason2866 432c4df27a
kmph to km/h
"SI, and hence the use of "km/h" (or "km h−1" or "km·h−1") has now been adopted around the world
2018-10-28 14:24:20 +01:00
Jason2866 12f17cc86a
Update de-DE.h 2018-10-28 14:17:01 +01:00
Jason2866 259c638cb8
Update en-GB.h 2018-10-28 14:14:10 +01:00
Joel Stein e84f78b395 tuya: set wifi-state 2018-10-28 13:51:16 +01:00
Jason2866 b59d63a07a
Reverting Alexa fix
General Alexa for all cores doesnt work. Reverting fix.
This fix does only work on Stage core 2.5.0.
Awaiting new general fix from @ascillato soon
2018-10-28 11:17:41 +01:00
Theo Arends 4f59d102e7 Add sonoff-basic.bin
Add sonoff-basic.bin without most sensors
2018-10-27 17:15:52 +02:00
Theo Arends 53e1420961 Change OTA Url
* Change default OTA Url to http://thehackbox.org/tasmota/release/sonoff.bin (#4170)
 * Add Tuya Software Serial to support additional Tuya configurations (#4178)
2018-10-27 11:37:42 +02:00
Theo Arends a17bfabf59
Merge pull request #4178 from chaosmaster/tuya-sofware-serial
Tuya: Add support for software-serial
2018-10-27 08:33:22 +02:00
Joel Stein ee2bed3b9a tuya: cleanup 2018-10-27 04:38:18 +02:00
Joel Stein b605e58320 tuya: don't allow selecting GPIO08 2018-10-27 04:37:50 +02:00
Joel Stein 7093bd6ab0 tuya: software-serial: fixes 2018-10-27 04:11:30 +02:00
Joel Stein 22c20ab5fe tuya: software-serial 2018-10-27 03:01:09 +02:00
Adrian Scillato 06cc70aaf4
Fix Alexa for ALL cores
Alexa uses Phillips Hue Emulation to control Tasmota.

With this fix, the webserver arguments are passed to Tasmota as keys instead of args solving the Alexa issue for ALL cores.

Besides, for core 2.6.0 is planned to deprecate the use of args in favor of keys.

This fix makes Alexa to works compiling Tasmota under core 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.0 (stage), 2.6.0 (planned)

Tested Ok.
2018-10-26 19:01:36 -03:00
Theo Arends 77d54be267 Prep for release
Prep for release
2018-10-26 17:09:28 +02:00
Theo Arends c5cb7ffb78 Add additional RFSend comand syntax
Add additional RFSend comand syntax
2018-10-26 12:30:25 +02:00
Theo Arends f2b04092f8 Initial release of RF transceiving
Initial release of RF transceiving using library RcSwitch (#2702)
2018-10-25 18:17:58 +02:00
Theo Arends f58f3c2d31 Fix rule mqtt#connected trigger
Fix rule mqtt#connected trigger when mqtt is disabled (#4149)
2018-10-25 14:16:46 +02:00
Theo Arends eefad54be7 Fix invalid JSON
Fix invalid JSON floating point result from nan (Not a Number) and inf (Infinity) into null (#4147)
2018-10-25 14:03:34 +02:00
Theo Arends 51ee22273b Fix invalid JSON
Fix invalid JSON floating point result from nan into null (#4147)
2018-10-25 10:44:59 +02:00
Theo Arends 048de4c7fa
Merge pull request #4154 from ascillato/patch-2
Changed WIFI_GATEWAY and WIFI_DNS to a standard IP
2018-10-25 08:59:05 +02:00
Adrian Scillato c1aabf85a4
Reformat options for DS18x20
#define W1_PARASITE_POWER is an option for #define USE_DS18x20

Added space to show that.
2018-10-24 18:03:27 -03:00
Adrian Scillato ad3304fddc
Changed WIFI_GATEWAY and WIFI_DNS to a standard IP
Changed WIFI_GATEWAY and WIFI_DNS to a standard IP for help new users when they configure that.
2018-10-24 17:40:26 -03:00
Adrian Scillato dcd74be61a
Fix Alexa for Core 2.5.0 and backwards compatible
Alexa uses Phillips Hue Emulation to control Tasmota.

In the Arduino Esp8266 Core v2.3.0 all works fine.
In the Arduino Esp8266 Core v2.4.0, 2.4.1 and 2.4.2, a modification in the core is needed in order to make phillips hue work.
In the Arduino Esp8266 Core v2.5.0 (actual Stage version), the webserver parsing was modified and this PR fix this modification.

The new parsing of the core works fine for a standard phillips hue messages, but for Alexa it splits the command in 2 args. The first arg is empty and the second contains the correct phillips hue commands.
2018-10-24 16:54:16 -03:00
Adrian Scillato b9fda004d2
KNX: Delete unnecessary comments 2018-10-24 13:58:21 -03:00
Theo Arends 19b7a33f6b Prepair for more drivers 2018-10-23 16:03:57 +02:00
Theo Arends 2c02532e1c 6.2.1.19 Rename user_config.h
6.2.1.19 20181023
* Fix header file execution order by renaming user_config.h to my_user_config.h
* Fix Arduino IDE compilation warning regarding e-paper library
2018-10-23 15:51:51 +02:00
Adrian Scillato 43ba673b5e
Update Spanish Translation 2018-10-22 22:40:56 -03:00
Theo Arends a7c912111c Resize HX711 weight_item field
Resize HX711 weight_item field from 16 bit to 32 bit
2018-10-21 17:54:51 +02:00
Jason2866 abbae2f43c
Update de-DE.h 2018-10-21 17:15:38 +02:00
Theo Arends 5f7c986812 Remove duplicate language file 2018-10-21 16:59:14 +02:00
Theo Arends eb01ce786a
Merge branch 'development' into development 2018-10-21 16:55:41 +02:00
Theo Arends b4162baa63 Admin 2018-10-21 16:48:10 +02:00
synekvl 7fd250d72b
Update cs-CZ.h 2018-10-21 16:41:34 +02:00
Theo Arends 3f4320b95d Add optional HX711 GUI
Add optional HX711 scale interface to web GUI demonstrating easy GUI plug-in
2018-10-21 16:30:05 +02:00
synekvl fabdff0b37
Update cs-CZ.h 2018-10-21 16:28:46 +02:00
synekvl f94f58d019
Update cs-CZ.h 2018-10-21 15:41:47 +02:00
Theo Arends 266f7f1fe0 Add support for TX20
Add support for La Crosse TX20 Anemometer (#2654, #3146)
2018-10-21 12:44:45 +02:00
Theo Arends d012ce942b Fix JSON error - again
Fix JSON error - again (#4108)
2018-10-20 17:28:42 +02:00
Adrian Scillato 0effef5f04
Fix Analog input in Obi Socket Template 2018-10-19 14:29:53 -03:00
Theo Arends f82f7c1a09
Merge pull request #4110 from chaosmaster/obi-socket-user-pins
Obi socket user pins
2018-10-19 19:20:59 +02:00
Joel Stein df5a7ec054 obi-socket: change LED4 back to LED2 2018-10-19 19:10:55 +02:00
Theo Arends a5c5ddaee6
Merge pull request #4109 from chaosmaster/tuya-dimmer-ignore-dim
tuya-dimmer: ignore dim-values when powered off
2018-10-19 18:19:08 +02:00
Theo Arends 22ecc8f618 Fix JSON error
Fix JSON error (#4108)
2018-10-19 18:16:53 +02:00
Joel Stein 0078b9f650 remove ADC0 2018-10-19 18:12:09 +02:00
Joel Stein 2e150b5ca4 tuya-dimmer: ignore dim-values when powered off 2018-10-19 18:04:30 +02:00
Joel Stein 42aa66e02f obi-socket: allow user-configuration of free GPIOs 2018-10-19 17:11:30 +02:00
Theo Arends 613ffde5c0 6.2.1.18 Add API.md
6.2.1.18 20181019
 * Add more API callbacks and document API.md
2018-10-19 12:53:22 +02:00
Joel Stein cfdec25bcb Add reset-button-handler vor tuya-dimmer 2018-10-18 16:02:40 +02:00
Theo Arends d1c807998f Rewrite Tuya Dimmer code
Rewrite Tuya Dimmer code
2018-10-18 13:01:31 +02:00
Theo Arends f8ab8ef552 Clean settings.h
Removed custom fields from settings.h
2018-10-17 15:29:43 +02:00
Theo Arends 0ab43909c3 6.2.1.17 Changes and Adds
6.2.1.17 20181017
 * Enable updated non-blocking PubSubClient as default MQTT client
 * Update TasmotaModbus and TasmotaSerial libraries for support of serial 8N2 communication
 * Add support for Pzem-003/017 DC Energy monitoring module (#3694)
 * Change support for Pzem-014/016 AC Energy monitoring module (#3694)
2018-10-17 12:27:05 +02:00
Theo Arends b2ca987195 Fix Sonoff Bridge RfRaw
Fix Sonoff Bridge RfRaw receive (#4080, #4085)
2018-10-16 17:27:01 +02:00
Theo Arends 2085f24675 Update changelog
Update PubSubClient Mqtt library to non-blocking EspEasy version
2018-10-16 14:33:31 +02:00
Theo Arends ae28a50dc7 Fix possible wifi connection error
Fix possible wifi connection error (#4044, #4083)
2018-10-16 14:00:14 +02:00
Theo Arends ecd39741aa
Merge pull request #4083 from ascillato/patch-1
Fix Some Wifi Connection Issues
2018-10-16 13:48:28 +02:00
Theo Arends d47ab92862 Fixxes and Add Tuya Dimmer
* Fix RfRaw and SerialSend5 regression from 6.2.1.15 (#4072)
 * Fix Sonoff Bridge RfRaw receive (#4080)
 * Add support for Tuya Dimmer (#469, #4075)
2018-10-16 11:21:44 +02:00
Theo Arends 36b8f5d293
Merge pull request #4080 from Portisch/fix_rf_bridge_uart_receive_len
fix RF bridge raw receive
2018-10-16 10:14:24 +02:00
Portisch b88aabfd8d fix RF bridge raw receive 2018-10-16 09:53:48 +02:00
Theo Arends cd9987111e
Merge pull request #4075 from digiblur/development
Initial Tuya Dimmer Support
2018-10-16 09:46:16 +02:00
Adrian Scillato dbe7cf3bbc
Fix Some Wifi Connection Issues
https://github.com/arendst/Sonoff-Tasmota/issues/4044
2018-10-16 03:54:55 -03:00
Adrian Scillato adf3ed56bf
Fix Bug for OTA URL if using core STAGE (2.5.0) 2018-10-15 23:27:43 -03:00
digiblur 5894cd97fc Initial TuyaDimmer Support 2018-10-15 18:32:14 -05:00
andrethomas 8345f3f872
Fix SerialSendRaw() to adjust for whitespace
Fix SerialSendRaw() to adjust for whitespace removal
2018-10-15 22:30:26 +02:00
Theo Arends fb6cc194a9 6.2.1.16 Add TasmotaModbus lib
6.2.1.16 20181015
 * Add TasmotaModbus library for very basic modbus wrapper for TasmotaSerial
 * Change xsns_17_senseair.ino to use TasmotaModbus library
 * Fix xnrg_05_pzem2.ino for PZEM-014/016 support using TasmotaModbus library (#3694)
2018-10-15 17:18:30 +02:00
Theo Arends 6b660026cd Add cmnds Reset 4 and Reset 5
Add commands Reset 4 (reset to defaults but keep wifi params) and Reset 5 (as reset 4 and also erase flash) (#4061)
2018-10-15 14:43:47 +02:00
andrethomas 5f9867a22f Add command Reset 5 2018-10-15 00:10:02 +02:00
andrethomas f109c36bbd Add Reset 4 command to reset defaults but keep wifi config 2018-10-14 20:00:41 +02:00
Theo Arends c46ae74067 Add whitespace removal
Add whitespace removal from RfRaw and SerialSend5 (#4020)
2018-10-14 12:53:11 +02:00
andrethomas cd86a2c8a9
Update xdrv_06_snfbridge.ino 2018-10-13 20:46:17 +02:00
andrethomas 040d4c6ba2 xdrv_06_snfbridge: Remove whitespace from RfRaw 2018-10-13 20:38:48 +02:00
Theo Arends fe26768103 6.2.1.15 Fix Color Temperature slider
6.2.1.15 20181012
 * Fix Color Temperature slider functionality regression from 20180726 (#4037)
 * Add auto reload of main web page to some web restarts
2018-10-12 11:42:52 +02:00
Jason2866 904623d584
Update de-DE.h 2018-10-11 22:17:26 +02:00
synekvl 2862329fd1
Update cs-CZ.h 2018-10-11 21:14:24 +02:00
synekvl 6610767b4b
Update cs-CZ.h 2018-10-11 21:13:58 +02:00
Adrian Scillato 458a441da6
Updated Spanish Translation 2018-10-11 15:38:31 -03:00
Theo Arends ab56648e2e Fix compile error
Fix compile error
2018-10-11 18:26:49 +02:00
Theo Arends fcc6d5437b Add HX711 Load Cell
* Add support for DS3231 Real Time Clock
 * Add support for HX711 Load Cell
 * Add command WeightRes 0..3 to control display of decimals for kilogram
2018-10-11 17:33:07 +02:00
Adrian Scillato a33030b622
Fixed Compiler Warning for Core STAGE SDK 3.0.0 2018-10-11 10:54:34 -03:00
Theo Arends ac595d44b0 Fix compiler error
Fix compiler error on BE_MINIMAL not finding WaitForRestart()
2018-10-11 08:32:09 +02:00
Theo Arends 29a9cce96d 6.2.1.14 Forgot deletes
Oops
2018-10-10 22:31:25 +02:00
Theo Arends b3039de1b6 6.2.1.14 Rewrite Webserver
6.2.1.14 20181010
 * Rewrite Webserver page handler for easier extension (thx to Adrian Scillato)
2018-10-10 22:21:44 +02:00
Theo Arends b75c4359dc
Merge pull request #4029 from guyelg/development
Add support for DS3231 Extrnal RTC with I2c interface
2018-10-10 20:47:18 +02:00
guyelg 9c77d1d761
disable the sensor by default 2018-10-10 21:01:07 +03:00
guyelg 5684c844aa
fix address in user_config.h 2018-10-10 20:54:26 +03:00
Theo Arends 633a45f964 Revert "6.2.1.14 Webserver rewrite"
This reverts commit 077b8a79e1.
2018-10-10 19:41:08 +02:00
guyelg f98b4cf69d
add support for DS3231 - I2C RTC 2018-10-10 20:31:21 +03:00
guyelg 8aabe10711
Add support for DS3231-external I2C RTC 2018-10-10 20:25:04 +03:00
Theo Arends 077b8a79e1 6.2.1.14 Webserver rewrite
6.2.1.14 20181010
 * Rewrite Webserver page handler for easier extension (thx to Adrian Scillato)
2018-10-10 16:40:54 +02:00
Adrian Scillato 3bc3e7e332
Add comment for sleep command (datasheet) 2018-10-08 17:25:42 -03:00
Theo Arends ba16e00e36 Add command WebRefresh
Add command WebRefresh 1000..10000 to control web page refresh in milliseconds. Default is 2345
2018-10-08 14:39:36 +02:00
Theo Arends 30154e2335 6.2.1.13 Change to ArduinoMqtt
6.2.1.13 20181008
 * Change default Mqtt client library from PubSubClient to non-blocking ArduinoMqtt by Joel Gaehwiler
2018-10-08 10:30:24 +02:00
Adrian Scillato efb328de09
Add PWM Freq Limits Config at Compile time 2018-10-07 14:27:09 -03:00
Adrian Scillato dfce7a280a
Add PWM Freq Limits Config at Compile time
PWM_MAX and PWM_MIN are added with explanation comments in order to let a user, who wants to use a Servo, to config these values. Not added at runtime in order to avoid issues with dimmers.
2018-10-07 14:24:52 -03:00
Theo Arends 5bbec2617f 6.2.1.12 - Fixes Shelly1 and CSL
6.2.1.12 20181007
 * Fix Shelly1 switchmode 3 and 4 when using pushbutton (#3989)
 * Add support for CSL Aplic WDP 303075 Power Socket with Energy Monitoring (#3991, #3996)
2018-10-07 12:37:03 +02:00
phelagor adc3d4ebaa Added support for CSL Aplic WDP303075
- Added template for Module.
- Added support for HLW8012 (HLW_SEL is different to sonoff POW, needs different level to read voltage)
2018-10-06 22:05:15 +02:00
Mike 461fed6290
missing "" around UV Index test in json
Fixed the missing "" around the UV Index test in json
Old one:
"VEML6070":{"UvLevel":6212,"UvIndex":8.32,"UvIndexText":Danger,"UvPower":0.208}}

New one:
"VEML6070":{"UvLevel":6212,"UvIndex":8.32,"UvIndexText":"Danger","UvPower":0.208}}

Now it works. I have no mqtt system running so i did not know that this would happen.
Possible i have to build up one system.
2018-10-06 20:48:26 +02:00
synekvl 174f2736dc
Update cs-CZ.h 2018-10-06 18:46:29 +02:00
Theo Arends d3d40a1609 Update cs-CZ language 2018-10-06 16:46:25 +02:00