Commit Graph

3067 Commits

Author SHA1 Message Date
netpok e2bcef16bf Merge remote-tracking branch 'upstream/development' into wificonfig-7 2019-02-21 19:45:34 +01:00
netpok e9396d0ed4 Add missing localization strings 2019-02-21 19:45:21 +01:00
netpok 731154cc9b Handle authentication on reset/restart 2019-02-21 19:45:03 +01:00
Theo Arends c97ea4d917
Merge pull request #5296 from netpok/password-validation
Wifi password validation
2019-02-21 18:47:58 +01:00
netpok 4993d16ecb Implement WifiConfig 7 2019-02-21 17:49:11 +01:00
netpok e035a3253a Add password validation to WebUI 2019-02-21 15:58:37 +01:00
netpok 3c58f5b7b9 Add password validation to password command 2019-02-21 15:57:45 +01:00
Theo Arends 60e8aa6466
Merge pull request #5295 from curzon01/development
decode-config.py: adapt settings
2019-02-21 15:47:47 +01:00
Norbert Richter eb08bb07ee decode-config.py: adapt settings
- remove SetOption62 (no_pullup)
- remove obsolete Tasmota command converter
2019-02-21 15:37:46 +01:00
Theo Arends 95da493325 Update xdrv_01_webserver.ino
Fix compile error
2019-02-21 14:56:39 +01:00
Theo Arends 05b0280019 6.4.1.18 - Fix some exceptions and watchdogs
6.4.1.18 20191221
 * Fix some exceptions and watchdogs due to lack of stack space - part 1 (#5215)
2019-02-21 14:31:31 +01:00
Theo Arends b0227d6d28
Merge pull request #5288 from Jason2866/patch-1
Update platformio.ini
2019-02-21 09:57:48 +01:00
Theo Arends cfd3f3f4f5 Fix WebSend compile warning
Fix WebSend compile warning
2019-02-21 09:48:58 +01:00
Jason2866 51227b1d95
Update platformio.ini 2019-02-20 21:07:01 +01:00
Laurent 4e66dce049 Merge remote-tracking branch 'upstream/development' into development 2019-02-19 20:15:43 -05:00
Theo Arends 280dd25a8b Optimize RAM for expression
Optimize RAM for expression and add two more constant variables (#5275)
2019-02-19 14:49:15 +01:00
Theo Arends 06c97c4e19 Fix command WebSend
Fix command WebSend intermittent results (#5273)
2019-02-19 12:51:38 +01:00
Theo Arends 32c1e2d13c Tuning uptime and add utctime
Tuning uptime and add utctime
2019-02-19 10:48:19 +01:00
Laurent 660d0106c2 Revert "Support HttpGet command"
This reverts commit c527d4dc99.
2019-02-18 16:18:01 -05:00
Laurent 6f2f0b6fea Add two constant varibles in rules expression
Add two variables:
- UtcTime
The number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT)
- LocalTime
Seconds passed after Jan 1, 1970 midnight base on current timezone and daylight saving setting.
2019-02-18 16:17:32 -05:00
Laurent 2bc84a9aad Optimize RAM usage for Expression 2019-02-18 16:12:14 -05:00
Laurent c527d4dc99 Support HttpGet command
HttpGet command send a HTTP Get request to specified URL and return the response from website or error message if failed.
Note: This command support URL encoding, so you do not have to do encode by yourself. For example replacing all " " with %20 is no necessary.
Format:
httpget <url>
With HttpGet command you can do a lot of things.
For example:
- Retrieve your physical location:
httpget http://ipinfo.io/geo
Result is a JSON object
{
  "ip": "8.8.8.8",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "loc": "37.3860,-122.0840",
  "postal": "94035",
  "phone": "650"
}
- Control another Sonoff switch directly:
httpget http://192.168.1.130/cm?cmnd=power off
2019-02-18 15:41:40 -05:00
Theo Arends 18ca69e5fd
Merge pull request #5272 from andrethomas/development
Introduce Reset 6
2019-02-18 21:19:17 +01:00
andrethomas 1da8f94a05 Introduce Reset 6 2019-02-18 21:52:22 +02:00
Theo Arends 3c3b5bb8ca Add property Downtime
Add property Downtime to state and status 11 message representing the duration of wifi connection loss
2019-02-18 18:02:22 +01:00
Theo Arends 4884a94b6d Add LinkCount and MqttCount
* Add property LinkCount to state and status 11 message representing number of Wifi Link re-connections
 * Add property MqttCount to status 6 message representing number of Mqtt re-connections
2019-02-18 17:05:25 +01:00
Theo Arends 0658ae1959 Update sonoff_template.h
Fix compile error
2019-02-18 16:19:46 +01:00
Theo Arends e898dc03e7 Add Wifi Link Connection Count
Add Wifi Link Connection (Retry) count to state message. Always starts with 1 being the initial connection.
2019-02-18 15:41:41 +01:00
Theo Arends a6c7e3b5f4 Update xdrv_01_webserver.ino
Force restart on any template change to fix page refresh hang (#5222)
2019-02-18 15:13:37 +01:00
Theo Arends 483eb4dd44 Change Flags to Options
Change Flags to Options and enforce Activate for already active template (#5256)
2019-02-18 13:10:10 +01:00
Theo Arends 8d2b9e4734 Update xdrv_01_webserver.ino
Tune webserver
2019-02-18 11:35:49 +01:00
Theo Arends c37a4a4398 Update xsns_01_counter.ino
Fix non floating point use function (#5265)
2019-02-18 11:06:16 +01:00
Theo Arends dd3ae40daf
Merge pull request #5266 from znanev/patch-2
Update Bulgarian translations
2019-02-18 10:53:55 +01:00
znanev bd582980e9
Abbreviate translation for D_SENSOR_USER 2019-02-18 09:52:29 +00:00
znanev 8c73cddfed
Update Bulgarian translations 2019-02-18 09:29:23 +00:00
Theo Arends 590c883bbe
Merge pull request #5262 from gfrancesco/development
Configuration parameter to send MQTT telemetry on status change
2019-02-18 10:15:29 +01:00
Theo Arends 2f8cd65ac5
Merge pull request #5264 from andrethomas/scheme0_sleep
Disable sleep for scheme 0
2019-02-18 10:14:09 +01:00
Andre Thomas 5b71095e02
Make sleep for light scheme0 optional
Make sleep for light scheme0 optional with compile directive (enabled by default)
2019-02-18 08:21:57 +02:00
Andre Thomas cee9fee756
Make pwm scheme 0 sleep optional
Make pwm scheme 0 sleep optional (enabled by default)
2019-02-18 08:19:17 +02:00
gfrancesco deeceaf2a0 Add configuration parameter to send MQTT telemetry on status change (SetOption59) 2019-02-17 22:05:02 +01:00
Theo Arends 2c51b8d95d
Merge pull request #5260 from spock64/development
mqtt password GUI aligned to revised wifi version
2019-02-17 21:54:49 +01:00
Theo Arends b81db7a0f5
Merge pull request #5261 from localhost61/French
fr-FR.h update
2019-02-17 21:53:16 +01:00
localhost61 ba7c4cd49b fr-FR.h update 2019-02-17 21:32:07 +01:00
Jason 10bdb7c975 mqtt password GUI aligned to revised wifi version 2019-02-17 18:45:58 +00:00
Theo Arends 4d0ab9448d Fix unsupported sensor ids
Fix unsupported sensor ids popping up after a config restore
2019-02-17 16:43:52 +01:00
Theo Arends a201dd1222 Remove command SetOption62
Remove command SetOption62 as it's functionality is replaced by user changing the device template (#5255)
2019-02-17 16:05:53 +01:00
Theo Arends f33c59249e Fix calibration calculation
Fix calibration calculation (#5246)
2019-02-17 15:30:15 +01:00
Theo Arends 3f6db36187 Update xdrv_01_webserver.ino
Fix 404 error
2019-02-17 14:43:07 +01:00
Theo Arends 1ff2b5ec14
Merge pull request #5254 from Jason2866/patch-2
Update Arduino to release 2.5.0
2019-02-17 14:14:25 +01:00
Jason2866 54f7a63d00
Delete platform.txt 2019-02-17 12:49:50 +01:00