Commit Graph

3189 Commits

Author SHA1 Message Date
Theo Arends b361d0cc46 Remove obsolete SDM120 and SDM630 drivers 2019-10-18 12:31:56 +02:00
Theo Arends 9a03d831a6 Remove old SDM120 and SDM630 drivers
* Replace obsolete xsns_23_sdm120 with xnrg_08_sdm120 and consolidate define USE_SDM120
 * Replace obsolete xsns_25_sdm630 with xnrg_10_sdm630 and consolidate define USE_SDM630
 * Replace obsolete xsns_49_solaxX1 with xnrg_12_solaxX1 (#6677)
2019-10-18 12:28:29 +02:00
Theo Arends d724d15bfa Bump version to 6.6.0.19 2019-10-18 12:12:31 +02:00
Theo Arends 531c38b231 Minor refactor 2019-10-18 12:03:01 +02:00
gemu2015 d989abfb45 refactor sendmail 2019-10-18 11:33:52 +02:00
Theo Arends f8104cacdd
Merge pull request #6681 from baschdello/development
Fixes functionality of command Sensor20 for NovaSDS
2019-10-18 10:57:31 +02:00
gemu2015 a42515160f preserve some stack size on FUNC_EVERY_SECOND 2019-10-18 10:57:06 +02:00
Bastian Urschel 672ea3d7e9 Fixes the funcionality of command "Sensor20" which was missing after merge #6673.
With command "Sensor20" you can now set the starting offset at runtime. The polling interval still depends on the tele_period.
2019-10-18 10:32:48 +02:00
stefanbode 41cc74ea7b
Update xdrv_29_deepsleep.ino
Added RESULT message before deepsleep to send via MQTT next Wakeup time in Local Time and UTC:
09:30:12 MQT: stat/sonoff/RESULT = {"Deepsleep":{"Time":"2019-10-18T09:35:00","Epoch":1571384100}}
2019-10-18 09:31:59 +02:00
pablozg d7279fa2aa Solax X1: Delete all references to old driver 2019-10-17 19:30:55 +02:00
pablozg 926869e849 Solax X1: Code refactor and optimitation, add as energy driver to get today/yesterday totals and P1 smart meter function 2019-10-17 18:22:11 +02:00
Theo Arends 8643560480
Merge pull request #6676 from effelle/development
Update xdrv_12_home_assistant.ino
2019-10-17 17:15:33 +02:00
Theo Arends fa892d34c6
Merge pull request #6673 from baschdello/development
Nova SDS polling enhancement
2019-10-17 17:01:33 +02:00
Federico Leoni 9be8c20668
Update xdrv_12_home_assistant.ino 2019-10-17 11:57:54 -03:00
Theo Arends d3dc82170e Prep for release 2019-10-17 16:51:20 +02:00
Theo Arends a62432f6eb Fix USE_A4988_STEPPER compilation 2019-10-17 15:28:46 +02:00
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 cd10e84ecf Change Sonoff L1 support 2019-10-17 12:20:26 +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
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 f6de8bc5a0 Tune default defines
Tune default defines (#6662)
2019-10-16 14:33:25 +02:00
Theo Arends a4452b9ffb Fix possible KNX compilation error 2019-10-16 14:04:01 +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
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
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 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
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
Jason2866 5cc8cd979e
Update xdrv_01_webserver.ino 2019-10-15 12:34:16 +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
Stephan Hadinger d593d1d87b Fix crash when uneven string size 2019-10-15 08:27:32 +02:00
Theo Arends f5b932a6d5 Make Sonoff Sc optional by define
Make Sonoff Sc optional by define (#6640)
2019-10-14 18:15:43 +02:00
Theo Arends d57153630f Change iFan03 beep protocol
Change iFan03 beep protocol (#6636)
2019-10-14 17:08:38 +02:00
Theo Arends c296c9a337 Deep sleep housekeeping 2019-10-14 17:01:24 +02:00
Theo Arends 44be3366aa Clean up 2019-10-14 16:47:47 +02:00
Theo Arends f7a71c0728 Oops 2019-10-14 16:20:36 +02:00
Theo Arends 5527f424a0 Add deep sleep support
Add define USE_DEEPSLEEP and command DeepSleepTime 0 or 10..86400 (seconds) to enter deepsleep mode (#6638)
2019-10-14 16:12:59 +02:00
Theo Arends ccf13080e2
Merge pull request #6637 from gemu2015/sendmail-update
sendmail with bearsssl-light
2019-10-14 14:01:07 +02:00
Theo Arends 548072daa6 Fix compile errors relatd to LWIP_IPV6
Fix compile errors relatd to LWIP_IPV6
2019-10-14 12:34:01 +02:00
gemu2015 32dc4b8f5f sendmail with bearsssl-light 2019-10-14 10:14:17 +02:00
Stephan Hadinger 5f08aef5f7 Fix Rules were not triggered with IR unknown protocol or in sonoff-it (#6629) 2019-10-13 22:16:13 +02:00
Theo Arends a8582a4d0a
Merge pull request #6634 from altelch/development
Allow IPv6 only setup. Still dualstack but works without configured …
2019-10-13 19:40:55 +02:00
stefanbode 9859ee6083
Fix some errors...
1. reset loop i=1 if address switches to range PCF8574_ADDR2 (PCF8574A were NOT detected)
2. correct logoutput to show correct number of boards found 
3. String array to short for PCF8574A. Overwrite the pfc8574.type with false. Hard to find bug.....
Tested with at least 2 PCF8574 boards.
2019-10-13 17:54:06 +02:00
altelch 7f2efb56af Allow IPv6 only setup. Still dualstack but works without configured IPv4 address. WiFi.Status() returns WL_DISCONNECTED even when IPv6 global address is set. Minimal rework of setup code. 2019-10-13 14:15:32 +02:00
Stephan Hadinger 0092bf766c Add Zigbee additional commands and sending messages to control devices (#6095) 2019-10-13 12:56:52 +02:00
stefanbode 9602546f01
Fix overflow 2019-10-13 09:36:53 +02:00
Theo Arends 7b316f48f1 Change max rule compare string size from 23 to 79
Change max rule compare string size from 23 to 79 (#6624)
2019-10-12 16:42:11 +02:00
Heiko Krupp a103972a21
Fix typo.
Typo I stumbled over...
2019-10-12 13:27:09 +02:00
Theo Arends 76758d3470 Add command Buzzer 0 to stop active buzzer cycle
Add command Buzzer 0 to stop active buzzer cycle (#6615)
2019-10-12 11:06:09 +02:00
Theo Arends 2b63c64f74 Houskeeping 2019-10-11 14:39:58 +02:00
Theo Arends 8803b55e5a
Merge pull request #6618 from altelch/development
Initial IPv6 support for SLAAC (automatic address configuration).
2019-10-11 13:41:01 +02:00
hkrupp b48c1a1c82 Remove logging message translation and core 2.5.2 as future target is core 2.6 2019-10-11 12:50:45 +02:00
Theo Arends 86ffa2d5fe Fix JSON and functionality
Fix JSON and functionality
2019-10-11 11:23:53 +02:00
hkrupp 3596e4c77f Initial IPv6 support (SLAAC). Builds against 2.5.2 and 2.6.0 staging. iram1_0_seg problems with larger configurations. 2019-10-11 07:40:55 +02:00
Theo Arends 3cd6abe0bf
Merge pull request #6606 from shantur/tuya-2-byte-dimmer
Add DimmerRange command and support longer dimmer ranges. Fixes #6605
2019-10-10 22:57:58 +02:00
Theo Arends acbae2edd9
Merge pull request #6612 from s-hadinger/fix_rgb
Fix Avoid full power on 5 channels after a Reset
2019-10-10 22:54:25 +02:00
Stephan Hadinger 111f533a5c Fix Avoid full power on 5 channels after a Reset 2019-10-10 21:44:31 +02:00
Federico Leoni 74081073ba
Update xdrv_12_home_assistant.ino 2019-10-10 15:00:26 -03:00
Shantur Rathore 01f6df9161 Add DimmerRange command and support longer dimmer ranges. Fixes #6605
More and more serial dimmers are coming up with different dimming ranges, implemented DimmerRange command to make this setting generic and bring support for 2 byte dimming ranges which isn't supported by SetOptions.
2019-10-10 15:53:01 +01:00
gemu2015 739f67f1e8 scripter update 2019-10-10 13:39:52 +02:00
Theo Arends 9add6f8d7d Add command Gpio 255
Add command Gpio 255 to show physical GPIO configuration of all non-flash pins (#6407)
2019-10-10 12:26:00 +02:00
Theo Arends 4b36a8dd73 Fix TuyaMcu dimmer count
Fix TuyaMcu dimmer count (#6599)
2019-10-10 11:03:57 +02:00
Theo Arends 0f72a93170 Add command SetOption34 0..255 to set backlog delay
Add command SetOption34 0..255 to set backlog delay. Default value is 200 (mSeconds) (#6562)
2019-10-09 17:52:52 +02:00
Theo Arends 18149f5c17 Bump version to 6.6.0.17 2019-10-09 17:38:43 +02:00
Theo Arends cfe301474a
Merge pull request #6562 from ljakob/development
process Backlog commands without minimum delay
2019-10-09 17:17:19 +02:00
Theo Arends 10babaf061
Update sonoff.h 2019-10-09 17:16:52 +02:00
Theo Arends 11048137ef Fix TuyaMcu, Armtronix and Ps16dz
Fix TuyaMcu, Armtronix and Ps16dz after Light redesign (#6599)
2019-10-09 16:55:15 +02:00
stefanbode 20729e27e2
Update xdrv_27_shutter.ino
Added Calibration matrix
2019-10-09 06:36:11 +02:00
Theo Arends fd2f204e81 Finish light driver redesign
Finish light driver redesign
2019-10-08 18:05:02 +02:00
Theo Arends 8d17301433 Redesign light driver phase 3
Redesign light driver phase 3
2019-10-08 17:46:03 +02:00
Theo Arends 6d31608fe0 Fix PZEM default address and detection
* Change PZEM004T default address mask from 0.0.0.x to 192.168.1.x for legacy reason (#6585)
 * Fix PZEM004T, PZEMAC and PZEMDC autodetection (#6585)
2019-10-08 13:18:10 +02:00
Theo Arends afd3c64844 Bump version to 6.6.0.16 2019-10-08 13:14:25 +02:00
localhost61 426764ea8a Update French translation to v6.6.0.15 2019-10-08 12:01:20 +02:00
Stephan Hadinger f6416aa2da Fix #6534 Power off not working 2019-10-07 20:30:00 +02:00
Theo Arends 48ec64cddb Fix My92x1 driver
Fix My92x1 driver
2019-10-07 11:56:20 +02:00
Theo Arends b8100a056e Fix support for Lohas with multiple CW leds
Fix support for Lohas with multiple CW leds (#6570)
2019-10-07 11:51:08 +02:00
Theo Arends a8d9da243f Fix default MqttLog and Shutter Accuracy
Fix default MqttLog and Shutter Accuracy
2019-10-07 10:34:40 +02:00
Adrian Scillato 284a4c1579
Updated Spanish Translation 2019-10-06 22:48:35 -03:00