Commit Graph

1360 Commits

Author SHA1 Message Date
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
Theo Arends 9e34d16e9a Fix sonoff-minimal
Fix sonoff-minimal from using default settings
2018-07-30 12:29:56 +02:00
andrethomas c190de7bae Make interrupt output more rule friendly 2018-07-29 19:28:16 +02:00
andrethomas ad53d16c2e Fix bug in MCP230xx_CheckForInterrupt() 2018-07-29 15:25:00 +02:00
Theo Arends cc5b0aaf90 Add option + to command Rule
Add option + to command Rule to concatenate new rule with existing rules (#3365)
2018-07-29 14:45:42 +02:00
Theo Arends 794d9dc567 Fix settings corruption
Fix settings corruption (#3363)
2018-07-28 17:25:42 +02:00
Theo Arends 277e776cf3 Add sensor MPU6050
Add initial support for sensor MPU6050 (#3352)
2018-07-28 16:16:53 +02:00
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
Johann Weging ff13223807 SDS0X1 minor code cleanup 2018-05-27 14:34:47 +02:00
Johann Weging f11386cfe7 Update language files for SDS0X1 RX and TX 2018-05-27 14:30:40 +02:00
Johann Weging 87e3dcddb9 SDS0X1 take one stable reading every 3 minutes 2018-05-27 14:29:53 +02:00
Johann Weging 4a588581d1 Allow NovaSdsReadData to read without publishing data 2018-05-27 14:28:31 +02:00
Johann Weging 7cefc9b76e SDS0X1 add start and stop functions to idle the sensor 2018-05-27 14:24:53 +02:00
Johann Weging c41a092c7d SDS0X1 RX TX pin handling in NovaSdsInit 2018-05-27 14:23:25 +02:00
Johann Weging 91b07f2943 Add SDS0X1 gpio pins to support.ino 2018-05-27 14:19:53 +02:00
Johann Weging 9c04666a17 Add SDS0X1 RX and TX gpio pins to sonoff_template.h 2018-05-27 14:19:29 +02: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