Commit Graph

1271 Commits

Author SHA1 Message Date
Theo Arends 40052a343f Add image sonoff-display
Add define USE_DISPLAYS for selecting image sonoff-display
2018-09-25 15:35:49 +02:00
Mike 13e0bcbd26
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:01:16 +02:00
Mike 044363dc00
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:00:57 +02:00
Mike cf952f6637
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:00:34 +02:00
Mike 56e9e92655
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:57:17 +02:00
Mike c8f51b68fd
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:57:01 +02:00
Mike 78df649fca
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:56:38 +02:00
Mike a6cf1cde4f
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:53:25 +02:00
Mike f7c16f5388
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:53:03 +02:00
Mike 4c900eb0b7
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:52:41 +02:00
Mike 9182d02d0c
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:50:18 +02:00
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