Commit Graph

1578 Commits

Author SHA1 Message Date
Theo Arends 406907cbe2 Revert "Update command WebSend"
This reverts commit 59c5817214.
2018-11-12 11:11:22 +01:00
Theo Arends 59c5817214 Update command WebSend
* Change command WebSend Host header field from IP address to hostname (#4331)
 * Add to command WebSend option to send a direct path when command starts with a slash (#4329)
2018-11-12 11:10:55 +01:00
Theo Arends 41aafe05ae Change command WebSend
Change command WebSend Host header field from IP address to hostname (#4331)
2018-11-12 10:20:30 +01:00
Theo Arends c0cfdde8ac Fix Sonoff Pow R2 and Sonoff S31
Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by Sonoff Basic R2 driver delay implementation (and possibly core bug)
2018-11-11 17:58:18 +01:00
wvdv2002 a3ee9e7492 Cleaned up code and settings 2018-11-11 16:58:21 +01:00
Theo Arends 0868c72140 Fix Sonoff Pow R2 and Sonoff S31
Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by MP3 driver
2018-11-11 16:52:09 +01:00
wvdv2002 c2e1e0344d Revert "Added language strings for uart TX/RX"
This reverts commit fd8622d546.
2018-11-11 15:20:10 +01:00
Theo Arends 2a2b224a24 Add pulse time to received JSON
Add pulse time to received JSON message in RcSwitch driver (#2702)
2018-11-11 14:45:19 +01:00
Theo Arends a55ec91a10 6.3.0.7 Use ESP.reset
6.3.0.7 20181111
 * Fix wifi connection errors using ESP.reset instead of ESP.restart
2018-11-11 14:28:46 +01:00
Theo Arends e76f862b8f Add info
Add info
2018-11-11 13:39:24 +01:00
Theo Arends 72dede855a Add domoticz support to SR04
Add domoticz support to sensor SR04 (#4325)
2018-11-11 13:21:46 +01:00
Theo Arends 9f09b6179c
Merge pull request #4320 from chaosmaster/patch-1
tuya: formatting/cleanup
2018-11-10 18:31:58 +01:00
Joel Stein 0d78ec4fad tuya: change Sent -> TX, Rcvd -> RX 2018-11-10 18:08:31 +01:00
Theo Arends 671231053a More webserver GUI tuning
More webserver GUI tuning
2018-11-10 17:30:23 +01:00
Theo Arends 827dd62f61 Fix GUI Configure Module regression
Fix GUI Configure Module regression (#4319)
2018-11-10 16:45:32 +01:00
wvdv2002 00dbfe8e04 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into armtronix 2018-11-10 16:40:37 +01:00
wvdv2002 fd8622d546 Added language strings for uart TX/RX 2018-11-10 16:39:58 +01:00
Joel Stein 3c935d2419 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-11-10 16:39:38 +01:00
wvdv2002 410e49a3c7 Added Armtronix dimmer support 2018-11-10 16:30:29 +01:00
Theo Arends 9872f942ae 6.3.0.6 Change GUI page load
6.3.0.6 20181110
 * Change GUI Configure Module by using AJAX for data fetch to cut page size (and memory use) by 40%
2018-11-10 15:10:58 +01:00
Theo Arends 7a235cc8ef Fix shelly2 ghost switching
Fix shelly2 ghost switching caused by lack of pull-up inputs (#4255)
2018-11-10 10:48:28 +01:00
Joel Stein d573f7641a tuya: formatting 2018-11-09 01:28:11 +01:00
Theo Arends 3332ab01a1 Revert "Add RF calibration on next restart"
This reverts commit 2a4d82f4b6.
2018-11-08 16:33:34 +01:00
Theo Arends 2a4d82f4b6 Add RF calibration on next restart
Add RF calibration on next restart
2018-11-08 14:21:45 +01:00
Theo Arends f9bddb6c54 Add flashchipid info
Add flashchipid info
2018-11-08 10:40:19 +01:00
Theo Arends b5d38c4eee Add support for Gosund SP1 v2.3
Add support for Gosund SP1 v2.3 Power Socket with Energy Monitoring (#4297)
2018-11-08 10:24:10 +01:00
Theo Arends 61985ca16b Add hex to flash info 2018-11-07 18:43:44 +01:00
Theo Arends 4a21d3270d Restrict hardware serial
Restrict hardware serial
2018-11-07 15:37:06 +01:00
Theo Arends c75ae78d88 6.3.0.5 Add code image
6.3.0.5 20181107
 * Add code image and optional commit number to version
2018-11-07 15:03:41 +01:00
Theo Arends 44d6714b69 Moved all func ptr tables to RAM
Moved all function pointer tables to RAM to check performance issues
2018-11-07 11:57:28 +01:00
Theo Arends a4df728115 Moved func ptr tables to RAM
Moved function pointer tables to RAM to check performance issues
2018-11-07 11:38:24 +01:00
Theo Arends 9fef82736d Prep drivers for management
Prep drivers for management
2018-11-07 10:30:03 +01:00
Theo Arends f14491afb6
Merge pull request #4296 from chaosmaster/patch-1
tuya: fix SetOption20 behavior for Oittm/Moes
2018-11-07 09:02:47 +01:00
Joel Stein a2b7bdac45 tuya: name flag SetOption54 2018-11-06 23:27:49 +01:00
Joel Stein 7003435b34 tuya: use SetOption54 instead of SetOption22 2018-11-06 22:58:07 +01:00
Joel Stein 134a10d2c4 tuya: Add SetOption22 to select if brightness-commands from faceplate should be ignored while powered off 2018-11-06 20:06:25 +01:00
Theo Arends 15148f290d 6.3.0.4 Add SetSensorXX
6.3.0.4 20181106
 * Add command SetSensorXX 0/1 to disable/re-enable compiled xsns_XX_sensor.ino driver
2018-11-06 17:33:51 +01:00
Adrian Scillato a0c38ad397
Reverting PR #4279 that brokes Alexa support 2018-11-06 11:35:06 -03:00
Theo Arends 28c1eed302 Fix baudrate when module changed
Fix baudrate when module changed
2018-11-06 11:48:04 +01:00
Theo Arends 49acf4a7d3 Add optional hardware serial
* Add optional hardware serial when GPIO13(Rx) and GPIO15(Tx) are selected removing hardware serial from GPIO01(Tx) and GPIO03(Rx) (#4288)
 * Bump TasmotaSerial version from 2.1.0 to 2.2.0
2018-11-06 11:27:19 +01:00
Joel Stein aa148f67a3 tuya: fix SetOption20 for Oittm/Moes 2018-11-06 05:35:07 +01:00
Theo Arends c9cf375c6c Add checks for GPIO selections
Add more strict checks for GPIO selections
2018-11-05 17:27:02 +01:00
Theo Arends 7418bb9b3d 6.3.0.3 Swap Tx/Rx hardware serial
6.3.0.3 20181105
 * Fix hardware serial pin configuration. To keep using hardware serial swap current Rx/Tx pin configuration only (#4280)
2018-11-05 10:26:06 +01:00
Theo Arends 4e68e9fba1
Merge pull request #4279 from emontnemery/hue_small_fix
Correctly announce non RGBWW light
2018-11-05 09:11:04 +01:00
Erik b5f20dd643 Correctly announce non RGBWW light 2018-11-04 23:43:34 +01:00
Jason2866 98c7e467f8
Update de-DE.h
Fixing some minor errors
2018-11-04 22:14:05 +01:00
Theo Arends 39efb2aa53 Possible fix for timer saving
Possible fix for timer saving on Safari/Chrome on IOS devices(iPhone/iPAD) (#4250)
2018-11-04 18:29:53 +01:00
Theo Arends 82b65de724 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-11-04 18:00:15 +01:00
Theo Arends 99ae0c9cab Change wifi connection check
Change wifi connection check
2018-11-04 18:00:07 +01:00
Theo Arends 27e540d101
Merge pull request #4273 from chaosmaster/tuya-refactor
tuya: refactor code
2018-11-04 16:58:56 +01:00
Theo Arends 14a7424e9b Add command SetOption24
Add command SetOption24 0/1 to select pressure unit as hPa or mmHg (#4241)
2018-11-04 16:55:12 +01:00
Theo Arends 9fc701b649
Merge pull request #4241 from eeak/mmHg
Add mmHg conversion
2018-11-04 15:31:07 +01:00
Joel Stein 0c3123a7aa tuya: reorder functions 2018-11-04 06:56:36 +01:00
Joel Stein 256b5cba8e tuya: only handle reset GPIO 2018-11-04 06:40:55 +01:00
Joel Stein b958c7b716 tuya: cleanup 2018-11-04 03:40:14 +01:00
Joel Stein 2a9a5bb94b tuya: send power when setting dim-level 2018-11-03 23:24:43 +01:00
Joel Stein 91ead8c60e tuya: refactor/simplify code 2018-11-03 22:34:29 +01:00
Joel Stein 7d9bc1039f tuya: don't set tuya_wifi_state in TuyaResetWifi() (will be set automatically) 2018-11-02 16:04:35 +01:00
Theo Arends 4e956cb582
Merge pull request #4244 from chaosmaster/tuya-autoconfig
tuya: autoconfig and other updates
2018-11-02 08:04:49 +01:00
andrethomas b2f7427d17 Fix regression for nrg and dsp interface delays 2018-11-01 21:41:42 +02:00
Andrei eeak 2f1a4df1f0 Fix ш18тюр 2018-11-01 21:11:57 +02:00
Andrei eeak 835e3f670c Delete D_MMHG 2018-11-01 19:37:25 +02:00
andrethomas 2e1ba0194c Move #define DRIVER_BOOT_DELAY to sonoff.h 2018-11-01 19:36:10 +02:00
Andrei eeak aa8e571e88 Add D_UNIT_MILLIMETER_MERCURY 2018-11-01 19:17:12 +02:00
eeak 7bbbf26523
Update zh-TW.h 2018-11-01 18:30:56 +02:00
eeak 8b5975b462
Update zh-CN.h 2018-11-01 18:30:39 +02:00
eeak f25c6fb5f8
Update uk-UK.h 2018-11-01 18:30:25 +02:00
eeak 2f1c48a27c
Update tr-TR.h 2018-11-01 18:30:12 +02:00
eeak 7f7c5b9808
Update pt-PT.h 2018-11-01 18:29:58 +02:00
eeak 6271c3b562
Update pt-BR.h 2018-11-01 18:29:38 +02:00
eeak 69fc4e6c86
Update pl-PL.h 2018-11-01 18:29:24 +02:00
eeak 39e3b75f0c
Update nl-NL.h 2018-11-01 18:29:11 +02:00
eeak 07df5e6c2f
Update it-IT.h 2018-11-01 18:27:33 +02:00
eeak 848a197a4b
Update hu-HU.h 2018-11-01 18:27:18 +02:00
eeak 3c935c6d57
Update he-HE.h 2018-11-01 18:27:04 +02:00
eeak c3ffce4d4e
Update fr-FR.h 2018-11-01 18:26:44 +02:00
eeak 89bbe111d3
Update es-AR.h 2018-11-01 18:26:28 +02:00
eeak 517242ff5e
Update el-GR.h 2018-11-01 18:26:03 +02:00
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