Commit Graph

1046 Commits

Author SHA1 Message Date
Theo Arends 0afe15b0d3
Merge pull request #3352 from Bunkerschild/development
Added support for MPU6050 gyroscope sensor
2018-07-28 15:49:34 +02:00
Theo Arends 55ef063c0e Add command SerialSend4
Add command SerialSend4 to send binary serial data (#3345)
2018-07-28 15:43:13 +02:00
Bunkerschild 1d86a607a2
Merge pull request #2 from arendst/development
Fixes from arendst
2018-07-28 15:41:36 +02:00
Theo Arends ade9535e55
Merge pull request #3345 from emontnemery/serial_bridge_raw
Support send / receive of binary serial data
2018-07-28 15:20:07 +02:00
Theo Arends da7dadae21 Add rule triggers
Add rule triggers Wifi#Connected and Wifi#Disconnected (#3359)
2018-07-28 15:06:31 +02:00
Theo Arends b7ccc64893 Fix unsecure main webpage update
Fix unsecure main webpage update
2018-07-28 12:30:47 +02:00
Oliver Welter 06c2ab8229 Added support for MPU6050 gyro sensor 2018-07-28 03:53:51 +02:00
Erik 76c102c09c Support send / receive of binary serial data 2018-07-27 12:17:34 +02:00
Theo Arends 823f4ae801 Fix unsecure main webpage update
Fix unsecure main webpage update
2018-07-26 17:53:50 +02:00
Theo Arends 34769099d1 Add Turkish language file
Add Turkish language file (#3332)
2018-07-26 10:57:59 +02:00
Theo Arends d34c24175a
Update tr-TR.h 2018-07-26 10:52:33 +02:00
Ali TEKE 72bb979d06 fixed D_DAY3LIST format 2018-07-25 23:55:23 +03:00
Ali TEKE aa41a8f4d1 Turkish file update 2018-07-25 23:44:28 +03:00
Ali TEKE b40f187514 Message update in languages/tr-TR.h file 2018-07-25 23:38:22 +03:00
Ali TEKE e82c993134 Added Turkish language 2018-07-25 23:34:21 +03:00
Theo Arends cb192c5c2d Update decode-status.py
Update decode-status.py
2018-07-25 12:42:53 +02:00
Theo Arends 52f642b0c0 Remove obsolete define
Remove obsolete define
2018-07-25 11:59:43 +02:00
Theo Arends c2b3ff1fd2 Fix yield exception
Fix yield exception using non PubSubClient library
2018-07-25 10:35:36 +02:00
Theo Arends 9376b6f7c0 Fix invalid JSON
Fix command TimeDst/TimeStd invalid JSON (#3322)
2018-07-25 10:04:35 +02:00
andrethomas 9ea3e7d80e Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-07-24 20:06:42 +02:00
andrethomas bd536d2d95 Opto'd MCP230xx_Show() shaving off another 92 bytes of flash 2018-07-24 19:36:30 +02:00
Theo Arends 99e81ba86e Fix CCS811 env compensation
Fix CCS811 temperature and humidity compensation
2018-07-24 18:41:50 +02:00
Theo Arends d7e6f6114a Fix possible WDT
Fix possible WDT due to long MQTT publish handling (#3313)
2018-07-24 18:40:13 +02:00
andrethomas 068a42c4f3 Optimize MCP230xx_CheckForInterrupt() and MCP230xx_ApplySettings() 2018-07-23 19:46:41 +02:00
Theo Arends cdae4f3f46 Add support for CCS811
Add support for CCS811 sensor (#3309)
2018-07-23 17:42:12 +02:00
Theo Arends 07f70f890f
Update xsns_31_ccs811.ino 2018-07-23 17:19:09 +02:00
Theo Arends 5493766bda
Update xsns_31_ccs811.ino 2018-07-23 17:17:40 +02:00
gemu2015 d21a04e872 ccs811
completely new from arends/development
2018-07-23 16:27:15 +02:00
Theo Arends d62cb11227
Merge pull request #3306 from ascillato/patch-1
KNX: Add new event and new commands
2018-07-23 10:24:45 +02:00
Adrian Scillato 3373fff9eb
Added Commands KNX_GA and KNX_CB
* Added command KNX_GA so as to setup Group Address to Send Data/Commands

Usage:

KNX_GA
(return the amount of GA configured)

KNX_GA 1
(return the configuration of the GA#1

KNX_GAx option, area, line, member
(Set the configuration of the GA#x)

example: KNX_GA3 1, 2,2,4

For the GA#3, the status of Relay 1 is sent to 2.2.4

* Added command KNX_CB so as to setup Group Address to Receive Data/Commands

KNX_CBx option, area, line, member

example: KNX_CB2 1, 2,2,4

For the CB#2, listen to 2.2.4 to set the status of the Relay 1


Posible values of the parameter OPTION:

1 - Relay 1
2 - Relay 2
3 - Relay 3
4 - Relay 4
5 - Relay 5
6 - Relay 6
7 - Relay 7
8 - Relay 8
9 - Button 1
10 - Button 2
11 - Button 3
12 - Button 4
13 - Button 5
14 - Button 6
15 - Button 7
16 - Button 8
17 - TEMPERATURE        
18 - HUMIDITY           
19 - ENERGY_VOLTAGE     
20 - ENERGY_CURRENT     
21 - ENERGY_POWER       
22 - ENERGY_POWERFACTOR 
23 - ENERGY_DAILY       
24 - ENERGY_START       
25 - ENERGY_TOTAL       
26 - KNX_SLOT1              
27 - KNX_SLOT2              
28 - KNX_SLOT3              
29 - KNX_SLOT4              
30 - KNX_SLOT5              
255 - EMPTY
2018-07-23 04:03:57 -03:00
Adrian Scillato a294a9179d
Added Command KNX_PA
Added Command KNX_PA for changing the device KNX Physical Address
2018-07-23 02:15:44 -03:00
Adrian Scillato 754955cd48
Move subStr Function to Support.ino 2018-07-23 01:32:54 -03:00
Adrian Scillato 96fb23737d
Move subStr Function to Support.ino 2018-07-23 01:29:50 -03:00
Adrian Scillato 77181854a7
Added KNX commands
* KNX_ENABLED 0/1
* KNX_ENHANCED 0/1
2018-07-23 01:01:52 -03:00
Adrian Scillato 99eb3362aa
Make KNX WEB MENU optional 2018-07-23 00:54:25 -03:00
Adrian Scillato 552ac7d545
Make KNX WEB MENU Optional 2018-07-22 23:16:46 -03:00
Adrian Scillato 9c5d3f501d
Make KNX WEB MENU Optional 2018-07-22 23:16:05 -03:00
Adrian Scillato a6f27db910
Make KNX WEB MENU optional 2018-07-22 23:14:33 -03:00
Adrian Scillato bc6195e492
KNX: Added the EVENT knxrx_val1..5
Added the EVENT KNXRX_VAL1...5 when receiving values from the KNX Network or another Tasmota with KNX

Now, sensor values (for example) can be sent from one device to another.
2018-07-22 22:40:28 -03:00
andrethomas 7285aa356f MCP23008/MCP23017 bugfix - Only check for interrupts if enabled on at least one pin 2018-07-22 22:40:26 +02:00
andrethomas 4d1981dca3 Simplify MCP230xx_ApplySettings 2018-07-21 22:04:18 +02:00
andrethomas 6a4d4503f6 Changed mcp230xx_config structure 2018-07-21 18:06:24 +02:00
andrethomas 9731b13fd6 Removed WEB CONFIG option and extended sensor29 commands 2018-07-21 18:04:36 +02:00
Theo Arends a4eddcb518 Add global timer cntrl to webpage
Add command Timers 0/1 to globally disable or enable armed timers (#3270)
2018-07-21 16:47:44 +02:00
andrethomas 55691affaa Bugfix on MCP230xx driver 2018-07-21 14:24:34 +02:00
andrethomas 4f86c5d6f1 Bugfix on MCP230xx driver 2018-07-21 14:17:48 +02:00
Theo Arends 612374cfbf Revisit Timers off/on
6.1.1c
 * Add command Timers 0/1 to globally disable or enable armed timers (#3270)
2018-07-20 16:12:37 +02:00
Theo Arends 33c552a72d
Merge pull request #3256 from andrethomas/push2arendst
Move LM75ADDetect and MCP230xx_Detect
2018-07-20 14:17:24 +02:00
Rene 'Renne' Bartsch c3c4f89efd
Visual Studio specific compiler warning fixed.
This commit fixes the Visual Studio compiler warning
```
D:/Sonoff-Tasmota-development.6.1.1b/sonoff/xsns_30_mpr121.ino:192:2: warning: 'typedef' was ignored in this declaration [enabled by default] }; ^
```
2018-07-19 21:18:20 +02:00
andrethomas b7b8156926
Merge pull request #3 from andrethomas/patch-1
Move LM75ADDetect() to FUNC_EVERY_SECOND
2018-07-18 14:26:53 +02:00
andrethomas 370cbf064c
Move LM75ADDetect() to FUNC_EVERY_SECOND
Move LM75ADDetect() from FUNC_PREP_BEFORE_TELEPERIOD to FUNC_EVERY_SECOND to comply with FUNC_PREP_BEFORE_TELEPERIOD marked as deprecated.
2018-07-18 09:43:49 +02:00
andrethomas e6c5553059 Move MCP230xx_Detect() from FUNC_PREP_BEFORE_TELEPERIOD to FUNC_EVERY_SECOND 2018-07-17 21:18:26 +02:00
Theo Arends cdb4a0612b
Update fr-FR.h 2018-07-17 15:27:19 +02:00
Xavier MULLER 9a3a834d1b
Update fr-FR.h 2018-07-17 15:14:25 +02:00
Theo Arends 3b46ba2ace Add support for MPR121
Add support for MPR121 controller in input mode for touch buttons (#3142)
2018-07-17 12:51:55 +02:00
Theo Arends 0288a2da15
Merge branch 'development' into development 2018-07-17 12:20:42 +02:00
Theo Arends f10b92a995 Add support for MCP230xx
Add support for MCP230xx for general purpose input expansion and command Sensor29 (#3188)
2018-07-17 11:05:31 +02:00
Theo Arends 9af188ac74
Merge pull request #3188 from andrethomas/development
Add support for I2C MCP23008/MCP23017 for GP INPUT
2018-07-17 10:07:45 +02:00
Theo Arends 9ef10f24d2 Fix command Scale buffer overflow
Fix command Scale buffer overflow (#3236)
2018-07-16 12:37:49 +02:00
Theo Arends b56961c528 Fix rules once regression
Fix rules once regression from v6.1.0 (#3198, #3226)
2018-07-16 11:34:44 +02:00
Theo Arends ace6180e67 Introduce _changelog.ino
Introduce _changelog.ino
2018-07-15 17:30:38 +02:00
Theo Arends afdb197a6c v6.6.1b - Change wifi options
6.1.1b
 * Add default Wifi Configuration tool as define WIFI_CONFIG_NO_SSID in user_config.h if no SSID is configured (#3224)
 * Add user selection of Wifi Smartconfig as define USE_SMARTCONFIG in user_config.h
 * Add user selection of WPS as define USE_WPS in user_config.h in preparation for core v2.4.2 (#3221)
 * Change default Wifi config option from WPS to Wifi Manager if WPS is disabled
 *   or Wifi Smartconfig if webserver is disabled
 *   or Wifi Serial input if Smartconfig is disabled
 * Remove WPS and SmartConfig from sonoff-minimal saving 56k code space
2018-07-15 15:21:48 +02:00
Theo Arends f75ab4f25f v6.1.1a - Sync with v6.1.1
Sync with v6.1.1
2018-07-14 18:07:25 +02:00
Theo Arends e876b5aa77 v6.1.0b - WPS optional
6.1.0b
 * Add user selection of WPS as define USE_WPS in user_config.h in preparation for core v2.4.2 (#3221)
 * Change default Wifi config option from WPS to Wifi Manager if WPS is disabled (or Wifi Smartconfig if webserver is disabled)
 * Remove WPS from sonoff-minimal saving 33k code space
 * Revert wifi changes implemented in v6.0.0a due to possible bad initial wifi connections
2018-07-14 15:35:56 +02:00
andrethomas 9be31ab605 Added FPSTR to constants 2018-07-14 15:07:01 +02:00
andrethomas d8c4f8bb7e Remove F() from page.replace() and reference PROGMEM const's for replacement content 2018-07-14 14:46:09 +02:00
Theo Arends ea2357375a Fix TM1638 compile error
Fix TM1638 compile error (#3212)
2018-07-14 12:10:13 +02:00
andrethomas 1c1436d7ed
Put back the %s 2018-07-14 01:04:46 +02:00
andrethomas 616c6669a9
Remove unwanted %s
Remove unwanted %s from const char HTTP_SNS_MCP230xx_GPIO[]
2018-07-14 00:33:42 +02:00
andrethomas 8089c8630c Fixed some progmem attempts 2018-07-13 10:28:55 +02:00
andrethomas a48c251be0 Fixed sensor23 JSON output and moved it to progmem 2018-07-13 10:04:08 +02:00
andrethomas 79fb392e45 Added XdrvMailbox.index validation for FUNC_COMMAND 2018-07-13 08:27:33 +02:00
andrethomas aafeca8afc Update MCP230xx to make web config optional and added sensor29 command parameters 2018-07-12 23:12:01 +02:00
Theo Arends bee95c5b56 Add TM1638 switch support
Add TM1638 switch support (#2226)
2018-07-12 14:52:35 +02:00
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
Adrian Scillato 8eda46abba
Sync to Tasmota
Sync to Tasmota
2018-05-30 12:38:46 -03:00
Theo Arends 72f36a88a6 Update language files
Update language files
2018-05-30 17:24:09 +02:00
Adrian Scillato 3f571f30a8
Sync to Tasmota
Sync to Tasmota
2018-05-29 13:53:29 -03:00
Theo Arends f3c4001b4a Fix HWRestart on rule event
5.14.0b
* Fix Hardware Watchdog restart when using event command (#2853)
2018-05-29 17:24:42 +02:00
Adrian Scillato d1c140045a
Sync to Tasmota
Sync to Tasmota
2018-05-29 10:27:57 -03:00
Theo Arends ae9f5fd2e3 Add Ukranian language
Add Ukranian language
2018-05-29 14:47:53 +02:00
Adrian Scillato da2775c1f8
Sync to Tasmota
Sync to Tasmota
2018-05-28 20:07:33 -03:00
Theo Arends ed56322f12 Add command source information
5.14.0b
* Add source information to command execution to be shown with logging
option 3 (#2843)
2018-05-28 15:52:42 +02:00
Theo Arends 41496acdee File renames and Add command WebSend
5.14.0b
* Add command WebSend [<host>(:<port>,<user>:<password>)] <command>
(#2821)
2018-05-28 11:35:23 +02:00
Adrian Scillato da3c00c218
Sync to Tasmota
Sync to Tasmota
2018-05-27 20:01:11 -03:00
Theo Arends 1c96097c7a Fix sdm120/630 compile error
Fix sdm120/630 compile error when webserver is disabled (#2764)
2018-05-27 14:14:41 +02:00
Theo Arends b8edfddd7e Fix Pow R2 and S31 checksum error
Fix Pow R2 and S31 checksum error (#1907)
2018-05-27 14:13:14 +02:00
Adrian Scillato d294ea6033
Sync to Tasmota
Sync to Tasmota
2018-05-24 14:40:11 -03:00
Theo Arends d1db31fc0a Fix rule string comparison 2018-05-24 17:08:14 +02:00
Theo Arends e6daeda43e Fix initial rule3 clearence 2018-05-24 16:36:12 +02:00
Theo Arends 9f329d5fb0 Add rule support for IrReceive and RfReceive
5.14.0b
 * Add rule support for IrReceive and RfReceive (#2758)
2018-05-24 16:23:20 +02:00
Theo Arends ca08b77aad Add two more rule sets
5.14.0b
 * Increase rule storage space to 3 rule sets of 512 characters
using commands rule1, rule2 and rule3
2018-05-24 14:25:52 +02:00
Theo Arends be895fdcc0 Move GetUsedInModule to support.ino
Move GetUsedInModule to support.ino (#2810)
2018-05-24 11:24:03 +02:00
Adrian Scillato 70ec86fbc8
Sync with Tasmota
Sync with Tasmota
2018-05-21 23:10:58 -03:00
Theo Arends 4fbc51a874 Add optional token %id% to fulltopic
5.14.0a
* Add optional token %id% substituting the unique MAC address for topic
names by Michael Graf (#2794)
2018-05-21 17:52:24 +02:00
Adrian Scillato b6e6b263f3
Sync with Tasmota
Sync with Tasmota
2018-05-20 17:09:05 -03:00
Heiko Krupp acc4d0c0a0
Update to HUE Bridge V1 Software Version 2018-05-20 18:01:12 +02:00
Theo Arends 06258e5a68 Rules fixes and additions
5.14.0a
* Add rules %mem1% to %mem5% variable names storing data in flash
(#2780)
* Add rules test on %varx% or %memx% (#2780)
* Fix anomalies in rules (#2778)
2018-05-20 17:46:00 +02:00
Adrian Scillato 7cf56ed643
Sync to Tasmota
Sync to Tasmota
2018-05-19 13:01:06 -03:00
znanev bf2f44264e
Update Bulgarian translations
Update Bulgarian translations to v5.14.0a
2018-05-19 16:40:48 +01:00
Theo Arends 1c6af967be Add program to decode some status messages
5.14.0a
* Add feature information to Status 4
* Add tools folder with python script decode-status.py for decoding some
status fields like SetOption and Features
* Add python script fw-server.py in tools folder to create a simple OTA
server (#2759)
* Fix vars on rules (#2769)
* Fix bug in KNX menu (#2770)
2018-05-19 17:31:55 +02:00