Commit Graph

1204 Commits

Author SHA1 Message Date
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