Commit Graph

872 Commits

Author SHA1 Message Date
Theo Arends 5372cdf511 Fix invalid response
Fix invalid response using more than 4 switches and domoticz
2018-07-12 14:24:17 +02:00
Theo Arends a489b4a44a Add profile info to drivers
Update release notes and add profile info to some drivers
2018-07-12 12:19:08 +02:00
andrethomas 401ee8f87d Updated MCP230xx driver 2018-07-11 21:16:37 +02:00
Theo Arends 29ed5c1a27 Update sensor drivers
Update sensor drivers
2018-07-11 15:35:12 +02:00
Theo Arends 4bc3ce70dd Updated bmp driver
Updated bmp driver
2018-07-11 14:39:07 +02:00
Theo Arends 50ce01cd0b Update sensor drivers
Update sensor drivers to provide instant results
2018-07-11 14:21:11 +02:00
Theo Arends 8fdcbaa8e1 Add read sensor retry
Add read sensor retry to DS18B20, DS18x20, DHT, SHT1X and HTU21
2018-07-10 22:12:16 +02:00
Theo Arends e7a21887d3 Change SHT1x driver
Change SHT1x driver to provide better instant results
2018-07-10 15:50:07 +02:00
Theo Arends 39a0867b6a Fix DHT driver
Fix DHT driver mixing values for different sensors (#1797)
2018-07-09 17:59:56 +02:00
Theo Arends 0c902b7d64 Change DHT driver
Change DHT driver to provide better instant results and add decimals to DHT11 (#3164)
2018-07-09 16:39:24 +02:00
Theo Arends d875b0b1ad Change DS18x20 driver
Change DS18x20 driver to provide better instant results (#3169)
2018-07-09 15:50:52 +02:00
Theo Arends fb41466cb7 Change DS18B20 driver
Change DS18B20 driver to provide better instant results
2018-07-09 14:18:26 +02:00
Theo Arends cc24dd11ce Update TSL2561 library
Remove TSL2561 debug message and update library (#2415)
2018-07-09 12:41:17 +02:00
Theo Arends f81e0eb2e4 Change SHT1x sensor detection
Change SHT1x sensor initialization from pre-teleperiod to once during restart to fix I2C interference
2018-07-09 12:24:24 +02:00
Theo Arends f9ce86a6e8 Add wifi/mqtt status blinkyblinky
6.1.0a
 * Add wifi and mqtt status led blinkyblinky to be disabled by SetOption31 1. Does not work when LedPower is On (deliberate) (#871, #2230, #3114, #3155)
 * Remove not needed functionality from Sonoff-minimal to save space
2018-07-07 17:30:58 +02:00
Theo Arends eed4bfd494 Fixed minimal
enabled HTTPCommand for minimal
2018-07-07 10:21:29 +02:00
Matias B 9236c082f6 Fix es-AR typos 2018-07-06 14:58:19 -03:00
Theo Arends 2058b9fa95 Updated to v6.1.0a
Updated to v6.1.0a
2018-07-06 18:00:50 +02:00
Rene Bartsch a01edf6fd2
MPR121 touch button driver added.
The Freescale MPR121 is a 12-channel proximity capacitive touch sensor Controller. It can handle 12 electrodes as touch buttons.
2018-07-06 15:41:16 +02:00
Rene Bartsch 05cc738b7f
#define USE_MPR121 added for MPR121 touch button controller. 2018-07-06 15:34:15 +02:00
Theo Arends d08cefb0df Rewrite BME680 driver
Rewrite BME680 driver now using latest Bosch BME680 library (#2969)
2018-07-04 18:41:00 +02:00
Theo Arends c896437124 v6.0.0c - Add spare SetOptions
6.0.0c
* Add support for bitflags SetOption50 .. SetOption81 (#3118)
2018-07-03 12:48:56 +02:00
Theo Arends 8f60a88a20 Add support for BlitzWolf BW-SHP2
Add support for BlitzWolf BW-SHP2 (and Homecube, Gosund SP1) Energy
Monitoring Smart Socket (#2223)
2018-07-02 14:25:02 +02:00
Theo Arends dd92abff54 Reserve space for MCP23017
Reserve space for MCP23017 (#3107)
2018-07-02 10:22:01 +02:00
Theo Arends c8871ae9e8 Fix iFan02 friendlyname
Fix iFan02 friendlyname
2018-07-01 15:18:50 +02:00
Theo Arends d3d876f030 Add Sonoff iFan02 support
Add support for Sonoff iFan02 as module 44 introducing command FanSpeed
0..3 (#2839)
2018-07-01 15:06:44 +02:00
Theo Arends 8b7645b05d Quick fix to re-instate iFan02 RC
Quick fix to re-instate iFan02 RC
2018-06-30 19:09:48 +02:00
Theo Arends eb42ec6a1c Add restriction
Add restriction
2018-06-30 18:54:22 +02:00
Theo Arends 0fc019e418 Initial Sonoff iFan02 support
Initial Sonoff iFan02 support (#2839)
2018-06-30 18:50:10 +02:00
Theo Arends 71e2ec4cc9 Add some delay to TM1638 - better
Add some delay to TM1638 (#2226)
2018-06-30 14:53:04 +02:00
Theo Arends 409fedf11c Add some delay to TM1838 comms
Add some delay to TM1838 comms (#2226)
2018-06-30 14:41:40 +02:00
Theo Arends 2a62356172 Allow increase in friendlynames
Allow increase in friendlynames (#3098)
2018-06-30 14:17:26 +02:00
Theo Arends 03ae4098b5 Add support for Sonoff S26 Smart Socket
Add support for Sonoff S26 Smart Socket (#2808)
2018-06-29 13:48:19 +02:00
Theo Arends 1c6f752ba8 Add enforce Hass discovery as light group
Add command SetOption30 to enforce Hass discovery as light group (#1784)
2018-06-29 11:15:27 +02:00
Adrian Scillato 27ddbb0609
Added decimal values support for commands ADD, SUB, MULT and SCALE 2018-06-28 13:06:21 -03:00
Adrian Scillato 50d504fb7b
KNX: Command KNXTX_VALx now supports value with decimals 2018-06-28 12:52:05 -03:00
Theo Arends 3e96e04690 Add experimental (untested) TM1638 support
Add experimental (untested) TM1638 switch support (#2226)
2018-06-28 17:40:37 +02:00
Theo Arends 6e9602418d v6.0.0b - Support up to 8 switches
6.0.0b
* Change number of switches from 4 to 8 (#2885, #3086)
2018-06-28 14:28:14 +02:00
Theo Arends 20a53950ff Fix possible wifi connection problem
Fix possible wifi connection problem (#1366)
2018-06-28 12:25:50 +02:00
Stoffi 63da11e19e Update de-DE.h
Update KNX Part in de-DE.h
2018-06-27 22:14:56 +02:00
Jason2866 ceeec1c7fb
Update de-DE.h 2018-06-27 11:30:43 +02:00
Theo Arends a2728863c3 Renamed file and updated APDS9960 sensor
Renamed file and updated APDS9960 sensor
2018-06-26 22:40:13 +02:00
Theo Arends b1258477a5 Add support for APDS9960 proximity sensor
6.0.0a
* Add support for APDS9960 proximity sensor (#3051)
2018-06-26 17:51:43 +02:00
Theo Arends 04e1416eaa
Merge pull request #3051 from Staars/development
APDS9960 (my second try)
2018-06-26 17:23:44 +02:00
Theo Arends 54ef429fdc Add increment and decrement counter
6.0.0a
* Add increment and decrement value to command Counter (#2838)
2018-06-26 17:17:23 +02:00
Theo Arends 6a9a996e98 Add option 0 to command Timers
6.0.0a
* Add option 0 to command Timers disarming all timers (#2962)
2018-06-26 16:44:17 +02:00
Theo Arends 862623b295 Add rule variables and add minutes
6.0.0a
* Add time in minutes to rule Time#Initialized, Time#set and Time#Minute
(#2669)
* Add rule variables %time% for minutes since midnight, %uptime%,
%sunrise% and %sunset% giving time in minutes (#2669)
2018-06-26 16:22:53 +02:00
Theo Arends dc1c2abda7 Add heap and stack debug information
Add heap and stack debug information
2018-06-26 11:48:09 +02:00
Theo Arends e818f0da55 Fix rules induced LWT message
Fix rules induced LWT message
2018-06-25 18:00:20 +02:00
Theo Arends 9331cab55c Fix xsns_26_lm75ad.ino line endings
Fix xsns_26_lm75ad.ino line endings (#3063)
2018-06-25 17:35:42 +02:00
Theo Arends bd9860a875
Merge pull request #2955 from ascillato/patch-2
Add Arithmetic commands for VAR
2018-06-25 12:39:00 +02:00
Theo Arends 176c39dfe3 Add hex/decimal receive control for RF and IR
6.0.0a
* Add command SetOption28 to switch between hex or decimal Sonoff Bridge
RF received data format (#3008)
* Add command SetOption29 to switch between hex or decimal IR received
data format
2018-06-25 12:33:23 +02:00
Theo Arends 63ee0a5870
Merge pull request #3007 from Drachenkaetzchen/development
Major performace Improvements for WS2812 pixels
2018-06-24 17:55:58 +02:00
Theo Arends 45e2812939 Add debug facilities
Add optional debug facilities and CPU load loop info (#2979)
2018-06-24 17:50:42 +02:00
Christian 8ee51f37db
Update xdrv_91_apds9960.ino
Changed the payload back to string.
I think this is shorter, easier to understand without any documentation and still works with rules.
e.g.
on Tele-APDS9960#Up do command endon
2018-06-23 18:37:14 +02:00
Christian ac626b30e6
Update xdrv_91_apds9960.ino
-add compiler warning (based on input from renne)
-small cosmetic/formatting cleanups
2018-06-23 12:35:16 +02:00
Christian cf545af49d
Update xdrv_91_apds9960.ino
new:
-removed NEAR/FAR because of the unreliability
-support for Rules, therefore change of the MQTT-Messages to a number format (clockwise: up,right,down,left then long and none)
Example:
rule1 on Tele-APDS9960#Gesture=1 do ... endon

-minor code changes to shorten things
2018-06-23 10:00:56 +02:00
killadm 371aebfc15
Update zh-CN.h
Remove >>>>>>
2018-06-23 09:11:17 +08:00
killadm 0ac318d636 update of zh-CN language 2018-06-23 00:42:44 +08:00
Christian 4cc0bd44c9
Update xdrv_91_apds9960.ino
changes:
-changed from interrupt mode to polling
-fixed the mqtt-messages
-fixed command "gesture" for the console. Now every argument except 0 and 1 will report the gesture mode
-changed gesture name from "overload" to "long"
2018-06-21 14:44:53 +02:00
Christian dc67d8f264
Create xdrv_91_apds9960.ino
First version with the "new" driver model.
The driver is disabled by default to prevent side effects und must be enabled for testing by hand. 
Please uncomment:
// #define USE_APDS9960 

Use GPIO_DSB as interrupt pin as provisional hack in the web interface of tasmota.

Please expect problems (reboot, ...). My personal usage scenario is:
Sonoff -> MQTT -> Node-Red -> MQTT -> Sonoff
2018-06-20 09:03:48 +02:00
Felicia Hummel 71b29f833a When passing values for multiple WS2812 LEDs at once, updating is very slow because after each LED is set, the strip is updated. The update was so slow that it was visible with the eye. For me, it took approx 0.5 seconds to update an 28 pixel long strip.
This patch suspends updates to the strip while procesing the passed LEDs, enabling the updates afterwards.
2018-06-16 15:23:11 +02:00
ascillato d80e3a928d KNX: Support for DS18S20 Temperature sensor 2018-06-12 14:46:52 -03:00
Adrian Scillato 51d09680aa
Update _releasenotes.ino 2018-06-12 14:35:48 -03:00
Adrian Scillato ae3f8d0535
KNX: Support for DS18S20 Temperature sensor 2018-06-12 14:17:02 -03:00
Adrian Scillato f45dd53352
Add Arithmetic commands for VAR
New Arithmetic commands to be used with VARs:

ADD1 to ADD5: Add a value to VAR[x]
Usage: ADD1 15
Result: VAR1 = VAR1 + 15

SUB1 to SUB5: Substract a value from VAR[x]
Usage: SUB1 15
Result: VAR1 = VAR1 - 15

MULT1 to MULT5: Multiply a value to VAR[x]
Usage: MULT1 15
Result: VAR1 = VAR1 * 15

SCALE1 to SCALE5: Scale a value from a low and high limit to another low and high limit and store it in VAR[x] (directly equivalent to MAP arduino command)

Syntax: 
SCALEx value, fromLow, fromHigh, toLow, toHigh

Parameters
value: the number to scale

fromLow: the lower bound of the value’s current range

fromHigh: the upper bound of the value’s current range

toLow: the lower bound of the value’s target range

toHigh: the upper bound of the value’s target range

(omitted values are taken as zero)

Usage: SCALE1 15, 0, 100, 0, 1000
Result: VAR1 = 150
2018-06-10 02:09:11 -03:00
Gennaro Tortone 47f5210b29 update of language it-IT 2018-06-09 11:08:12 +02:00
Adrian Scillato 75b01e231c
KNX: Fix Bug when reply sensor values 2018-06-07 23:56:52 -03:00
ascillato b0e979673a Revert "Merge branch 'development' into development"
This reverts commit 3ca69e499b, reversing
changes made to 7d8495b263.
2018-06-05 18:54:35 -03:00
ascillato 1c20dbe3a2 Revert "Revert Changes"
This reverts commit 1c337ae28e.
2018-06-05 18:54:30 -03:00
ascillato 1c337ae28e Revert Changes 2018-06-05 17:04:34 -03:00
Adrian Scillato 3ca69e499b
Merge branch 'development' into development 2018-06-05 16:51:08 -03:00
Theo Arends 0d5117cdca Add RfRaw 255 2018-06-05 18:12:18 +02:00
Theo Arends 221c420fcb Tuning LM75AD sensor driver 2018-06-05 16:55:35 +02:00
Theo Arends 43dd708413 Add I2C temperature sensor LM75AD
6.0.0a
* Add support for I2C temperature sensor LM75AD (#2909)
2018-06-05 16:14:00 +02:00
Theo Arends 006a747d10
Merge pull request #2909 from andrethomas/development
Add support for LM75AD I2C Temperature Sensor
2018-06-05 15:04:51 +02:00
andrethomas 289b662f10
Update xdrv_26_lm75ad.ino to support C or F
Update xdrv_26_lm75ad.ino to support C or F depending on Settings.flag.temperature_conversion (#define TEMP_CONVERSION 0 or 1) as stored in [SetOption8] Return temperature in (0 = Celsius or 1 = Fahrenheit)
2018-06-05 14:50:52 +02:00
znanev da11ae353c
Update bg-BG.h 2018-06-05 09:34:13 +01:00
Adrian Scillato 77aaecf7f9
Updated Spanish Translation
Updated Spanish Translation
2018-06-05 00:36:27 -03:00
Adrian Scillato b23763cca3
Updated Spanish Translation 2018-06-04 20:33:02 -03:00
Adrian Scillato 145352ee27
Sync to Tasmota
Sync to Tasmota
2018-06-04 18:33:46 -03:00
andrethomas c860927857
Add support for LM75AD I2C Temperature Sensor
Add support for LM75AD I2C Temperature Sensor
2018-06-04 20:32:58 +02:00
Theo Arends d4119fe54d Add SnfBrdg EFM8BB1 fw tools
6.0.0a
* Add support for uploading Sonoff Bridge firmware found in
tools/fw_efm8bb1 folder build by Portisch using Web Gui File Upload
(#2886)
* Add command RfRaw to control Portisch firmware features
2018-06-04 18:10:38 +02:00
Adrian Scillato 16d8b8df4e
Sync to Tasmota
Sync to Tasmota
2018-06-03 13:09:55 -03:00
Theo Arends 976f167ae3 Minor fixes
Minor fixes
2018-06-03 17:09:10 +02:00
Adrian Scillato 6616dbfd66
Sync to Tasmota
Sync to Tasmota
2018-06-03 10:39:07 -03:00
Theo Arends cec701fb33 Fix Pzem004T checksum error
6.0.0a
* Fix Pzem004T checksum error
2018-06-03 14:43:17 +02:00
Theo Arends d4e414a6d5 v6.0.0a - Add CRC to Settings
6.0.0a
* Add CRC to Settings making future upgrades more fail-safe
* Remove version 3, 4 and pre 5.2 settings auto-upgrade. See
https://github.com/arendst/Sonoff-Tasmota/wiki/Upgrade#migration-path
* Change default CFG_HOLDER from 0x20161209 to 4617 (=0x1209) - no
impact on default upgrades
2018-06-02 16:59:09 +02:00
Adrian Scillato 2700a4332f
Add CPU_LOAD Log 2018-06-01 19:51:55 -03:00
Adrian Scillato 8d59f463c8
Add CPU_LOAD Log 2018-06-01 19:47:43 -03:00
Adrian Scillato e230063dac
Update user_config.h 2018-05-31 06:22:35 -03:00
ascillato 5f2fe01a03 updated optional files 2018-05-31 03:50:09 -03:00
Adrian Scillato 9a09fed6eb
Update i18n.h 2018-05-31 03:47:14 -03:00
Adrian Scillato e9238ac773
Update Optional files 2018-05-31 03:45:53 -03:00
Adrian Scillato 46929204e1
Added Console Commands for TX and RX with KNX 2018-05-31 03:34:58 -03:00
ascillato 3d2b9dc583 Added KNX Console Commands 2018-05-31 03:21:35 -03:00
Adrian Scillato 9c862161e0
Added KNX Console Commands
* Added Console Commands to send KNX Commands
  usage: KnxTx_Cmnd[slot] command
  where [slot] is any of the 5 slots on the KNX Menu and command is 0 or 1
  example: KnxTx_Cmnd1 0

* Added Console Commands to send KNX Values
  usage: KnxTx_Val[slot] value
  where [slot] is any of the 5 slots on the KNX Menu and value is a number
  example: KnxTx_Val1 35

* Added Slots on the KNX Web Menu to select Group Addess to send data from console commands

* Added Events to trigger rules when received data from KNX
  usage on rules as: event#KnxRx_Val[slot]
  where [slot] is any of the 5 slots on the KNX Menu
  example: rule on event#KnxRx_Val1 do VAR1 %value% endon

* Added Events to trigger rules when received read requests from KNX
  usage on rules as: event#KnxRx_Req[slot]
  where [slot] is any of the 5 slots on the KNX Menu
  example: rule on event#KnxRx_Req1 do KnxTx_Val1 35 endon

* Added Slots on the KNX Web Menu to select Group Addess to receive data to trigger rules
2018-05-31 02:58:54 -03:00
Adrian Scillato 9bc4829de8
Added Keys to be used by KNX Console Commands 2018-05-31 02:46:09 -03:00
Adrian Scillato 5571135437
Update user_config.h 2018-05-31 02:44:17 -03:00
Adrian Scillato bc4abb1a04
Add KNX Slots to be used in Rules 2018-05-30 15:19:17 -03:00