Commit Graph

4508 Commits

Author SHA1 Message Date
Bastian Urschel 1f268bbf39 Changed the type for getting sensor values to polling. Before we used the "working period" method (the sensor starts/stops periodically on it's own and reports the data if Tasmota asks for values). Because of that I've detected a drift after some time which means that you don't get current values if "tele_period" is reached. Another point was that the "working period" method only allows a frequency above 1 minute. The new code starts the sensor directly (with commands sleep and work) if we reached a time we set in define "STARTING_OFFSET". 5 seconds before tele_period, we are doing 4 measurements, calculate the average and current values are present if tele_period is reached. The new method allows us also to get a polling frequency below 1 minute (usable for early fire detection). For precise measurements values of STARTING_OFFSET above 30 seconds are recommended. If using STARTING_OFFSET of 30 seconds and tele_period of 30 seconds the sensor now runs permanent.
Fixed also wrong values at defines NOVA_SDS_SLEEP and NOVA_SDS_WORK.
2019-10-17 13:10:43 +02:00
Theo Arends ddbfce488a Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2019-10-17 12:20:31 +02:00
Theo Arends cd10e84ecf Change Sonoff L1 support 2019-10-17 12:20:26 +02:00
Theo Arends c1525c7e69
Merge pull request #6672 from Jason2866/patch-1
Add warnings to old cores
2019-10-17 11:14:29 +02:00
Jason2866 948ef16f91
Add warnings to old cores 2019-10-17 11:12:42 +02:00
Theo Arends c10c057c9b Add max colors for color drivers 2019-10-17 10:45:51 +02:00
Theo Arends 60ffc96f15 Change PowerCycleTime form 10 to 8 seconds 2019-10-17 10:30:43 +02:00
Adrian Scillato 99901986a0
Update PULL_REQUEST_TEMPLATE.md 2019-10-16 18:38:41 -03:00
Theo Arends 782563b3ae Add reset after four Quick Power Cycles
Add reset after four Quick Power Cycles (#6639)
2019-10-16 19:00:20 +02:00
Theo Arends a3c0451e41 Remove support for core 2.5.2
Remove support for core 2.5.2 (#6664)
2019-10-16 15:15:10 +02:00
Theo Arends f6de8bc5a0 Tune default defines
Tune default defines (#6662)
2019-10-16 14:33:25 +02:00
Theo Arends ca0c8691a4
Merge pull request #6661 from shantur/travis-improvements
Travis: Upgrade cached Platformio and platforms to latest
2019-10-16 14:05:07 +02:00
Theo Arends a4452b9ffb Fix possible KNX compilation error 2019-10-16 14:04:01 +02:00
Theo Arends 51bf52d94d
Merge pull request #6660 from vascojdb/pms3003
Added support for PMS3003
2019-10-16 13:04:55 +02:00
Vasco Baptista bbab803985 Added PMS3003 support
Added PMS3003 support on documentation (forgot on the first commit)
2019-10-16 12:38:56 +02:00
Shantur Rathore 14be94ae1e Travis: Upgrade cached Platformio and platforms to latest 2019-10-16 11:36:17 +01:00
Vasco Baptista 871f4740c6 Merge remote-tracking branch 'upstream/development' into pms3003 2019-10-16 12:11:15 +02:00
Vasco Baptista 81d3a09aee Added support for PMS3003
Added support to PMS3003 to the already existing PMS5003-7003 driver. Support is changed from PMS5003-7003 to PMS3003 by enabling the PMS_MODEL_PMS3003 define.
2019-10-16 12:10:48 +02:00
Theo Arends fb428a9c7d Remove default DS18B20 driver
Remove default DS18B20 driver and only support define DS18x20 (#6647)
2019-10-16 11:51:38 +02:00
Theo Arends ee8bb3452b (Try to) fix EnergyReset
(Try to) fix EnergyReset (#6561)
2019-10-16 11:09:48 +02:00
Theo Arends 905df3bee8
Merge pull request #6657 from meingraham/patch-9
Uppercase USE_A4988_STEPPER
2019-10-16 08:42:44 +02:00
Theo Arends 3faa311b7a
Merge pull request #6656 from gemu2015/scripter-update
scripter button events, remove comments on paste
2019-10-16 08:42:01 +02:00
Theo Arends c190105bfd
Merge pull request #6655 from andrethomas/patch-1
Fix line used for tagging during custom builds
2019-10-16 08:41:31 +02:00
gemu2015 f6ed6edd75 scripter better button event 2019-10-16 05:33:22 +02:00
andrethomas2 4840861ced
Include mention of DRV8825 2019-10-15 20:49:02 +02:00
Michael Ingraham a5683156ce
Uppercase USE_A4988_STEPPER 2019-10-15 14:34:35 -04:00
Michael Ingraham 0b3e41d276
Uppercase USE_A4988_STEPPER 2019-10-15 14:33:37 -04:00
Michael Ingraham 67e96e761d
Uppercase USE_A4988_STEPPER 2019-10-15 14:32:00 -04:00
Michael Ingraham 08ccf63a37
Uppercase USE_A4988_STEPPER 2019-10-15 14:31:10 -04:00
Michael Ingraham f458e3ac36
Uppercase USE_A4988_STEPPER 2019-10-15 14:30:04 -04:00
Michael Ingraham 7e33dfb18b
Uppercase USE_A4988_STEPPER 2019-10-15 14:28:09 -04:00
Michael Ingraham d9407e3374
Uppercase USE_A4988_STEPPER 2019-10-15 14:24:06 -04:00
gemu2015 5903a2b9c5 scripter button events, remove comments on paste 2019-10-15 20:07:12 +02:00
Andre Thomas 33d5304e54
Update my_user_config.h 2019-10-15 20:03:13 +02:00
Andre Thomas 96b7ed8880
Update my_user_config.h 2019-10-15 20:00:57 +02:00
Andre Thomas 1be3a43f6e
Fix line used for tagging during custom builds
I'm starting to use lines with `--` in them to identify different portions of the my_user_config.h to determine which directives are mandatory to make a build possible and those that may be commented out without impacting on a compile.

This is useful for automation of custom builds wherein the my_user_config.h file is loaded, edited according to requirements, and rewritten by means of a program or script.

I'm guessing this particular line is an exception by mistake so this PR just brings this particular line in check with the others that look the same or follow the same convention of

`-- FUNCTIONAL DESCRIPTION ---------------`
2019-10-15 19:49:33 +02:00
Theo Arends e2a73f48ff Tabs to spaces 2019-10-15 17:37:02 +02:00
Theo Arends 2128513c08
Merge pull request #6652 from RoadRunnr/fix/pwm-multichannel
fix pwm multichannel
2019-10-15 16:59:10 +02:00
Andreas Schultz e1448edb25 add Web UI for PWM multi channel (Option68) 2019-10-15 16:41:53 +02:00
Andreas Schultz c858710aef fix pwm multi channel (Option68)
With Option68 enabled, the pwm channels are independent. The channel
setting code was indirectly using setRGB and setCW. Those methods
recalculate the channel values to adjust for brightness, thereby
modifying the channel values.

This change add raw channel set/get methods that do not modify the
channels values and uses those when pwm_multichannel is in effect.
2019-10-15 16:41:43 +02:00
Theo Arends ee2519070f Add rule support after every command execution
* Add incremental beeps to Ifan03 remote control fan speed buttons (#6636)
 * Add rule support after every command execution like Fanspeed#Data=2 (#6636)
2019-10-15 16:23:37 +02:00
Theo Arends 3ff1bcd64c Add define USE_SONOFF_RF
Add define USE_SONOFF_RF to enable/disable Sonoff Rf support (#6648)
2019-10-15 15:37:22 +02:00
Theo Arends 9ced81175d
Merge pull request #6648 from Jason2866/patch-2
Make Sonoff Bridge optional by define
2019-10-15 14:46:08 +02:00
Jason2866 5cc8cd979e
Update xdrv_01_webserver.ino 2019-10-15 12:34:16 +02:00
Jason2866 3a9e937ae8
Update decode-status.py 2019-10-15 11:42:09 +02:00
Jason2866 b25c673368
Update support_features.ino 2019-10-15 11:40:21 +02:00
Jason2866 1c1f6ee910
Update sonoff_template.h 2019-10-15 11:34:15 +02:00
Jason2866 c9f4a0f8db
Update my_user_config.h 2019-10-15 11:29:26 +02:00
Jason2866 e08a344ffa
Make RF Bridge optional 2019-10-15 11:25:00 +02:00
Theo Arends 67bbd15612
Merge pull request #6646 from s-hadinger/fix_parse
Fix crash when uneven string size
2019-10-15 09:28:47 +02:00