Commit Graph

1187 Commits

Author SHA1 Message Date
Mike 764af507b9
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:30:24 +02:00
Mike f6f69e3b4d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:29:00 +02:00
Mike 1cf7bc747d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:28:50 +02:00
Mike d6324a9f44
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:27:28 +02:00
Mike 3b22dc7d52
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:26:33 +02:00
Mike efd1b8a1a3
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:24:12 +02:00
Mike f3ebfe7c5f
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:24:03 +02:00
Mike 1791f8e034
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:23:00 +02:00
Mike f891a8a2e7
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:22:02 +02:00
Mike 9ce856bb6e
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:19:41 +02:00
Mike a5c85a6882
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:18:06 +02:00
Mike 7722c663a0
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:17:26 +02:00
Mike 14ab4b718d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:16:03 +02:00
Mike 96682723d3
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:14:07 +02:00
Mike 7fd8dcd68d
Update en-GB.h 2018-09-07 08:11:53 +02:00
Mike b13c5452a5
Added #define D_SENSOR_MP3_DFR562 "MP3 Player" 2018-09-07 08:10:32 +02:00
Mike 5582c85b3b
define MP3 Player added //#define USE_MP3_PLAYER 2018-09-07 08:05:58 +02:00
Mike a416f0b334
Add files via upload 2018-09-07 07:59:08 +02:00
Mike 7722f5232a
Added DFPlayer Mini MP3 Player (RB-DFR-562) 2018-09-07 07:54:29 +02:00
Adrian Scillato 10bb6b856f
Fix Compilation of Sonoff Classic Version 2018-09-06 15:38:10 -03:00
Theo Arends 33bcfd1530
Merge pull request #3718 from andrethomas/development
Update MCP230xx to conform to new usage of subStr()
2018-09-06 19:33:50 +02:00
andrethomas c827270cc2 Update MCP230xx to conform to new usage of subStr() 2018-09-06 19:26:52 +02:00
Adrian Scillato 96aff63c71
Code Simplification for Substr 2018-09-06 14:26:26 -03:00
Adrian Scillato 420be8f499
Simplified Function Substr 2018-09-06 14:21:52 -03:00
Theo Arends 2fdc91f1b4 Housekeeping 2018-09-06 18:08:10 +02:00
Theo Arends b441c85776 Experimental PZEM-003,014,016,017
Add experimental support for PZEM-003,014,016,017 Energy monitoring (#3694)
2018-09-06 17:35:57 +02:00
Theo Arends dd95bb393e Add command SetOption52
Add command SetOption52 to control display of optional time offset from UTC in JSON messages (#3629, #3711)
2018-09-06 12:37:50 +02:00
Theo Arends 3ccf83d1a6
Merge pull request #3711 from rgitzel/append-timezone
optionally append timezone to timestamp in JSON messages
2018-09-06 11:38:54 +02:00
Theo Arends 359877489d 6.2.1.2 - Fix KNX PA exception
6.2.1.2 20180906
 * Fix KNX PA exception. Regression from 6.2.1 buffer overflow (#3700, #3710)
2018-09-06 10:42:22 +02:00
Rodney Gitzel 9413ba9f47 optionally append timezone to timestamp in JSON messages 2018-09-05 14:51:12 -07:00
Adrian Scillato b8e7ee8650
Fixed Exception Issue
Solves Bug #3700
2018-09-05 18:35:02 -03:00
Theo Arends 00814c7fc6 Fix compile error
Fix compile error
2018-09-05 20:51:17 +02:00
Theo Arends 35d0e502c4 Some additions
* Add command Display to show all settings at once
 * Add toggle function RGBW lights (#3695, #3697)
 * Add user configurable GPIO02 and GPIO03 on H801 devices (#3692)
2018-09-05 18:01:15 +02:00
Theo Arends ed1fd55d7f
Merge pull request #3692 from MadDoct/patch-3
Make tx and rx pins user selectable on the H801
2018-09-05 16:02:37 +02:00
Theo Arends 089f48e31b
Merge pull request #3697 from gitolicious/patch-1
Added toggle function for RGBW lights #3695
2018-09-05 15:42:59 +02:00
Theo Arends 36242e0e02 Add network information
Add network information to display start screen (#3704)
2018-09-05 15:38:48 +02:00
Theo Arends eaff296262 v6.2.1.1 - Released v6.2.1
Released v6.2.1 to solve important issues
2018-09-05 11:22:58 +02:00
gitolicious 170013c1e1
Added 4th dimming step
It wasn't a good idea to cycle through three dimming steps only, as the 4th would be triggered by the toggle, but nothing happened (`Color 203` got ignored).
2018-09-04 23:03:19 +02:00
gitolicious bd0323f6f2
Added toggle function for RGBW lights #3695
Proposed fix for #3695
2018-09-04 22:43:27 +02:00
MadDoct e7ae727c65
Update sonoff.ino 2018-09-04 18:53:44 +01:00
Theo Arends 07dafe1631 6.2.0.2 - Energy monitoring
6.2.0.2 20180904
 * Rewrite energy monitoring using energy sensor driver modules
 * Fix lost today and total energy value after power cycle (#3689)
2018-09-04 16:22:34 +02:00
MadDoct a8b673487b
h801 tx and rx user selectable 2018-09-04 09:56:43 +01:00
MadDoct ababc351d7
prepare to allow h801 tx and rx pins to be gpio_user 2018-09-04 09:45:26 +01:00
znanev 41999a0afc
Update bg-BG.h 2018-09-03 13:49:49 +01:00
Adrian Scillato d557fdbe7b
Updated Spanish Translation 2018-09-03 00:28:03 -03:00
Theo Arends 44ecdaf952 Add support for Shelly
Add support for Shelly 1 and basic support for Shelly 2 - No energy monitoring yet (#2789)
2018-09-02 16:17:49 +02:00
Theo Arends 2210bda2e6 Replace APMac with BSSId
Replace APMac with BSSId in state and status 11
2018-09-02 15:54:26 +02:00
Theo Arends 4b4b0dff85 Fix compile error
Fix compile error
2018-09-02 14:46:06 +02:00
Theo Arends 0ac8c73938 Fix Wemo emulation
Fix Wemo emulation to select the first relay when more than one relay is present (#3657)
2018-09-02 14:26:00 +02:00
Theo Arends a60876378f Show AP channel on webpage
Show channel number on webpage and wifiscan debug info. Add BSSid to wifiscan debug info
2018-09-02 13:01:08 +02:00
Theo Arends 5623924813 Add Wifi channel number
Add Wifi channel number to state message (#3664)
2018-09-02 12:10:22 +02:00
Theo Arends c6a14c5fe7 Fix possible exception
Fix possible exception due to buffer overflow (#3659)
2018-09-02 11:52:24 +02:00
Theo Arends 48b5f9117a 6.2.0.1 - Fix StateText ambiguity
Fix possible ambiguity on command parameters if StateText contains numbers only (#3656)
2018-09-02 11:11:49 +02:00
Alexey Kubrinsky 6a57882829
Revert "Fix ccs811 begin result check" 2018-09-02 00:47:35 +02:00
alex e5186e602e Fix ccs811 begin result check 2018-09-01 19:57:10 +02:00
Theo Arends 2e8864effd 6.2.0 - Released 2018-08-31 16:53:40 +02:00
Theo Arends 5e927000d8 Prep for release
Prep for release
2018-08-31 14:47:49 +02:00
Theo Arends fb6640e94b Update display drivers
Add features to and provide more stable display drivers
2018-08-31 12:17:09 +02:00
Jason2866 bd4048143e
Update xsns_27_apds9960.ino
New Version from Staars https://github.com/Staars/Sonoff-Tasmota/tree/development/sonoff
2018-08-30 18:12:21 +02:00
Theo Arends 2212af4860 Clear GPIO on multi boot loop
Clear GPIO on multi boot loop
2018-08-30 14:47:48 +02:00
Theo Arends f7c38f24f3 6.1.1.14 Add boot loop detection
Add boot loop detection and try to fix
2018-08-30 14:27:33 +02:00
Theo Arends 3abdaaffb7 Revert "6.1.1.14 Add boot loop detection"
This reverts commit b9a875d6fb.
2018-08-30 13:19:09 +02:00
Theo Arends b9a875d6fb 6.1.1.14 Add boot loop detection
Add boot loop detection and try to fix
2018-08-30 12:22:24 +02:00
Adrian Scillato ee8a698ca5
Added command TIMERS 2 to toggle global timers enable flag
#3308
2018-08-29 14:21:13 -03:00
Theo Arends ebb7f929a0 Fix HsbColor
Fix HsbColor (#3430) and enable multiple DS18X20 sensors as default
2018-08-29 16:05:27 +02:00
Theo Arends 19a8113cf4 Revert "Merge branch 'release-6.2' into development"
This reverts commit 433dc8d9d1, reversing
changes made to 6c61cdead7.
2018-08-28 18:13:14 +02:00
Theo Arends 433dc8d9d1
Merge branch 'release-6.2' into development 2018-08-28 17:45:28 +02:00
Theo Arends 6c61cdead7 Prep for release
Prep for release
2018-08-28 17:34:51 +02:00
Theo Arends 06604b7f09 Version update
Version update
2018-08-28 16:33:05 +02:00
Theo Arends 624ee28db3 Revisit naming and features
Revisit naming and features in preparation to release
2018-08-28 14:28:36 +02:00
Theo Arends 93e855ace7 Fix compile error
Fix compile error (#3618)
2018-08-28 12:39:51 +02:00
Theo Arends 55b43734d8 6.1.1.13 - Fixes
6.1.1.13 20180828
 * Fix 6.1.1.12 regression of Mem and Var default handling (#3618)
 * Optimizations
2018-08-28 11:10:32 +02:00
Theo Arends f8666c0410 Some requested additions
* Add optional MQTT_TELE_RETAIN to Energy Margins message (#3612, 3614)
 * Add Individual HSBColorX commands (#3430, #3615)
 * Add RuleX debug options 8,9,10 (StopOnError) to control RuleX execution status after an exception restart (#3607)
2018-08-28 10:26:33 +02:00
Theo Arends e4006757b1
Merge pull request #3615 from ascillato/patch-2
Added Individual HSBCOLOR Commands for HomeKit
2018-08-28 10:04:32 +02:00
Adrian Scillato aa79874013
Added Individual HSBCOLOR Commands for HomeKit
Added individual HSBCOLOR commands for better integration to HomeKit and OpenHab.

Usage:

HSBCOLOR1 <x> to set Hue
HSBCOLOR2 <x> to set Saturation
HSBCOLOR3 <x> to set Brightness

Still is supported previous command HSBCOLOR <hue>,<sat>,<bri>
2018-08-27 22:46:04 -03:00
Adrian Scillato e20c2b056a
Added Optional Retain Flag for Energy Margins
Request #3612
2018-08-27 18:35:23 -03:00
Theo Arends 04c81e31d1 Fix Sonoff Bridge data length
Fix Sonoff Bridge data reception when using Portisch EFM8 firmware and in data buffer length (#3605)
2018-08-27 18:16:28 +02:00
Theo Arends 9b54ab9038 Some optimizations
Some optimizations
2018-08-27 16:07:23 +02:00
Theo Arends d4931f7b11 Fix handling default names Pt.2
Fix handling default names Pt.2
2018-08-27 14:53:09 +02:00
Theo Arends 9978381c94 Fix handling deafult names
Fix handling use of default names when using names starting with shortcut character (#3392, #3600)
2018-08-27 13:06:22 +02:00
Theo Arends d69e88b50b 6.1.1.12 - Add debounce time
6.1.1.12 20180827
 * Add commands ButtonDebounce 40..1000 and SwitchDebounce 40..1000 to have more control over debounce timing. Default is 50mS (#3594)
2018-08-27 12:01:20 +02:00
Adrian Scillato f70e4ab783
Added time parameters as variable comparison
Added %sunrise%, %sunset%, %uptime% and %time% to be used in rules comparison like:

on Time#Initialized do backlog event checksunrise=%time%; event checksunset=%time% endon
on event#checksunset>%sunset% do power3 1 endon
on event#checksunrise<%sunrise% do power3 1 endon
2018-08-27 04:59:17 -03:00
andrethomas 44c62fde40
Update MCP230xx flash usage information
Update MCP230xx flash usage information
2018-08-27 08:12:33 +02:00
Theo Arends ea43540b43 Update WS2812 driver
Update WS2812 driver for new state time
2018-08-26 17:32:49 +02:00
Theo Arends bbd2529914 Sleep fixes part 2 and 3 of 3
* Change scheduler phase 2/3 - Fixed when sleep is enabled: Blinktime (#3581)
 * Change scheduler phase 3/3 - Some sensor update timings: AdcEvery 200 -> 250, Senseair 300 -> 250, SDM120 300 -> 250, SDM630 300 -> 250
2018-08-26 17:10:18 +02:00
Theo Arends f090050e69 6.1.1.11 - Sleep fixes part 1
6.1.1.11 20180826
 * Change scheduler phase 1 - Fixed when sleep is enabled: Uptime, Delay, PulseTime and TelePeriod (#3581)
2018-08-26 15:42:35 +02:00
andrethomas 45abaabb1e MCP230xx - Resolve compiler warnings 2018-08-26 13:38:43 +02:00
Theo Arends c5769094c9
Merge pull request #3593 from ascillato/patch-1
Added command PUBLISH2 to send retained MQTT msg
2018-08-25 23:26:29 +02:00
Adrian Scillato 314db26f54
Added command PUBLISH2 to send retained MQTT msg
Solves #2861, #2851 and #3428
2018-08-25 17:46:34 -03:00
andrethomas 455bf1f3c1 MCP230xx - Extend sensor29 commands 2018-08-25 21:15:41 +02:00
Theo Arends 4defda2f1a Rewrite some GPIO options
Rewrite GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP
2018-08-25 13:08:06 +02:00
Theo Arends 1c14015f63 Update feature list
Update feature list
2018-08-25 12:26:36 +02:00
Theo Arends 48668bce7b 6.1.1.10 - Disable core 2.4.2 sleep
Disable wifi sleep for both Esp8266/Arduino core 2.4.1 and 2.4.2 to solve device freeze caused by Espressif SDK bug (#3554)
2018-08-25 11:59:21 +02:00
Theo Arends 21e731f69d Fix MCP230XX regression
Fix MCP230XX functional regression (#3579)
2018-08-25 11:38:32 +02:00
andrethomas e59fec0fea MCP230xx - For the love of brackets :)) 2018-08-24 21:24:43 +02:00
andrethomas d9d867fa9b MCP230xx - Change MCP230xx_Command() to use char arrays instead of String objects 2018-08-24 20:58:19 +02:00
Theo Arends b34874ba45 Add all ruletimer values
Add all ruletimer values to command RuleTimer result message (#3571)
2018-08-24 18:22:04 +02:00
Theo Arends ae6fcd4d60 Change sleep command
Change command sleep from restart after change to not restart after change (#3554)
2018-08-24 16:38:55 +02:00
Theo Arends 5977bd37e1 Fix xdrv_99_debug.ino compilation
Fix xdrv_99_debug.ino compilation error on core 2.4.2 (#3566)
2018-08-24 11:30:16 +02:00
Erik 40b4757389 Add support for setting color from Domoticz 2018-08-23 23:53:44 +02:00
Theo Arends ef842daa32 Fix test
Fix test
2018-08-23 17:47:45 +02:00
Theo Arends 035bc29475 Fix EnergyReset3
Fix EnergyReset3 (#2723)
2018-08-23 17:38:17 +02:00
Theo Arends 6a5c0d29e8 6.1.1.9 - Fixes and Additions
6.1.1.9
 * Allow user override of define MAX_RULE_TIMERS (#3561)
 * Allow user override of define MAX_RULE_VARS
 * Add GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP (#2525)
 * Fix OtaMagic when file path contains a dash (-) (#3563)
2018-08-23 16:05:51 +02:00
Norbert Richter 52413f103e Fixed OtaMagic handling having minus "-" within OtaUrl 2018-08-23 14:31:50 +02:00
Theo Arends bab6ae5644 6.1.1.8 - Fixes and Additions
6.1.1.8
 * Fix MQTT reconnection detection when using TasmotaMqtt library (#3558)
 * Add build time setting of ButtonTopic and SwitchTopic (#3414)
 * Add display features and dynamic buffering
2018-08-23 11:49:17 +02:00
Theo Arends 1e3a8975c5
Merge pull request #3414 from emontnemery/build_time_button_switch_topic
Build time setting of button and switch topic
2018-08-23 09:59:09 +02:00
Theo Arends 0cee695df4
Merge pull request #3556 from MadDoct/development
Correct bug with toggle command and pinmode 6 when using interlocking
2018-08-23 09:54:31 +02:00
Adrian Scillato 4b99fd8ad3
Update xdrv_01_mqtt.ino 2018-08-22 23:33:19 -03:00
Adrian Scillato 4325d51824
Fixed MQTT Reconnection Bug
If you restart your wifi router, and you have Tasmota_MQTT Library with wificonfig 5, Tasmota don't realize of this MQTT disconnection.
2018-08-22 23:19:56 -03:00
MadDoct 87374edb61
Correct bug with toggle command and pinmode 6 2018-08-23 00:25:38 +01:00
andrethomas 10aeeec4e9 change uint8_t to uint16_t in the settings union 2018-08-21 22:43:56 +02:00
andrethomas 46e1ec870e Make space for more config options 2018-08-21 22:12:40 +02:00
Theo Arends 8ac213e99d Fix DisplayRotate
* Fix DisplayRotate
* Increase SSD1306 row count to 16
* Remove redundant Tasmota function from Adafruit ILI9341 library
2018-08-21 14:56:58 +02:00
MadDoct a01b87eaac
update interlocking output to include the pair info 2018-08-20 23:01:42 +01:00
Theo Arends 43dbbd3a98 Add more display functionality
* Add display define USE_DISPLAY_MODES1TO5 to select display modes 1 to 5
 * Add command DisplayRotate 0..3 to select persistent display rotation
2018-08-20 18:07:19 +02:00
Theo Arends 6d98864a04 Fix iFan02 power on state
Fix iFan02 power on state (#3412, #3530)
2018-08-20 15:51:46 +02:00
Adrian Scillato 9e6ea1840d
Added extra KNX configuration check at startup 2018-08-20 00:12:37 -03:00
Theo Arends 6d1ce5bd69 Fix SDM120 wrong values
Fix SDM120 reporting wrong negative values to Domoticz (#3521)
2018-08-19 13:00:27 +02:00
Theo Arends 0e2e28790f
Merge pull request #3519 from andrethomas/development
Add millis() since last interrupt occurred
2018-08-19 08:47:29 +02:00
andrethomas 12d0226666 Add millis() since last interrupt occurred 2018-08-19 01:35:30 +02:00
Xavier MULLER f2e354d067
Update fr-FR.h 2018-08-19 00:30:04 +02:00
Theo Arends a2c900e4a9
Merge pull request #3512 from andrethomas/development
MCP23008/MCP23017 Bugfix for resetX
2018-08-18 18:12:42 +02:00
Theo Arends b12c8d39d5 Add initial display support
Add initial display support for Lcd, Oled, Matrix, Tft and e-paper - Need more docs
2018-08-18 18:11:22 +02:00
andrethomas 1eebc2e4ee
Update xsns_29_mcp230xx.ino 2018-08-18 16:34:41 +02:00
andrethomas 5560e6ae4a MCP23008/MCP23017 Bugfix for resetX - Fix default intmode to ALL for pin modes 2 through 4 (Input pin modes) 2018-08-18 16:28:25 +02:00
andrethomas 93bd6b135c Update xsns_29_mcp230xx.ino 2018-08-17 23:19:14 +02:00
andrethomas c611be44eb Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-08-17 11:25:04 +02:00
Theo Arends bb87f99ee0 Fix version numbering
Fix version numbering
2018-08-17 11:10:21 +02:00
andrethomas e3f2deacce Allow intmode=3 (Disabled) 2018-08-17 00:23:20 +02:00
andrethomas 3346660419 Add intmode for pinmode 2 to 4 with sensor29 pin,pinmode,pullup,intmode - 0 = ALL, 1 = EVENT only, 2 = TELE only 2018-08-17 00:18:45 +02:00
Manfred 4d34f98155
Update de-DE.h
make units SI compliant
2018-08-16 10:02:33 +02:00
andrethomas 084f3d486c Fix settings.h and compiler warning in xsns_29_mcp230xx.ino 2018-08-15 22:07:25 +02:00
andrethomas fd0e759f42 Update output telemetry timing 2018-08-15 13:16:12 +02:00
andrethomas 6818f8d92a Change mcp230xx_config bits and do some housekeeping on formatting 2018-08-15 10:23:02 +02:00
MadDoct e08c16c5ca
Merge branch 'development' into patch-4 2018-08-14 23:52:26 +01:00
MadDoct 2d36f2e447
Added interlocking output in pairs
If Setoption14 is set
The output pins will have paired interlocking (D0 with D1, D2 with D3, etc...) as long as:
They have the same mode (both have pinmode 5 or both have 6)
2018-08-14 23:49:34 +01:00
andrethomas 1b714b0320
Update xsns_29_mcp230xx.ino 2018-08-14 21:45:56 +02:00
andrethomas 50f2eb3811
Update xsns_29_mcp230xx.ino 2018-08-14 21:44:33 +02:00
andrethomas db223b9d10
Update xsns_29_mcp230xx.ino 2018-08-14 21:41:17 +02:00
andrethomas 18f47be237 Cleanup #else and #endif statements with // USE_MCP230xx_OUTPUT comments 2018-08-14 21:36:10 +02:00
MadDoct b946d9e233
Update xsns_29_mcp230xx.ino 2018-08-14 18:35:18 +01:00
MadDoct 4d9a034663
Change output data some more... 2018-08-14 16:45:06 +01:00
MadDoct 48b6ee20ed
add pinmode 6 for inverted output and changed some data output 2018-08-14 00:13:56 +01:00
Theo Arends 8a61c25218 6.1.1.6 Add modulo option to rules
Add modulo option to rules like rule1 on Time#Minute|5 do backlog power on;delay 200;power off endon (#3466)
2018-08-13 13:09:22 +02:00
Theo Arends e15aeabbcf Fix Pow R2 / S31 buffer sync
Fix Pow R2 / S31 buffer sync
2018-08-13 11:33:33 +02:00
znanev 3861dd2465
Update Bulgarian language file 2018-08-12 16:11:24 +01:00
Theo Arends ee9b26ecfa 6.1.1.5 - Fix Pow R2 and S31
Fix some Pow R2 and S31 checksum errors using optimized re-sync
2018-08-12 16:15:03 +02:00
Theo Arends 3efb84fb93 Change version representation
Change version representation from 1.1.1a to 1.1.1.1 for better change reference
2018-08-12 14:05:15 +02:00
andrethomas f40c3c3a11 Update mcp230xx_config[].b4 -> .saved_state in settings.h 2018-08-12 00:38:54 +02:00
andrethomas e5a80df2ef Rename mcp230xx_config[].b4 to mcp230xx_config[].saved_state 2018-08-12 00:32:56 +02:00