Commit Graph

1360 Commits

Author SHA1 Message Date
Mike e3f1d4ad9a
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:50:05 +02:00
Mike 651bdf03c0
Update fr-FR.h
Added some new text UV defines and one unit define W/m2
2018-09-25 14:49:51 +02:00
Mike 89e04dafb0
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:46:43 +02:00
Mike c18a3cd7e0
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:45:27 +02:00
Mike ef6cd4530d
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:44:04 +02:00
Mike 1738f68247
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:42:28 +02:00
Mike ee7acd849b
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:40:55 +02:00
Mike af5ee5a883
Added defines for text
Added defines for uv text and one unit define
2018-09-25 14:37:08 +02:00
Mike 2ba0b1be73
driver cahnge
Added a lot of new calculation for more precission and more output so as UV Index plus a text behind the value and UV Power in W/m2
2018-09-25 14:32:24 +02:00
Mike 977ee779b0
Added VEML6070 defines
Added define for Rset for the VEML6070 sensor and to show or show-not the raw value
2018-09-25 14:30:01 +02:00
Theo Arends ec421e6144 Released decode-config.py
Released tools/decode-config.py by Norbert Richter to decode configuration data.
2018-09-25 14:08:36 +02:00
Theo Arends 2029440fae 6.2.1.7 Fix NTPserver change
6.2.1.7 20180925
 * Remove restart after ntpserver change and force NTP re-sync (#3890)
 * Release full Shelly2 support
2018-09-25 11:35:37 +02:00
Adrian Scillato ecd3175257
Prevent Command NtpServer to restart Tasmota
#3890
2018-09-24 16:16:14 -03:00
Theo Arends 43c3cf57d5 Shelly2 Cleanup
Cleanup and debug updates
2018-09-24 18:16:35 +02:00
Theo Arends f65d8c0cbf Fix possible array overflow
Fix possible array overflow (#3887 )
2018-09-24 11:44:40 +02:00
andrethomas 5fa47c3fdc MCP230xx - Add missing (void) 2018-09-24 00:30:07 +02:00
Theo Arends 683c211241 Fix Shelly2 wrong FrequencySet
Fix Shelly2 wrong FrequencySet calculation and add input range checks (#3882)
2018-09-23 16:41:22 +02:00
Theo Arends 01ce1b0c91 Fix Shelly2 monitoring
Disable serial logging on Shelly2 as serial is being used by energy monitoring (#3878)
2018-09-23 13:55:42 +02:00
Theo Arends f05fc71d67 Fix rule trigger POWER1#STATE
Fix rule trigger POWER1#STATE execution after restart and SetOption0 is 0 (#3856)
2018-09-22 17:37:49 +02:00
Theo Arends 665a4abc47 Fix Pow R2 and S31 low power
* Add power value below 5W to Sonoff Pow R2 and S31 (#3745)
* Add force_update to Home Assistant discovery (#3873)
2018-09-22 16:09:13 +02:00
Theo Arends f9134a89c4
Merge pull request #3873 from emontnemery/fix_hass_button
Set force_update to true for buttons
2018-09-22 16:05:54 +02:00
Erik 544abec7bf Set force_update to true for buttons 2018-09-22 15:42:18 +02:00
Theo Arends 7a767f104c 6.2.1.6 Remove some commands
6.2.1.6 20180922
 * Removed commands PowerCal, VoltageCal and CurrentCal as more functionality is provided by commands PowerSet, VoltageSet and CurrentSet
 * Allow decimals as input to commands PowerSet, VoltageSet and CurrentSet
 * Add support for PCA9685 12bit 16pin hardware PWM driver (#3866)
2018-09-22 15:09:53 +02:00
Theo Arends 57e7005b48 Fix TSL2561 timeslot 2018-09-22 12:18:13 +02:00
Theo Arends 20e8d76877 TSL2561 driver fixes
Rewrite TSL2561 driver to fix some issues (#3681)
2018-09-22 12:04:38 +02:00
andrethomas 4ff5667c2a PCA9685 I2C Hardware PWM - Experimental 2018-09-22 00:17:08 +02:00
andrethomas 4992b43689 PCA9685 I2C Hardware PWM - Experimental 2018-09-21 23:43:58 +02:00
Theo Arends 557545cb56 Cleanup Driver
Cleanup Driver
2018-09-21 16:19:31 +02:00
Theo Arends 392ae6119d
Merge pull request #3854 from andrethomas/development
Add driverXX support for FUNC_COMMAND callback
2018-09-21 16:10:56 +02:00
Theo Arends f7a8b1f923 Shelly2 clean up
Shelly2 clean up
2018-09-21 16:02:56 +02:00
Theo Arends 4065a215f0 Add Shelly2 Energy Monitoring
Add energy monitoring to Shelly2 (#2789)
2018-09-21 15:22:17 +02:00
Theo Arends 415ed97dab 6.2.1.5 Add web authentication
Add authentication to HTTP web pages
2018-09-21 11:15:42 +02:00
andrethomas 846d7a911f Add driverXX support for FUNC_COMMAND callback 2018-09-20 22:56:07 +02:00
andrethomas 363e19d681 MCP230xx - Force C/C++ compliance 2018-09-20 21:03:33 +02:00
andrethomas c9f0c18466 LM75AD - Force function parameters to be C and C++ compliant 2018-09-20 20:44:17 +02:00
Theo Arends ff4f8f75c1 Add uncalibrated energy monitor
Add uncalibrated energy monitoring to Shelly2 (#2789)
2018-09-17 20:32:38 +02:00
andrethomas 29b3e6ec27 MCP230xx - Change address selection from auto to user defined 2018-09-16 21:36:56 +02:00
Theo Arends bf7dcb8eec 6.2.1.3 Add SerialSend5
6.2.1.4 20180916
 * Add command SerialSend5 to send raw serial data like "A5074100545293"
 * Update MCP230xx driver
 * Update Czech translation
 * Update MP3 driver (#3800)
 * Add userid/password option to decode-status.py (#3796)
 * Fix syslog when emulation is selected (#2109, #3784)
 * Fix Pzem2 compilation error (#3766, #3767)
2018-09-16 16:09:00 +02:00
andrethomas 98cfb00803 MCP230xx - Fix millisecond counter reset placement 2018-09-15 18:59:45 +02:00
andrethomas d0fa749c30 MCP230xx - Fix support for setoption4 2018-09-15 15:56:56 +02:00
Theo Arends 9fc5d71629 Update Czech translation
Update Czech translation
2018-09-15 12:00:22 +02:00
Mike 3c947e4c81
Added version info and new MP3 Player commands
- Added the version information to have some little hints what is done.
- Added new commands and changed two commands from the first version.
-- Intention was to get as less of commands as needed.
-- There will be possible a version with much more function and serial->read.

Command list:
- MP3TRACK
-- specify playback of a track, e.g. MP3Track 003.
- MP3PLAY        
-- Play, works as a normal play on a real MP3 Player, starts at 001.mp3 file on the selected device.
- MP3PAUSE     
-- Pause, was original designed as stop, see data sheet.
- MP3STOP       
-- Stop, it's a real stop now, in the original version it was a pause command.
- MP3VOLUME 
-- specifies the volume and means a console input as 0..100.
- MP3EQ           
-- specify the EQ(0/1/2/3/4/5), 0:Normal, 1:Pop, 2:Rock, 3:Jazz, 4:Classic, 5:Bass.
- MP3DEVICE    
-- specify playback device, USB=1, SD-Card=2, default is 2 also after reset or power down/up.
2018-09-15 09:33:53 +02:00
Mike 63a1763a3f
added MP3_VOLUME to init the MP3 Player 2018-09-15 09:13:39 +02:00
Adrian Scillato b3d2447fc7
Update _changelog.ino 2018-09-13 11:54:24 -03:00
Adrian Scillato 6f724e705b
Added support for Xiaomi-Phillips bulb 2018-09-13 11:45:01 -03:00
Adrian Scillato f8115a5abd
Added support for Xiaomi-Phillips bulb
https://github.com/arendst/Sonoff-Tasmota/issues/3055
2018-09-13 11:43:23 -03:00
Adrian Scillato 8025f28409
Let syslog to be active when emulation is active too
solves issue https://github.com/arendst/Sonoff-Tasmota/issues/2109
2018-09-12 19:00:35 -03:00
Theo Arends e60f7e4e9e
Update xnrg_05_pzem2.ino 2018-09-11 19:14:15 +02:00
Theo Arends e4ebee738b Minor fixes
Minor fixes
2018-09-11 10:49:13 +02:00
Adrian Scillato 40b9e06b1e
Enable AD0 in sonoff-sensors.bin
#3756
2018-09-10 18:04:21 -03:00
andrethomas 786fd792b7 Fix tr-TR.h and uk-UK.h compiler errors 2018-09-10 19:44:23 +02:00
andrethomas 6f4fefbd77 Fix potential buffer overun for EVENT 2018-09-10 18:32:41 +02:00
Nico b9d1bb965c correct error 2018-09-10 14:06:31 +02:00
Nico 047932a191 cosmetics 2018-09-10 12:25:57 +02:00
Nico dc3d699fd1 cosmetics 2018-09-10 12:23:51 +02:00
Nico 804e74d0de cosmetics 2018-09-10 12:22:00 +02:00
Nico 2f9ba4e7f3 Merge branch 'development' of https://github.com/edelstahlratte/Sonoff-Tasmota into development 2018-09-10 12:12:26 +02:00
Nico ef6d5bb340 cosmetics 2018-09-10 12:11:28 +02:00
edelstahlratte 0f25925357
Add SDS0X1 working period 2018-09-10 11:50:54 +02:00
Nico cc23deac00 use SDS0X1 working period command 2018-09-10 11:37:16 +02:00
Theo Arends 4c41ea4461 Houskeeping 2018-09-09 14:31:40 +02:00
Theo Arends 56920ad826 Adjust list box width
Adjust GPIO drop down list box width
2018-09-08 18:33:56 +02:00
Theo Arends 3b029797b6 Add sleep to Nova Fitness SDS01X
Add sleep to Nova Fitness SDS01X sensor (#2841, #3724)
2018-09-08 18:25:06 +02:00
Theo Arends b96c0d7773 Fix Novafitnes GPIO selection
Fix Novafitnes GPIO selection
2018-09-08 18:17:36 +02:00
Theo Arends 649ec49478
Merge pull request #2841 from JohannWeging/development
Add Nova SDS0X1 sensor idling to expand its lifespan
2018-09-08 18:09:23 +02:00
Theo Arends 7cd9224819 6.2.1.3 - Change drop down list
6.2.1.3 20180907
 * Change web Configure Module GPIO drop down list order for better readability
 * Fix showing Period Power in energy threshold messages
 * Fix ButtonRetain to not use default topic for clearing retain messages (#3737)
2018-09-08 17:18:31 +02:00
Erik b5d7f75647 Fix setting and getting color temperature for Philips Hue emulation
- Improve setting and getting color temperature for Philips Hue emulation
- Clamp Philips Hue API values
- Turn off white LEDs when setting hue+saturation
2018-09-08 08:49:08 +02:00
Theo Arends f517755303 Prep for frequency display
Prep for energy frequency display and update xnrg_05_pzem2.ino with correct register values
2018-09-07 18:15:47 +02:00
Theo Arends b659444c3a Add basic MP3 player
* Fix KNX PA exception. Regression from 6.2.1 buffer overflow caused by subStr() (#3700, #3710)
 * Add basic support for MP3 player using DFRobot RB-DFR-562 (#3723)
2018-09-07 10:54:24 +02:00
Mike 9bb6c201df
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:31 +02:00
Mike a37f0b3973
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:22 +02:00
Mike a33566f93e
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:15 +02:00
Mike 8dfbaf6566
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:30:31 +02:00
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
Theo Arends 87eb6a25cc Update changelog
Update changelog
2018-08-11 16:24:06 +02:00
Theo Arends 9147635d5c Add ifan02 Fanspeed +/-
Add ifan02 Fanspeed +/- as command option to increase or decrease fenspeed (#3415)
2018-08-11 16:12:10 +02:00
Theo Arends 75284f09fe Re-fix S31/Pow R2 serial sync
Re-fix S31/Pow R2 energy data serial sync (#3425)
2018-08-11 15:47:27 +02:00
Theo Arends 9856a8f7c0
Merge pull request #3437 from altelch/development
Changed CounterType 1 to micros() and implemented stall detection
2018-08-11 11:09:11 +02:00
Theo Arends 18fae5b949
Merge pull request #3445 from alisaitteke/development
Language updates
2018-08-11 11:07:20 +02:00
MadDoct 90e3d77ad5
Increase human readability of the output data 2018-08-10 18:29:45 +01:00
Ali TEKE a705a9980b Updated Turkish language file 2018-08-10 01:59:17 +03:00
hkrupp 432a812dc3 Changed CounterType 1 to micros() and implemented stall detection 2018-08-09 13:24:13 +02:00
andrethomas ac8f77ca63 Add MCP230xx_OUTPUT and USE_MCP230xx_DISPLAYOUTPUT to user_config.h 2018-08-09 12:02:46 +02:00
andrethomas 6c3072f864 MCP23008/MCP23017 - Extend sensor29 command to enable output 2018-08-09 11:46:14 +02:00
Erik e21a155606 Build time setting of button and switch topic 2018-08-05 20:01:50 +02:00
andrethomas 1ecb6e5f4d
Update xsns_29_mcp230xx.ino
Making the result more usefull to integrate into sensors or switches in home assistant
2018-08-05 17:50:11 +02:00
andrethomas dc9193efcb
Update xsns_26_lm75ad.ino 2018-08-04 19:11:37 +02:00
andrethomas ed3a45985d Fix detection of LM75AD 2018-08-04 19:07:47 +02:00
andrethomas 3c62263bb3 Add extended sensor29 reset commands 2018-08-04 01:05:27 +02:00
Jason2866 dfb59ad07d
Update de-DE.h 2018-08-02 23:14:39 +02:00
Adrian Scillato 1c7bba4f1a
Update Spanish Translation 2018-08-02 13:54:43 -03:00
Theo Arends fed3118c1c Revert changes for next core
Revert changes for next core as PWM doesn't work in staged version as it used to do.
2018-08-02 18:10:11 +02:00
Theo Arends 4902915408 Update Cz language file
Update Cz language file to v6.1.1c
2018-08-02 17:53:26 +02:00
Theo Arends 88455b696c Prepare for next core version
Prepare for next core version using updated PWM library
2018-08-02 17:45:09 +02:00
Theo Arends baa46d3caa Update language files
Update language files
2018-08-02 12:06:53 +02:00
Theo Arends 25fee28546 Add message when no JavaScript
Add message when JavaScript is not enabled in webbrowser (#3388)
2018-08-02 12:03:33 +02:00
andrethomas a6bfe9b4f1
Update xsns_29_mcp230xx.ino 2018-08-01 18:08:42 +02:00
andrethomas 33d2857384 Add event command when interrupt is detected 2018-08-01 17:56:08 +02:00
andrethomas 6380a5a326 Merge branch 'development' of https://github.com/andrethomas/Sonoff-Tasmota into development 2018-07-31 18:44:49 +02:00
andrethomas caf88ddc45 Extend sensor29 pin,? command by adding to MCP230XX_SENSOR_RESPONSE to provide current state of pin (0/1=LOW/HIGH) 2018-07-31 18:44:31 +02:00
Theo Arends 6f455e2c00 Update debug info
Update debug info
2018-07-31 11:49:23 +02:00