Commit Graph

2950 Commits

Author SHA1 Message Date
Theo Arends 669f6c86c9
Merge pull request #4907 from llagendijk/development
Add support for MAX44009 ambient light sensor
2019-01-24 11:21:40 +01:00
Theo Arends caabada214
Update my_user_config.h 2019-01-24 11:21:16 +01:00
Louis Lagendijk 4cdc3d5404 Implemented changes suggested by Theo (Thanks!):
- use functions from support.ino (had to split reading in Max4409Detect
  in 2 8 bits reads as the MAX44009 only supports 16 bits reads for
  luminance registers)
- Used the << instead of pow() to save a lot of xompiled code
- Improved float -> string conversion along the suggested lines
- Code size is now +/- 750 bytes (without other I2C sensors compiled in
  I think
2019-01-23 22:20:29 +01:00
Louis Lagendijk ee3ab87d07 Made requested changes:
- Added checks for improved MAX44009 detection
- removed HTTP_SNS_ILLUMINANCE_S (show only integer in web-interface)
- removed missed readings and repeated detection
2019-01-23 16:06:06 +01:00
Theo Arends 1fe1839690 Force Hass fulltopic change
Force Hass fulltopic change (#4988)
2019-01-22 16:07:16 +01:00
Theo Arends bda3126d9c
Merge pull request #5001 from araczkowski/development
fixed some typos in Polish translation
2019-01-22 13:45:11 +01:00
araczkowski e13fd7983e fix 2019-01-22 12:56:35 +01:00
araczkowski 2f8b083bda fixed some typos 2019-01-22 12:53:02 +01:00
Theo Arends 7745e1e779 Fix Hass Software Watchdog
Fix Hass Software Watchdog exception during discovery (#4988)
2019-01-22 12:46:55 +01:00
Theo Arends dcabb9c6dc 6.4.1.10 Fix Hass discovery of MHZ19(B)
6.4.1.10 20190121
 * Fix Hass discovery of MHZ19(B) sensors (#4992)
2019-01-21 22:18:19 +01:00
Gabor Simon f833dd07ad Enabled 'warm white' pwm in the module config, code comments added, coding style improved 2019-01-21 06:44:07 +00:00
Gabor Simon d9e0e9f89e Added missing definitions to Greek localisation header 2019-01-20 21:18:28 +00:00
Theo Arends 2b7fbe22e3 Fix MQTT host detection
Fix MQTT host detection
2019-01-20 16:57:07 +01:00
Gabor Simon 5537383352 sm16716 works via mqtt 2019-01-19 22:28:58 +00:00
Louis Lagendijk 08512fc5fa First draft of better MAX44009 detection 2019-01-19 23:27:12 +01:00
Gabor Simon c6ddba8fd7 Started SM16716 support 2019-01-19 14:37:22 +00:00
Staars 99bb6977bf make tsl2561 compatible with SHT3x 2019-01-18 22:10:22 +01:00
Theo Arends b5824fc361 Housekeeping 2019-01-18 10:52:18 +01:00
Mike c963900709 If the MDNS hostname is set, use it to verify the cert name. 2019-01-17 19:09:58 -08:00
Theo Arends e7e378f463 Add (S)SerialSend features
* Fix mDNS addService (#4938, #4951)
 * Add (S)SerialSend3 escape sequence \x to allow hexadecimal byte value (#3560, #4947)
 * Add SerialBridge command SSerialSend5 <hexdata>
2019-01-17 17:48:34 +01:00
Daniel Schroeder 092aba945f
Tiny typo fix in comment 2019-01-17 15:29:41 +01:00
Theo Arends 726ec469b9
Merge pull request #4951 from araczkowski/development
MDNS.update();
2019-01-17 12:39:15 +01:00
araczkowski 6f173a59c3 fix MDNS.update(); between ifdefs 2019-01-17 12:34:06 +01:00
andrethomas 66c39ce88c PN532: Prevent non AlphaNumberic on DATA 2019-01-17 02:10:22 +02:00
andrethomas 01ecc12f13 PN532: Prevent non AlphaNumberic on DATA 2019-01-17 01:22:51 +02:00
araczkowski b074d94ef4 #4938 MDNS.update(); 2019-01-16 17:53:23 +01:00
Louis Lagendijk 2a9ad52776 Merge remote-tracking branch 'upstream/development' into development 2019-01-16 14:17:01 +01:00
Mike 838b113fa3 Add a define for mDNS hostname to connect to for MQTT. 2019-01-15 21:48:07 -08:00
Mike 5e06ae1d81 Do MDNS even if TLS is enabled.
I imagine this was disabled due to memory issues, but this seems to work
fine on a Sonoff Basic.
2019-01-15 18:08:28 -08:00
Mike d2d07543b2 Do an MDNS resolve before using the cached host.
MDNS shouldn't be aggressively cached, since the IP could change. This
makes using DHCP for the host a lot easier.
2019-01-15 17:26:51 -08:00
andrethomas 44ea65a389 PN532: Segregate UID and DATA usage 2019-01-15 22:03:55 +02:00
Theo Arends 0186a97cb0 Fix allowable MAX_RULE_VARS to 16
Fix allowable MAX_RULE_VARS to 16 (#4933)
2019-01-15 16:30:20 +01:00
Theo Arends e5fd45c9c8 6.4.1.9 Fix mDNS addService
6.4.1.9 20190115
 * Add support for Mi LED Desk Lamp with rotary switch (#4887)
 * Fix mDNS addService (#4938)
2019-01-15 16:11:42 +01:00
Theo Arends fbf8370b4a
Update sonoff_template.h
Move rotary GPIO to non-user config for now.
2019-01-15 15:35:13 +01:00
dh.harald 9f030ae431 Change color temp with rotary when Button1 pressed 2019-01-15 00:45:19 +00:00
Peter Nyilas b5ad2c8c06 Remove rotary_debounce from settings 2019-01-14 22:53:49 +00:00
andrethomas2 4952c4d72f Update support_rotary.ino 2019-01-14 22:53:15 +00:00
andrethomas2 8e43bb3810 Add void's to functions that have no parameters 2019-01-14 22:53:15 +00:00
dh.harald 2aac0683be Add support for Mi Desk Lamp 2019-01-14 22:53:15 +00:00
Theo Arends fc1198c1f9 Add features
* Add support for Luminea ZX2820 Smart Socket with Energy monitoring (#4921)
 * Add define MDNS_ENABLE to control initial mDNS state (#4923)
 * Add split interlock part 1 (#4910)
2019-01-14 10:57:01 +01:00
Adrian Scillato 2e38c5ba07
Fix missing , 2019-01-13 23:35:33 -03:00
Adrian Scillato 1f8665496c
Add template for Luminea ZX2820
https://github.com/arendst/Sonoff-Tasmota/issues/4904
2019-01-13 15:33:27 -03:00
Joel Stein bab1e4e6ac light: improve handling of dimmer_plugin (fix rules) 2019-01-13 14:52:33 +01:00
lobocobra 15e4918238 As requested in issue 824# by ascillato2, implement split interlock.
=> Split interlock of SONOFF with more than 2 channel into 2 groups
=> This is needed for shutter and similar utilization
2019-01-13 11:00:02 +01:00
Louis Lagendijk 7b9c2d6797 Added MAX44009 in my_user_config.h 2019-01-12 23:27:37 +01:00
Louis Lagendijk 5b7ba95b0c Added Max44009 support 2019-01-12 22:09:50 +01:00
Theo Arends 72bc9b8107 Add support for Smanergy KA10
Add support for Smanergy KA10 Smart Wall Socket with Energy monitoring
2019-01-12 15:16:37 +01:00
Theo Arends a124529015 Add support for Digoo DG-SP202
Add support for Digoo DG-SP202 Smart Socket (#4891)
2019-01-11 14:29:54 +01:00
Theo Arends 0b4bed6099
Merge pull request #4884 from netpok/bugfix-pulldown
Fix GPIO16 Pull-down
2019-01-11 14:14:53 +01:00
netpok 54763329f8 Fix GPIO16 Pull-down 2019-01-10 21:41:36 +01:00
Andre Thomas 63b01ec674
Update xsns_40_pn532_i2c.ino 2019-01-10 18:22:38 +02:00
andrethomas 5f1d6aa4de PN532: Fix memcpy bugs 2019-01-10 18:19:53 +02:00
andrethomas abce4f1a13 PN532: Prevent exception for S, 2019-01-10 18:11:49 +02:00
Theo Arends 2e101839a4 Change web authentication
Change web authentication (#4865)
2019-01-10 12:57:42 +01:00
Theo Arends 5776faf857 Update sonoff_template.h 2019-01-10 11:59:18 +01:00
Donat Marko c8043e2f5b 🏷️ Improves Hungarian (hu-HU) translation 🇭🇺 2019-01-10 00:07:43 +01:00
Theo Arends 24fd7653eb Fix missed JSON sensors
Fix missed JSON sensors in DisplayMode > 0
2019-01-09 14:56:16 +01:00
Theo Arends b69f173706 Fix display t (time) and add T (date)
Fix display t (time) and add T (date)
2019-01-09 14:14:55 +01:00
Andre Thomas b7f361ebbf
PN532: Queue events through backlog 2019-01-09 12:29:12 +02:00
Theo Arends 95bd91b6db
Merge pull request #4863 from blittan/development
Clearer meaning of Static or DHCP
2019-01-09 09:13:52 +01:00
blittan faa3e9a741 Updated Swedish translation 2019-01-08 23:05:54 +01:00
blittan 15041873c2 Clearer meaning of Static or DHCP 2019-01-08 22:12:09 +01:00
Theo Arends 4b741cd1b6
Merge pull request #4860 from andrethomas/development
PN532: Add Read/Write Data support
2019-01-08 21:28:53 +01:00
Andre Thomas 4f568fc365
Update xsns_40_pn532_i2c.ino 2019-01-08 21:15:14 +02:00
andrethomas 549080b850 PN532: Add Read/Write Data support 2019-01-08 20:53:09 +02:00
Theo Arends c5f6823570 Add two modules
* Add support for OBI Power Socket 2 (#4829)
* Add support for YTF IR Bridge (#4855)
2019-01-08 16:27:16 +01:00
Theo Arends efbc74b2a2 Add GPIOs to 12V DC Shelly 1
Add user GPIOs to Shelly 1 only to be used when Shelly is connected to 12V DC (#4854)
2019-01-08 15:58:35 +01:00
Theo Arends 53b8f1f877 Fix HAss Sensor Software Watchdog
Fix Home Assistant Sensor Discovery Software Watchdog restart (#4831)
2019-01-08 15:25:12 +01:00
Theo Arends 9730df7adc Fix exception 28 in display driver 2019-01-08 14:22:45 +01:00
Theo Arends 23fa3c624a Clarify Link/Power LED selection
Clarify Link/Power LED selection
2019-01-08 11:44:45 +01:00
Adrian Scillato a38750bf66
Updated Spanish Translation 2019-01-07 18:55:26 -03:00
Jason2866 941500d1f7
Update de-DE.h 2019-01-07 19:13:11 +01:00
Theo Arends f2835d0ae5 Update sonoff_template.h 2019-01-07 17:47:36 +01:00
Theo Arends 3dc643d9d0 Update sonoff_template.h 2019-01-07 17:44:30 +01:00
Theo Arends 148fe4aec0 Only restart if module supports it 2019-01-07 16:58:44 +01:00
Theo Arends 70619ed610 Housekeeping 2019-01-07 16:43:03 +01:00
Theo Arends a23f01080b 6.4.1.8 Add template flags
6.4.1.8 20190107
 * Change sonoff_template.h layout regarding optional module flags like ADC0
 * Add command SetOption62 1 to force no Button/Switch pullup on dedicated modules. Currently only supported on Shelly2 (#4841)
2019-01-07 16:33:18 +01:00
Theo Arends 95f39be2ef Change button driver making it modular
Change button driver making it modular
2019-01-07 12:38:47 +01:00
Theo Arends 3d31dd1457 Disable Button/Switch 4 seconds
Disable both Buttons and Switches 4 seconds after power on to workaround Wemos and Obi startup issues.
2019-01-07 10:15:00 +01:00
engrbm87 122ae1ee27
fix empty prefix issue
When switchtopic is set to a different topic the prefix will be empty so its length will be zero. In the Shorten function the strncmp will give a zero result because the prefixlen is zero and will add '~' even though there is no prefix.
Adding prefixlen != 0 in the if condition fixes the issue. Also skip adding the prefix "~" on line 292 by checking if the prefix length is greater than zero.
2019-01-06 20:26:42 +02:00
Theo Arends d3020223d7 Update _changelog.ino 2019-01-06 18:57:51 +01:00
Theo Arends e1d903eab3 Add no pull-up control to Shelly 2
Add no pull-up control to Shelly 2 module (default is pull-up, change GPIO2 to Switch3n for no pull-up) (#4841)
2019-01-06 18:50:56 +01:00
Theo Arends 0195cabbd6 Add relay status functionality to LED2
Add relay status functionality to LED2 when configured leaving LED1 for (wifi/mqtt) status indication
2019-01-06 18:02:21 +01:00
Andre Thomas 64ba6fcf8d
PN532: Fix hex formatting to 2 char len per byte
PN532: Fix hex formatting to 2 char len per byte
2019-01-06 16:32:50 +02:00
Theo Arends e9c687cf09 Housekeeping - Documentation 2019-01-06 15:17:22 +01:00
Theo Arends cb8963a7bf 6.4.1.7 Fix regression energy sensors
6.4.1.7 20190106
 * Fix HLW8012, HJL01 and BL0937 based energy sensors low Power (below 10W) measurement regression from 6.4.1.6
2019-01-06 12:29:38 +01:00
Andre Thomas 8d1dee8929
PN532: Enable 1ms ClockStretch
Enable 1ms clock stretch as per datasheet Table 12.25 (Timing for the I2C interface)
2019-01-05 22:05:53 +02:00
Theo Arends 9da900dfb8 Stabilize current SHP6 2019-01-05 18:40:33 +01:00
Theo Arends 41351001f5 6.4.1.6 Re-introduce Cal commands
6.4.1.6 20190105
 * Add commands PowerCal, VoltageCal and CurrentCal for HLW8012, HJL01 and BL0937 based energy sensors
2019-01-05 15:39:56 +01:00
Adrian Scillato 34966913e2
Add GPIO2 to Sonoff RF R2 template
https://github.com/arendst/Sonoff-Tasmota/issues/4820
2019-01-04 17:10:17 -03:00
Theo Arends 7cf9128303
Merge pull request #4819 from ascillato/patch-1
New Triggers for Rules: VARx#STATE and MEMx#STATE
2019-01-04 20:58:11 +01:00
Adrian Scillato 1d23c0b0c5
New Triggers for Rules: VARx#STATE and MEMx#STATE
Added new triggers for rules: `VARx#STATE` and `MEMx#STATE`

These new triggers allows to execute commands when VARs or MEMs change their values.

This is useful for automations where the parameter sent to Tasmota by MQTT is a SetPoint for example.

Before these triggers, the approach was using an `EVENT` to store a value but some components in home automation softwares can't use `cmnd/sonofftopic/EVENT SETVAR=25`, where `cmnd/sonofftopic/EVENT` is the mqtt message and `SETVAR=25` is the payload.

With this new triggers, it will be as simple as `cmnd/sonofftopic/VAR 25` so any automation software can use it.

_(Using `cmnd/sonofftopic/EVENT SETVAR=` as mqtt message and `25` as payload is not understood by Tasmota)_
2019-01-04 16:26:37 -03:00
andrethomas c63ccd7cbd PN532 - Timing tuning 2019-01-04 21:20:38 +02:00
Theo Arends 458b030598 Add Eeprom support
Add initial Eeprom support
2019-01-04 16:05:52 +01:00
andrethomas 44e80c2626 PN532 - Disable before restart 2019-01-04 14:15:10 +02:00
Theo Arends f66de3111e Housekeeping 2019-01-03 18:07:03 +01:00
Theo Arends 67cf1dbbcf 6.4.1.5 Add mDns user control
6.4.1.5 20190103
 * Remove command SetOption35 0-255 for mDNS start-up delay (#4793)
 * Add command SetOption55 0/1 to disable/enable mDNS (#4793)
2019-01-03 17:30:54 +01:00
Theo Arends edc245e5c6 Housekeeping 2019-01-03 15:44:16 +01:00
Theo Arends b584bb0760 Housekeeping 2019-01-03 15:38:15 +01:00
andrethomas cf5c82d225 PN532 Store timeout in PROGMEM 2019-01-03 15:29:41 +02:00
andrethomas 32c167d208 PN532 - Housekeeping 2019-01-03 11:09:49 +02:00
Jason2866 375441f23e
Support PN532 2019-01-03 09:27:40 +01:00
Andre Thomas 3608baf7f8
Add support for PN532 NFC 2019-01-02 23:17:38 +02:00
Andre Thomas 149b335a4b
Add support for PN532 NFC 2019-01-02 22:25:20 +02:00
andrethomas 5ec7249ece Add support for PN532 NFC 2019-01-02 22:04:33 +02:00
Theo Arends 1fb7993d66 Fix epaper driver (#4785)
Fix epaper driver (#4785)
2019-01-02 17:18:47 +01:00
Theo Arends 447ec6256e 6.4.1.4 Update Copyright (C) 2019
6.4.1.4 20190101
 * Update Copyright (C) 2019
2019-01-01 13:55:01 +01:00
Theo Arends f12261e4fa Add support for MAX31855
Add support for MAX31855 K-Type thermocouple sensor using softSPI (#4764)
2019-01-01 13:45:44 +01:00
Theo Arends de8ce9aa9d
Merge pull request #4764 from ipm79/max31855
MAX31855 thermocouple support
2019-01-01 13:13:11 +01:00
Theo Arends c67922241c Add tests for result 2018-12-30 15:32:53 +01:00
Theo Arends 850d240d2e Add test for result usage 2018-12-30 14:56:50 +01:00
Theo Arends 0a22261e36 Revert "Disable unused feature"
This reverts commit 8fe61f6a11.
2018-12-30 14:47:17 +01:00
Theo Arends 8fe61f6a11 Disable unused feature 2018-12-30 14:40:06 +01:00
Theo Arends fb4fe0fd55 Fix DS3231 driver
Fix DS3231 driver breaking function chain (#4759)
2018-12-30 14:28:16 +01:00
Theo Arends e5c38da52c Add debugging options to Switch
Add more debugging options to Switch using SwitchDebounce
2018-12-30 14:04:32 +01:00
Markus Past 9d62f3cb49 added missing languages 2018-12-30 13:34:20 +01:00
Markus Past 42dbda1ffb Merge remote-tracking branch 'upstream/development' into max31855 2018-12-30 12:55:28 +01:00
Markus Past 1e125fc4c6 added some comments 2018-12-30 12:47:59 +01:00
Theo Arends 8b84ec35f7 Fix MGC3130/AZ7798 compile error 2018-12-30 12:30:01 +01:00
Markus Past 1736409b18 Merge remote-tracking branch 'upstream/development' into max31855 2018-12-30 11:50:57 +01:00
Markus Past 5737665a2f MAX31855 driver for Sonoff-Tasmota - Initial commit 2018-12-30 11:45:21 +01:00
Adrian Scillato aa4c58a266
Fix Typo in Spanish Translation 2018-12-29 22:45:32 -03:00
Theo Arends 7ebb7a6067 6.4.1.3 Change sonoff_template.h
6.4.1.3 20181229
 * Change sonoff_template.h module lay-out by removing non-configurable GPIOs
2018-12-29 19:46:28 +01:00
Theo Arends afe83a3460 Prep for template tuning 2018-12-29 17:19:13 +01:00
Theo Arends 5a44b12870 6.4.1.2 Rewrite Switch driver
6.4.1.2 20181228
 * Change switch driver making it modular and introduce input filter (#4665, #4724)
 * Add define DS18B20_INTERNAL_PULLUP to select internal input pullup when only one DS18B20 sensor is connected eliminating external resistor (#4738)
 * Add variable %timestamp% to rules (#4749)
2018-12-28 16:35:19 +01:00
Adrian Scillato 4fcbaf99be
Add variable %timestamp% to be used in rules
This PR adds a new variable %timestamp% to be used in a rule to allow the user to include the Time Stamp as Tasmota has for Status, Sensors, etc, for example:

Command:

publish stat/topic/sensor {"Time":"%timestamp%","mysensor":"%var1%"}

Output:

{"Time":"2018-12-27T12:52:57","mysensor":"1"}

(https://github.com/arendst/Sonoff-Tasmota/issues/4734)
2018-12-27 14:57:27 -03:00
K.C. Budd 8ce6b5a01d Add INPUT_PULLUP option for single DS18B20 2018-12-26 12:10:47 -08:00
Theo Arends 9640931345 Change switch debounce
Change switch input detection by optimizing switch debounce (#4724)
2018-12-26 14:21:00 +01:00
Theo Arends 7291f7d2f7 Fix compiler warning
Fix compiler warning
2018-12-24 18:35:13 +01:00
Theo Arends 0b10f48e41 6.4.1.1 Fix most compiler warnings
6.4.1.1 20181224
 * Fix most compiler warnings
2018-12-24 18:14:25 +01:00
Theo Arends 87ddbd8f38 Release 6.4.1 2018-12-24 16:45:41 +01:00
Theo Arends 0539775cf0 Change MQTT GUI password handling
Change MQTT GUI password handling (#4723)
2018-12-24 14:31:34 +01:00
Joel Stein a013f4de82 PS_16_DZ: fix broken if-statement 2018-12-23 21:06:10 +01:00
Theo Arends 77c07a2e00 Change FallbackTopic
Change FallbackTopic from cmnd/<mqttclient>/ to cmnd/<mqttclient>_fb/ to discriminate from Topic (#1528)
2018-12-23 14:48:57 +01:00
Theo Arends ed6e411f7f Add optional TLS_CA_CERT
Add define USE_MQTT_TLS_CA_CERT for checking MQTT TLS against root ca using Let's Encrypt cert from sonoff_letsencrypt.h - not supported with core 2.3.0 (#4703)
2018-12-22 18:09:27 +01:00
Theo Arends 9e15a1d266
Merge pull request #4703 from fmeies/development
Added option for checking mqtt tls against root ca
2018-12-22 16:50:07 +01:00
Theo Arends e2cd656286 6.4.0.3 Hass and Alexa fixes
6.4.0.3 20181222
 * Change Hass discovery to short MQTT messages as used by Hass 0.81 and up (#4711)
 * Change FallbackTopic detection (#4706)
 * Add define WIFI_SOFT_AP_CHANNEL in my_user_config.h to set Soft Access Point Channel number between 1 and 13 as used by Wifi Manager web GUI (#4673)
 * Fix Alexa "this value is outside the range of the device". Needs power cycle and Alexa deletion/discovery cycle. (#3159, #4712)
2018-12-22 16:13:07 +01:00
Theo Arends a20ae4fd04
Merge pull request #4712 from gourry/master
Remove Alexa message "this value is outside the range of the device"
2018-12-22 16:08:38 +01:00
gourry 6702113308 Remove Alexa message "this value is outside the range of the device" 2018-12-22 14:56:14 +01:00
Erik c348848200 Rename HASS discovery string constants 2018-12-22 13:21:04 +01:00
Erik fd965eba09 Remove SetOption55 (hass_short_discovery_msg) 2018-12-22 13:16:04 +01:00
Frank Meies 59056935f9 Check for core version when enabling tls ca cert, changed names of defines
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 22:54:42 +01:00
Frank Meies d722387344 Check for core version when enabling tls ca cert
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 22:49:46 +01:00
Theo Arends 893f64cfb6 Still need patched PWM for core 2.5.0
Still need patched PWM for core 2.5.0
2018-12-21 17:56:09 +01:00
Theo Arends c1102a4863 6.4.0.2 Fix possible dtostrf bos
6.4.0.2 20181221
 * Fix possible dtostrf buffer overflows by increasing buffers
2018-12-21 16:17:06 +01:00
Theo Arends a80fcd98d7 Fix wifi strongest signal detection
Fix wifi strongest signal detection (#4704)
2018-12-21 13:53:38 +01:00
Theo Arends ec931fe5fe Change RAM usage BMP/BME
Change RAM usage BMP/BME I2C sensors
2018-12-21 11:36:55 +01:00
Frank Meies 435b3afde7 Added option for checking mqtt tls against root ca
Signed-off-by: Frank Meies <19324766+fmeies@users.noreply.github.com>
2018-12-21 11:28:47 +01:00
reey ebd12235c4
add empty unit of measurement for any sensors 2018-12-21 10:38:44 +01:00
reey 6c158434ee
removed some errors from copy pasting.. 2018-12-20 23:27:05 +01:00
reey c1e098403c
add missing units of measurements for energy 2018-12-20 23:06:56 +01:00
dcandi 1fb4e8bc23 pressure unit of measure reporting
Added a dedicated pressure sensor management to report back as pressure sensor and not fallback as a generic sensor in HA autodiscovery process
2018-12-19 20:51:39 +01:00
andrethomas2 8a7dd3e06d
Add support for AZ-Instrument 7798 CO2
Add support for AZ-Instrument 7798 CO2 meter/datalogger
2018-12-19 00:00:19 +02:00
andrethomas2 a6a927b24b
Fix temperature conversion
Fix temperature conversion to still use ConvertTemp() even if meter sends the value in F
2018-12-18 21:31:00 +02:00
andrethomas2 201baa3513
Add void to functions without parameters 2018-12-18 21:14:55 +02:00
Arthur de Beun 6185a08d89 Updated from originals: platformio.ini, sonoff/my_user_config.h. 2018-12-19 06:57:37 +13:00
Arthur de Beun ff1e51613e Include changes from original into sonoff/language/bg-BG.h 2018-12-19 06:51:13 +13:00
Arthur de Beun 2b0987da47 Revert platformio.ini and my_user_config to original version,
adding line for new sensor but leaving it commented out.
2018-12-19 06:36:53 +13:00
Arthur de Beun db65b9c23a Add support for AZ-Instrument 7798 CO2 meter/datalogger. 2018-12-18 22:32:34 +13:00
Arthur de Beun 604f341e9a Add support for AZ-Instrument 7798 CO2 meter/datalogger. 2018-12-18 22:22:41 +13:00
Theo Arends a23226793c
Merge pull request #4663 from vladimirjendrol/development
Add sk-SK language
2018-12-17 21:57:49 +01:00
Vladimír Jendroľ d76a71b2fd Add sk-SK language 2018-12-17 21:46:39 +01:00
Theo Arends 9b2edb1d54
Merge pull request #4656 from chaosmaster/patch-1
introduce new api-call for dimmer-devices
2018-12-17 20:07:24 +01:00
Theo Arends b44506466a
Merge pull request #4657 from chaosmaster/patch-2
SerialLog: output CR + LF instead of just LF
2018-12-17 20:04:14 +01:00
Joel Stein c92ce53ddf SerialLog: output CR + LF instead of just LF 2018-12-17 19:28:31 +01:00
Joel Stein b2005fba40 introduce new api-call for dimmer-devices 2018-12-17 18:29:42 +01:00
Theo Arends 8c48ad3d93 Tune driver RF Sensor
- Free memory when driver RF Sensor is compiled but not used.
- Fix possible buffer overflow exceptions
- Add rule and hardware info to source
2018-12-17 18:06:19 +01:00
Joel Stein 9737ec560c webserver: swap index and name in module configuration 2018-12-17 16:33:07 +01:00
Gennaro Tortone 6869790e47 it-IT language updated 2018-12-17 10:23:58 +01:00
Theo Arends 8792ea48a9 6.4.0.1 New dev release 2018-12-16 16:26:40 +01:00
Theo Arends cb0b5f6eab Merge branch 'master' into development 2018-12-16 16:22:04 +01:00
Theo Arends 44b45e15b3 Prep for merge 2018-12-16 16:14:56 +01:00
Theo Arends 1f38107043 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-16 14:28:33 +01:00
Theo Arends f83bcc2b89 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-15 17:15:51 +01:00
Theo Arends 26d60e5dd7 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-15 17:06:54 +01:00
Theo Arends a7bc97a5af Prep for release
Prep for release
2018-12-15 17:02:05 +01:00
Theo Arends fc7c1ac6b7 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-15 15:55:51 +01:00
Adrian Scillato 3795667f36
Fix HomeAssistant Temp Sensor AutoDiscovery
https://github.com/arendst/Sonoff-Tasmota/issues/4627
2018-12-14 23:57:12 -03:00
andrethomas2 5f560bae13
Fix ArduinoOTA for Core 2.5.0
Fix ArduinoOTA for Core 2.5.0
2018-12-14 01:10:10 +02:00
Adrian Scillato dcbf5a8c94
Fix ArduinoOTA for Core 2.5.0 (fix is backwards compatible)
https://github.com/arendst/Sonoff-Tasmota/issues/4619
2018-12-13 23:04:48 +00:00
Theo Arends 26e84a139e
Merge pull request #4616 from Staars/development
possibility to change measurement range for MHZ-19b
2018-12-13 16:18:43 +01:00
Staars df4f305e3a correcting memcpy calls 2018-12-13 13:46:59 +01:00
Staars 47629a9d61 add debug code to show final command sequence 2018-12-13 12:34:51 +01:00
Erik d3ccd668b0 Publish state message when changing effect 2018-12-12 20:32:10 +01:00
Staars 5c613040a1 mqtt messages updated 2018-12-12 10:11:19 +01:00
Staars b6165e9a81 initial work on range-support 2018-12-12 10:03:58 +01:00
Xavier MULLER 493b76b5ac
Merge branch 'development' into localhost61-fr.FR 2018-12-12 05:22:50 +01:00
Xavier MULLER b7610aab6f
Update fr-FR.h
SDM220 strings  reworked to fit in the space available
2018-12-12 05:14:00 +01:00
Xavier MULLER 276c11fe4e
Update fr-FR.h
Added SDM220  new strings
2018-12-12 02:44:07 +01:00
Theo Arends 160f184e7d
Merge pull request #4596 from emontnemery/hass_fix_button_switch2
More tweak of Hass switch/button
2018-12-11 22:49:47 +01:00
Erik 85c515cc97 More tweak of Hass switch/button 2018-12-11 22:00:34 +01:00
Jason2866 4df23beab1
Update de-DE.h 2018-12-11 20:27:37 +01:00
Adrian Scillato 0c90db5d85
Updated Spanish Translation 2018-12-11 17:30:51 +00:00
Theo Arends b3e5e35cea Add more support
* Add support for decoding Theo V2 sensors as documented on https://sidweb.nl using 434MHz RF sensor receiver
 * Add support for decoding Alecto V2 sensors like ACH2010, WS3000 and DKW2012 using 868MHz RF sensor receiver
 * Add support for Manzoku Power Strip (#4590)
2018-12-11 18:00:12 +01:00
Ikarulus 808e2c073f add manzuko "power strip" 2018-12-11 15:02:14 +01:00
Theo Arends 67ec0678a3 6.3.0.17 Add features
6.3.0.17 20181211
 * Add support for TheoV2 sensors as documented on https://sidweb.nl
 * Add support for SDM220 (#3610)
 * Enhance support for MPU6050 using DMP (#4581)
2018-12-11 14:24:52 +01:00
Theo Arends a913c4459a Fix language file
Fix language file
2018-12-11 13:58:37 +01:00
Theo Arends f573d92207
Merge pull request #3610 from Dees7/development
SDM220 Support
2018-12-11 13:12:36 +01:00
Theo Arends 00792bcaf7
Update my_user_config.h 2018-12-11 13:12:19 +01:00
Theo Arends 400529cd8f
Merge pull request #4581 from Staars/development
Add DMP-use to MPU-6050
2018-12-11 11:33:51 +01:00
Dees7 9980707a0a
Merge branch 'development' into development 2018-12-11 15:22:16 +05:00
Adrian Scillato bc30a18ade
Corrected Domoticz Temp published from MPU6050 2018-12-11 00:57:41 +00:00
Adrian Scillato e5d3c3b793
USE_MPU6050_DMP moved to my_user_config.h 2018-12-10 20:04:48 +00:00
Adrian Scillato 384cc5cb16
USE_MPU6050_DMP moved to my_user_config.h 2018-12-10 20:03:36 +00:00
Adrian Scillato 4fb6773ffb
Update my_user_config.h 2018-12-10 19:28:22 +00:00
Erik 9f515c6c08 Add support for device registry 2018-12-10 19:51:47 +01:00
Theo Arends a516b25c1b Clean and shrink lights
Clean and shrink lights
2018-12-09 16:45:26 +01:00
Staars 140aa8780a add DMP mode to MPU-6050 2018-12-09 09:34:22 +01:00
Erik 9b5e90e24e Fix reversed logic when announcing buttons / switches 2018-12-08 15:24:16 +01:00
Theo Arends 4c2110749c
Merge pull request #4562 from emontnemery/force_local
Enable forced local operation when button- or switchtopic is set
2018-12-08 10:47:11 +01:00
Erik ebf74ab424 Update Hass discovery 2018-12-08 09:43:48 +01:00
Erik a65041fee5 Enabled forced local operation when button- or switchtopic is set 2018-12-08 08:44:59 +01:00
Erik d8cf001304 Announce RGBW light, add 'White' command 2018-12-07 21:32:01 +01:00
Theo Arends dc63d0f91c
Merge pull request #4554 from emontnemery/fix_hass_switch
Fix HASS discovery of switches
2018-12-07 17:43:14 +01:00
Erik fe9103eb68 Fix HASS discovery of switches 2018-12-07 17:19:14 +01:00
Andre Thomas 99e6d7f2ff
MCP230xx driver - add interrupt retention
MCP230xx driver - add interrupt retention over teleperiod.
2018-12-07 01:09:33 +02:00
andrethomas 46816f2f07 MCP230xx - Add Interrupt Retain 2018-12-07 00:55:44 +02:00
Theo Arends 9a3c3895fb Fix Domoticz Fanspeed
Fix Domoticz Fanspeed
2018-12-06 15:03:42 +01:00
Theo Arends 61aa428646 6.3.0.16 - Bump version
6.3.0.16 20181201
 * Add support for iFan02 Fanspeed in Domoticz using a selector (#4517)
 * Add Announce Switches to MQTT Discovery (#4531)
2018-12-06 11:17:25 +01:00
Theo Arends 9471163d86
Merge pull request #4531 from emontnemery/hass_announce_switch
MQTT Discovery - Announce switches
2018-12-06 11:02:40 +01:00
Theo Arends e64c8d61c9
Update sonoff.ino 2018-12-06 11:01:57 +01:00
Theo Arends dfa0d2ef11 Add Domoticz Selector for Fanspeed
Add support for iFan02 Fanspeed in Domoticz using a selector (#4517)
2018-12-06 10:49:49 +01:00
Andrzej 3777dbe45c localization for Polish - KNX, timers, etc. 2018-12-06 09:52:02 +01:00
Theo Arends 597cc42f93
Merge pull request #4538 from blittan/development
Initial translation to Swedish
2018-12-06 08:55:17 +01:00
Adrian Scillato 3b68d606ab
Matched the order of days with Tasmota Timers 2018-12-05 20:14:11 -03:00
Adrian Scillato 5f35f7ebae
Added missing " 2018-12-05 20:11:54 -03:00
Adrian Scillato eda86acaa0
Added Key to select Swedish Translation 2018-12-05 20:01:45 -03:00
Gunnar Norin a36ead52fa
Initial translation to Swedish 2018-12-05 23:25:25 +01:00
Erik 94786d3217 Fix logic for ON/OFF vs TOGGLE 2018-12-05 20:20:36 +01:00
Theo Arends 4b287ab4cb Final fix compile error (#4509)
Final fix soft_spi_flg compile error (#4509)
2018-12-05 12:23:42 +01:00
Erik be19af15e2 Announce switches 2018-12-04 21:32:02 +01:00
Adrian Scillato 24ef9ab6b8
Fix Compilation issue with STAGE Core
Now the Stage core has the the same STR macro defined in sonoff.h.
2018-12-03 17:38:31 -03:00
andrethomas dcaf6164d4
Add support for GPIO02 for newer Sonoff Basic
Add support for GPIO02 for newer Sonoff Basic
2018-12-03 17:34:35 +02:00
andrethomas b148c8bbe5
Add GPIO2 for Sonoff Basic Template
Add GPIO2 for Sonoff Basic Template
2018-12-03 17:30:06 +02:00
andrethomas2 a2e865bb44
Add dummy soft_spi_flg to satisfy compiler
@arendst Just adding this, for now, to satisfy the compiler until you get time to merge the rest of the Software SPI support.
2018-12-02 18:53:49 +02:00
Erik 74172f14d3 Further improve Hass auto discovery 2018-12-02 16:39:59 +01:00
andrethomas2 f3d625d06d
Update _changelog.ino 2018-12-02 11:18:29 +02:00
Theo Arends f4348f19dc
Merge pull request #4488 from winstona/hc-sr04-newping
HC-SR04: switch to using NewPing libraries directly
2018-12-02 09:50:35 +01:00
Adrian Scillato 7e09195083
Delete duplicated min and max functions 2018-12-01 19:16:32 -03:00
Adrian Scillato c68fe7e7ad
RULES: Added BREAK as an alternative ENDON 2018-12-01 19:00:34 -03:00
andrethomas2 e37dbd1f6a
Update xsns_22_sr04.ino 2018-12-01 23:15:19 +02:00
Adrian Scillato 7f2b3643f5
RULES: Added BREAK as an alternative ENDON
RULES: Added BREAK as an alternative ENDON that will stop the execution of the following rules.

If a rule that ends with BREAK, is triggered, then the following rules of that set will not be executed. This is useful for cases like: https://github.com/arendst/Sonoff-Tasmota/issues/4477
2018-12-01 18:12:33 -03:00
Adrian Scillato 98a2e6e175
Added Support for ButtonN and SwitchN 2018-12-01 16:26:15 -03:00
Theo Arends eb3c1a327d 6.3.0.15 Update dynamic sleep
6.3.0.15 20181201
 * Removed command SetOption36 (#4497)
 * Add command SetOption60 0/1 to select dynamic sleep (0) or sleep (1) (#4497)
2018-12-01 18:53:42 +01:00
andrethomas 0bd4ac8eea
Update support_wifi.ino 2018-12-01 18:58:26 +02:00
andrethomas a1c464d34c
Bump version to 0x0603000F
Bump version to 0x0603000F to make sure new sleep command takes effect on 50 as default for upgrades where sleep is < 50.
2018-12-01 18:55:06 +02:00
andrethomas 6050cd40f3 Merge sleep command 2018-12-01 18:47:25 +02:00
Theo Arends 694c29508d
Merge pull request #4492 from localhost61/development
Update fr-FR.h
2018-12-01 10:26:39 +01:00
Xavier MULLER be86811628
Update fr-FR.h
Synced with changes since  v6.2.1.7
2018-12-01 02:48:10 +01:00
andrethomas 5f402c8f34 Fix sleep->SetOption36 transition 2018-12-01 00:18:08 +02:00
andrethomas 3613946f18
Prevent sleep and SetOption36 being used concurrently
Prevent sleep and SetOption36 being used concurrently
2018-11-30 20:00:20 +02:00
andrethomas 33f85b2023
Upd settings.ino - set sleep=0 when SetOption36>0
Update settings.ino - set sleep=0 when SetOption36>0
2018-11-30 19:55:22 +02:00
Theo Arends d7df73784f Housekeeping 2018-11-30 12:04:17 +01:00
Winston Ametsitsi b03c761eee switch to using NewPing lib directly for sr04
add NewPing-1.9.1 lib
2018-11-29 19:45:40 -08:00
Theo Arends 8b5bbd773e Update display and epaper drivers
Update display and epaper drivers
2018-11-29 17:50:45 +01:00
Theo Arends 4d556d159f Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-11-29 15:13:33 +01:00
Theo Arends 7383ab4f45 Add support for Teckin US
Add support for Teckin US Wifi Smart Switch with Energy Monitoring (#4481)
2018-11-29 15:13:28 +01:00
Theo Arends 20480cee47
Merge pull request #4478 from emontnemery/hass_fix_light
Small improvements to Hass MQTT discovery
2018-11-28 20:54:20 +01:00
Erik 259d9f5f6c Small improvements to Hass MQTT discovery 2018-11-28 20:43:36 +01:00
Theo Arends e3bff56092 Fix possible overflow situation
Fix possible overflow situation
2018-11-28 14:06:02 +01:00
Theo Arends 9738f640cf
Merge pull request #4473 from chaosmaster/patch-1
PS_16_DZ: cleanup/optimize
2018-11-28 09:21:15 +01:00
Joel Stein 0ce7537371 PS_16_DZ: cleanup 2018-11-28 00:04:06 +01:00
Erik 6d3223f962 Hass: Restart if topic is changed 2018-11-27 19:31:45 +01:00
Joel Stein f75c4a27ad PS_16_DZ: leave space for trailing 0-byte 2018-11-27 19:01:06 +01:00
Joel Stein 49403243d5 PS_16_DZ: further optimization 2018-11-27 18:02:00 +01:00
Joel Stein 6825b78153 PS_16_DZ: optimize for size 2018-11-27 17:18:41 +01:00
Joel Stein 5099d8f20d PS_16_DZ: reduce buffer-size and actually check for overflow 2018-11-27 16:52:09 +01:00
Joel Stein 7a2c5154aa PS_16_DZ: only update brightness if it actually changed 2018-11-27 16:11:14 +01:00
Theo Arends be358b3314 Prep for Software SPI
Prep for Software SPI used by some displays
2018-11-27 15:11:10 +01:00
Theo Arends fd20706ef7 Move static to dynamic buffers
* Add support for SM Smart Wifi Dimmer PS-16-DZ (#4465)
 * Move some static (serial) buffers to dynamic buffers
2018-11-27 14:38:09 +01:00
Theo Arends 0df7df9b08 Fix dynamic buffer handling
Fix dynamic buffer handling
2018-11-27 12:18:27 +01:00
Theo Arends 3f33e3efa8 Add dynamic buffer space
Add dynamic buffer space
2018-11-27 12:09:36 +01:00
Theo Arends a360ac4ef6 Add dynamic buffer space
Make serial buffer space reservation dynamic
2018-11-27 11:55:54 +01:00
Theo Arends 33a158fb0c
Merge pull request #4465 from chaosmaster/ps16dz
Add support for PS-16-DZ Dimmer
2018-11-27 11:16:23 +01:00
Theo Arends 101cf83d7d
Update settings.ino 2018-11-27 10:54:34 +01:00
Adrian Scillato e3d1971e51
Add Command CalcRes 2018-11-26 23:08:23 -03:00
Joel Stein 281166841b PS_16_DZ: cleanup code 2018-11-27 02:04:59 +01:00
Joel Stein 7e34f402c9 PS_16_DZ: GPIO13 => LED1 2018-11-27 01:30:05 +01:00
Adrian Scillato e46a81c193
6.3.0.14 Added command CalcRes 2018-11-26 21:29:06 -03:00
Adrian Scillato f115120d9b
6.3.0.14 Added Calc Resolution 2018-11-26 21:27:07 -03:00
Adrian Scillato f7a8f39f89
Added command CalcRes 2018-11-26 21:22:44 -03:00
Adrian Scillato 5d11a4f444
Added command CalcRes 2018-11-26 21:16:47 -03:00
Adrian Scillato c51e657ed9
Added command CalcRes 2018-11-26 21:16:09 -03:00
Adrian Scillato 0b988c561b
Added command CalcRes 2018-11-26 21:14:12 -03:00
Joel Stein 7931b3433a PS_16_DZ: bright as int 2018-11-27 01:07:57 +01:00
Theo Arends c3f07f0bd2 Fix WifiManager functionality
Fix WifiManager functionality on initial installation (#4433)
2018-11-26 17:00:18 +01:00
Joel Stein 6f6e4382ec PS_16_DZ: change logprefix to PSZ 2018-11-26 15:27:51 +01:00
Joel Stein 375a684adf PS_16_DZ: merge development 2018-11-26 15:09:35 +01:00
Joel Stein 87d7609b97 PS_16_DZ: init sequence as 0 2018-11-26 13:53:33 +01:00
Joel Stein 3650ab5fd3 PS_16_DZ: use unix-timestamp as sequence 2018-11-26 13:49:21 +01:00
Joel Stein 41ddab2cbe PS_16_DZ: flush serial after sending command 2018-11-26 13:29:00 +01:00
Joel Stein a6124c376e Revert "PS_16_DZ: wait for acknoledgement before sending more commands"
This reverts commit 7203d6ad03.
2018-11-26 13:27:30 +01:00
Theo Arends b4e2fe0439 6.3.0.13 Add command SetOption59
6.3.0.13 20181126
 * Add command SetOption59 0/1 to change state topic from tele/STATE to stat/RESULT (#4450)
2018-11-26 13:01:42 +01:00
Theo Arends eb851a9a90
Merge pull request #4450 from emontnemery/hass_send_tele
WIP - Support sending tele/STATUS as state/RESULT
2018-11-26 12:49:43 +01:00
andrethomas acdbd39124
Fix math in LoadAvg
Fix the math in LoadAvg calculation. To keep average we take away one Nth of loops and add one Nth of current cycle ration to the average.

Now the math makes more sense... maximum load average on setoption36 0/1 = 999 (as it should be)
2018-11-26 11:37:15 +02:00
Joel Stein 7203d6ad03 PS_16_DZ: wait for acknoledgement before sending more commands 2018-11-26 03:20:15 +01:00
Joel Stein 1dc7a5847c PS_16_DZ: correctly parse sequence 2018-11-26 02:22:18 +01:00
Joel Stein 283f023f29 PS_16_DZ: move in nicelist 2018-11-26 01:19:09 +01:00
Joel Stein 985db96f91 PS_16_DZ: print correct sequence 2018-11-26 00:47:00 +01:00
Joel Stein b7a18f7bcc PS_16_DZ: tryfix dimming 2018-11-26 00:31:45 +01:00
Joel Stein 977822f131 PS_16_DZ: start must be 'A' 2018-11-25 23:41:11 +01:00
Joel Stein 0f2ea2800e PS_16_DZ: start must be 'A' 2018-11-25 23:39:44 +01:00
Joel Stein e024ca3beb PS_16_DZ: start sequence with 1529000000000 2018-11-25 23:09:58 +01:00
Joel Stein 5ce19fc3f7 PS_16_DZ: don't use String class 2018-11-25 22:43:28 +01:00
Erik eda60b6124 Support sending tele/STATUS as state/RESULT 2018-11-25 21:27:19 +01:00
Nick Galfas 3af44ab81f
Update el-GR.h
Improved Greek translation including the latest versions text fields
2018-11-25 20:19:20 +02:00
Theo Arends 243ec16d80 Fix another calcuation error
Fix another calcuation error
2018-11-25 17:31:53 +01:00
andrethomas 0b14a95082
Remove assumption of 100% to report correctly
Remove the assumption of 100% loop duty cycle as we want an accurate loop load average and not a percentage as such - so if it overshoots the value stored for setoption36 this should be known by looking at the load average and not be distorted by reducing it to 100 basis points on the assumption that my_acitivity took as long as setoption36.
2018-11-25 17:52:07 +02:00
Theo Arends 05be1ee21c Fix exception due to divide by 0
Fix exception due to divide by 0
2018-11-25 16:41:29 +01:00
andrethomas 7c84f892fc Add target loop delay to telemetry 2018-11-25 14:29:53 +02:00
andrethomas c22fcc2a3a
Update CPU average load function
Remove unnecessary manipulations :)
2018-11-24 19:00:42 +02:00
Theo Arends 52eeef95f0 Add CPU average load
Add CPU average load to state message (#4431)
2018-11-24 17:43:18 +01:00
Theo Arends 164db4e12b Clean up
Clean up
2018-11-24 17:22:06 +01:00
Theo Arends 4700e49d70
Update sonoff.ino 2018-11-24 17:16:27 +01:00
andrethomas 0e56044eb5
Add main loop load average
Add main loop avarage duty cycle measured against setoption36 value to telemetry data as LoadAvg
2018-11-24 18:12:49 +02:00
Theo Arends eada06a66c
Merge pull request #4430 from chaosmaster/patch-1
OBI: make UART user configurable
2018-11-24 16:58:26 +01:00
Joel Stein f391c0fd65 OBI: make UART user configurable 2018-11-24 16:47:26 +01:00
Joel Stein 9574fc7c65 PS_16_DZ: fixes 2018-11-24 16:24:44 +01:00
Theo Arends 4b57bff728 Rename Module 45 to Blitzwolf SHP
Rename Module 45 to Blitzwolf SHP as it serves both SHP2 and SHP6 (among others)
2018-11-24 16:08:53 +01:00
andrethomas2 01db8fa25b
Update _changelog.ino 2018-11-24 13:28:32 +02:00
Theo Arends 4aadc328ce
Merge pull request #4423 from andrethomas/patch-1
Increase delays before web ui is refreshed
2018-11-24 12:05:08 +01:00
Theo Arends 9608bfd2e5
Update xdrv_01_webserver.ino 2018-11-24 12:04:30 +01:00
Theo Arends 263839a1a0 Fix MqttRetry values above 255
Fix MqttRetry values above 255 seconds (#4424)
2018-11-24 12:01:13 +01:00
andrethomas ef4e2b297c
Decrease update webui refresh to 5 seconds
Decrease update webui refresh to 5 seconds
2018-11-24 13:00:45 +02:00
andrethomas a6983d52f7
Increase delays before web ui is refreshed
The current 5-second delay before refreshing web ui after settings were changed is not always sufficient as wifi can take up to 10 seconds to re-connect and be available on some wireless networks, depending on the device's RSSI.

This change increases the delay from 5 seconds to 10 seconds which have been tested down to RSSI levels of 25 to be sufficient.

This change also increases the refresh delay when a local OTA is uploaded to 20 seconds which allows enough time for the cp: process to complete and the device to reconnected to wifi under >= 25 RSSI conditions.
2018-11-24 12:46:32 +02:00
Joel Stein 34da2859ba PS_16_DZ: fixes 2018-11-24 05:08:14 +01:00
Joel Stein 55b287d6da PS_16_DZ: fix define in xdrv04 2018-11-24 04:09:57 +01:00
Joel Stein dfc154ab16 PS_16_DZ: remove unwanted file 2018-11-24 03:38:55 +01:00
Joel Stein 64d6ef86ce PS_16_DZ: initial support 2018-11-24 03:29:32 +01:00
Theo Arends 763a280903 Fix MPU6050 JSON message
Fix MPU6050 JSON message (#4412)
2018-11-23 11:04:05 +01:00
Theo Arends 8c1b966004 Move IrSend rawdata to stack
Move IrSend rawdata from heap to stack
2018-11-22 17:58:07 +01:00
andrethomas c436ed5d3d
Update boot delay code
Since the driver boot delay has been removed, this is a better strategy for getting a smoother boot cpu cycle vs loop delay.
2018-11-22 17:13:55 +02:00
Theo Arends 6c87ab205a Fix possible strncat buffer overflows
Fix possible strncat buffer overflows
2018-11-22 15:41:30 +01:00
Theo Arends d71ae77900 6.3.0.12 Change boot delays
6.3.0.12 20181122
 * Remove delays introduced in 6.3.0.11 (#4233)
 * Add additional start-up delay during initial wifi connection
 * Add support for I2C MGC3130 Electric Field Effect sensor by Christian Baars (#3774, #4404)
 * Add initial support for Hass sensor discovery (#4380)
2018-11-22 12:25:18 +01:00
Theo Arends 29f46c5804
Merge pull request #4380 from emontnemery/hass_announce_dht_sensor
Add support for sensor discovery
2018-11-22 12:16:41 +01:00
Theo Arends 8cae2a5ba9
Merge pull request #4403 from ascillato/patch-1
Fix PIO Linter Warning
2018-11-22 12:04:28 +01:00
Theo Arends a9c5eeece1
Merge pull request #4404 from Staars/development
support for MGC3130
2018-11-21 21:17:17 +01:00
Christian 02dd07cb95
Language keys for MGC3130 2018-11-21 21:09:17 +01:00
Christian ae9d66bfa9
Language keys for MGC3130 2018-11-21 21:08:46 +01:00
Christian 0d6df5ed61
Language keys for MGC3130 2018-11-21 21:08:19 +01:00
Christian 08ae15db6f
Language keys for MGC3130 2018-11-21 21:07:42 +01:00
Christian 20d3343e85
Language keys for MGC3130 2018-11-21 21:07:13 +01:00
Christian ba6433ccf7
Language keys for MGC3130 2018-11-21 21:06:32 +01:00
Christian 87a9d3e0cf
Language keys for MGC3130 2018-11-21 21:06:02 +01:00
Christian e08f2126b6
Language keys for MGC3130 2018-11-21 21:05:34 +01:00
Christian 3c3ae73e60
Language keys for MGC3130 2018-11-21 21:05:09 +01:00
Christian 1961e5b9d9
Language keys for MGC3130 2018-11-21 21:04:41 +01:00
Christian 65c848e4a2
Language keys for MGC3130 2018-11-21 21:04:15 +01:00
Christian 70188e0aeb
Language keys for MGC3130 2018-11-21 21:03:41 +01:00
Christian c5223b5af8
Language keys for MGC3130 2018-11-21 21:03:16 +01:00
Christian 4af915ff56
Language keys for MGC3130 2018-11-21 21:02:39 +01:00
Christian 16e65c1541
Language keys for MGC3130 2018-11-21 21:01:50 +01:00
Christian 9bf5b17351
Language keys for MGC3130 2018-11-21 21:01:09 +01:00
Christian 039e228cfe
Language keys for MGC3130 2018-11-21 20:59:44 +01:00
Christian f4115c17fd
Language key for MGC3130 2018-11-21 20:59:08 +01:00
Christian 855cc53d93
Disable MGC3130 by default 2018-11-21 20:51:15 +01:00
Erik bee50cba06 Add support for sensor discovery 2018-11-21 19:21:51 +01:00
Staars 0924d7a2e6 first integration of the driver into the TASMOTA-repo 2018-11-21 19:13:52 +01:00
Adrian Scillato 4cbbfd8a02
Fix PIO Linter Warning
This fixes the linter warning for Platformio due to module is defined in platformio.ini and also my_user_config.h

If module is not defined in my_user_config.h nor in platformio.ini, sonoff_post.h will make SONOFF_BASIC as the default.

This works for both Arduino and Platformio

This will work as the same as #define MY_LANGUAGE works. If you define it in my_user_config.h, the compiler will use that language, if not defined, the compiler will use en-GB as the default language.
2018-11-21 15:13:29 -03:00
Adrian Scillato c32b7b50e9
Fix warning when compiling sonoff-sensors.bin 2018-11-21 13:58:10 -03:00
Theo Arends 25f24cd318 Change default WIFI_CONFIG_TOOL
Change default WIFI_CONFIG_TOOL from WIFI_WAIT to WIFI_RETRY in my_user_config.h (#4400)
2018-11-21 17:19:06 +01:00
Theo Arends 070843200f Add IR Raw data control
* Add command SetOption58 0/1 to enable IR raw data info in JSON message (#2116)
 * Add command IRSend <frequency>|0,<rawdata1>,<rawdata2>,.. to allow raw data transmission (#2116)
2018-11-21 16:36:10 +01:00
Theo Arends 0924dfcfb7 Update IRRemoteESP8266 library
Update IRRemoteESP8266 library from 2.2.1 to 2.5.2
2018-11-20 15:53:56 +01:00
Theo Arends 23c16e58a9 Housekeeping
Housekeeping
2018-11-20 15:00:24 +01:00
Theo Arends 76829d4ced 6.3.0.11 Add delays
6.3.0.11 20181120
 * Add delays removed in 6.3.0.9 (#4233)
 * Allow user definition of defines WIFI_RSSI_THRESHOLD (default 10) and WIFI_RESCAN_MINUTES (default 44)
 * Add support for Fujitsu HVac and IrRemote (#4387)
2018-11-20 14:10:32 +01:00
Theo Arends 7218d86722
Merge pull request #4387 from dizel-by/development
Fujitsu HVAC support
2018-11-20 13:31:27 +01:00
Theo Arends 5ee6922da9 Fix wifi re-scan connection baseline
Fix wifi re-scan connection baseline
2018-11-20 12:03:42 +01:00
Adrian Scillato ca24d20551
Update de-DE.h
#4388
2018-11-20 00:08:29 -03:00
Theo Arends c502f0934f Add command SetOption57
* Add command SetOption57 0/1 to enable wifi network re-scan every 44 minutes with a rssi threshold of 10 to select highest RSSI (#3173)
 * Fix MQTT connection error after restart
2018-11-19 23:06:42 +01:00
Alexander Savchenko bf90e60f99 Fujitsu HVAC support 2018-11-19 20:45:37 +02:00
Theo Arends 93cb0a18a9 Update support_wifi.ino
Fix undefine
2018-11-19 18:14:53 +01:00
Theo Arends e34a1f0719 Add wifi network scan
* Add command SetOption56 0/1 to enable wifi network scan and select highest RSSI (#3173)
2018-11-19 18:07:25 +01:00
Norbert Richter 88528d8ef3 Fix NovaSDS sensor rare checksum failure
- NodeSDS send/rec rewritten (common func)
2018-11-19 12:56:54 +01:00
Theo Arends 1708131ef5
Merge pull request #4377 from evzone/development
Added support for LG wall hvac
2018-11-19 11:00:48 +01:00
Theo Arends 288fefebb7
Update xdrv_05_irremote.ino 2018-11-19 11:00:24 +01:00
Theo Arends fe7f154b25
Update my_user_config.h 2018-11-19 10:59:01 +01:00
digiblur a2ca0dd567
Add SK03 Outdoor Module with Power Monitoring
Couldn't add the module using Generic as the power monitoring had to be added.

See the Tasmota wiki entry for more info:  https://github.com/arendst/Sonoff-Tasmota/wiki/SK03-Outdoor-Smart-Plug-w--Power-Monitoring-(HLW8012-&-Tuya-Module)
2018-11-18 17:02:09 -06:00
andrethomas2 809ae966df
Update _changelog.ino 2018-11-18 20:03:59 +02:00
Theo Arends 50f4f0300b Update sonoff.h
Update default loop sleep delay from 10 to 50
2018-11-18 17:25:39 +01:00
Theo Arends 4899178362 6.3.0.10 Add command SetOption36
6.3.0.10 20181118
 * Add command SetOption36 0..255 milliseconds (10 default) to tune main loop dynamic delay
2018-11-18 16:49:02 +01:00
Theo Arends 18997e841f 6.3.0.9 Add dynamic delay in loop
6.3.0.9 20181118
 * Moved command SetSensorXX to debugging driver freeing user code space
 * Add dynamic delay to main loop providing time for wifi background tasks
 * Remove delays introduced in 6.3.0.1 (#4233)
2018-11-18 15:02:52 +01:00
evzone beb9d0ff84 add IR support to LG wall HVAC systems 2018-11-18 11:35:53 +02:00
evzone 13c7958c99 Revert "add support to LG wall HVAC systems"
This reverts commit 68e7803651.
2018-11-18 11:28:23 +02:00
evzone 68e7803651 add support to LG wall HVAC systems 2018-11-18 11:15:54 +02:00
evzone 1900aec318 Revert "commented user override to pass travis ci test"
This reverts commit 7e576a58f9.
2018-11-18 11:08:48 +02:00
evzone 7e576a58f9 commented user override to pass travis ci test 2018-11-18 11:05:50 +02:00
evzone 3be1b7a1e0 Revert "Added support for LG wall hvac"
This reverts commit 40c1331b8a.
2018-11-18 11:03:02 +02:00
evzone 40c1331b8a Added support for LG wall hvac 2018-11-18 09:06:59 +02:00
Norbert Richter e07cd3e48b Fix NovaSDS sensor Checksum failure 2018-11-17 12:47:44 +01:00
Theo Arends e284e78b4d Add support for Armtronix dimmers
Add support for Armtronix dimmers. See wiki for info (#4321)
2018-11-16 12:22:15 +01:00
Theo Arends 48fa0705e0
Merge pull request #4321 from wvdv2002/armtronix
WIP: Added Armtronix dimmer support
2018-11-16 10:43:18 +01:00
Theo Arends 77e76691b6
Fix correct module index 2018-11-16 10:39:57 +01:00
Theo Arends 5d798e3381
Make it optional on first implementation 2018-11-16 10:37:52 +01:00
Theo Arends 04cc11b46d
Use correct index 2018-11-16 10:36:43 +01:00
wvdv2002 45cc387748 Added small description in the driver 2018-11-16 09:58:14 +01:00
wvdv2002 9ab3eb05bd Renamed driver so it is more clear that it is not only for the dual dimmer 2018-11-16 09:53:23 +01:00
wvdv2002 c2dfd559eb Added user config define to enable armtronix dimmers 2018-11-16 09:48:55 +01:00
Theo Arends 9eacabc4f0 Delay initial flash write
* Stop enforcing flashmode dout but it is still mandatory
 * Moved bootcount update (being first) flash write to 10 seconds after restart
2018-11-16 09:36:41 +01:00
wvdv2002 7b6553d116 Merge remote-tracking branch 'origin/development' into armtronix 2018-11-16 09:31:58 +01:00
Theo Arends a1ff029335 Revert "Quietly allow settings update"
This reverts commit 999f0a3f92.
2018-11-16 09:18:40 +01:00
Erik 7c2c4edd1f Add support for topic prefix
Also fix announcement of RGB capable light.
2018-11-15 22:20:31 +01:00
Erik 89b58f62af Add option for new Hass discovery feature 2018-11-15 17:37:53 +01:00
Erik 8628c54ba0 Support abbreviations in discovery message 2018-11-15 17:36:19 +01:00
Theo Arends 999f0a3f92 Quietly allow settings update
Quietly allow settings update to solve issues caused by Reset command leading to unusable device
2018-11-15 17:29:48 +01:00
Theo Arends 877771c90a 6.3.0.8 Stop enforcing dout
6.3.0.8 20181115
 * Stop enforcing flashmode dout. Still mandatory but this a chk for possible future flash corruption
2018-11-15 14:55:45 +01:00
Theo Arends d5f3b8483c Extent log buffer to 520 characters
* Extent log buffer to accomodate up to 8 DS18B20 sensors http JSON data (#4354)
* Fix APDS9960 sensor use of log buffer
2018-11-15 14:24:19 +01:00
andrethomas 4a7e7b0dbb Change C functions with () to (void) 2018-11-14 15:32:09 +02:00
Denis Taranushin 2c138e69c2 Add SDM220 Support
Add some electric parameters for SDM220
2018-11-13 19:55:24 +05:00
Theo Arends a01f9bdda1 Add re-probe to NovaSDS sensor
Add re-probe to NovaSDS sensor (#4335)
2018-11-13 15:15:11 +01:00
Theo Arends 3ef78e8095 Revert "Moved command SetSensorXX"
This reverts commit 830319bc6e.
2018-11-12 15:54:18 +01:00
Theo Arends 830319bc6e Moved command SetSensorXX
Moved command SetSensorXX to debugging
2018-11-12 15:09:09 +01:00
Theo Arends e2dd11b0bc Consolidate LTrim into Trim
Consolidate LTrim into Trim
2018-11-12 12:33:49 +01:00
Theo Arends d3f5c8978b Update command WebSend
* Change command WebSend Host header field from IP address to hostname (#4331)
 * Add to command WebSend option to send a direct path when command starts with a slash (#4329)
2018-11-12 11:13:05 +01:00
Theo Arends 406907cbe2 Revert "Update command WebSend"
This reverts commit 59c5817214.
2018-11-12 11:11:22 +01:00
Theo Arends 59c5817214 Update command WebSend
* Change command WebSend Host header field from IP address to hostname (#4331)
 * Add to command WebSend option to send a direct path when command starts with a slash (#4329)
2018-11-12 11:10:55 +01:00
Theo Arends 41aafe05ae Change command WebSend
Change command WebSend Host header field from IP address to hostname (#4331)
2018-11-12 10:20:30 +01:00
Theo Arends c0cfdde8ac Fix Sonoff Pow R2 and Sonoff S31
Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by Sonoff Basic R2 driver delay implementation (and possibly core bug)
2018-11-11 17:58:18 +01:00
wvdv2002 a3ee9e7492 Cleaned up code and settings 2018-11-11 16:58:21 +01:00
Theo Arends 0868c72140 Fix Sonoff Pow R2 and Sonoff S31
Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by MP3 driver
2018-11-11 16:52:09 +01:00
wvdv2002 c2e1e0344d Revert "Added language strings for uart TX/RX"
This reverts commit fd8622d546.
2018-11-11 15:20:10 +01:00
Theo Arends 2a2b224a24 Add pulse time to received JSON
Add pulse time to received JSON message in RcSwitch driver (#2702)
2018-11-11 14:45:19 +01:00
Theo Arends a55ec91a10 6.3.0.7 Use ESP.reset
6.3.0.7 20181111
 * Fix wifi connection errors using ESP.reset instead of ESP.restart
2018-11-11 14:28:46 +01:00
Theo Arends e76f862b8f Add info
Add info
2018-11-11 13:39:24 +01:00
Theo Arends 72dede855a Add domoticz support to SR04
Add domoticz support to sensor SR04 (#4325)
2018-11-11 13:21:46 +01:00
Theo Arends 9f09b6179c
Merge pull request #4320 from chaosmaster/patch-1
tuya: formatting/cleanup
2018-11-10 18:31:58 +01:00
Joel Stein 0d78ec4fad tuya: change Sent -> TX, Rcvd -> RX 2018-11-10 18:08:31 +01:00
Theo Arends 671231053a More webserver GUI tuning
More webserver GUI tuning
2018-11-10 17:30:23 +01:00
Theo Arends 827dd62f61 Fix GUI Configure Module regression
Fix GUI Configure Module regression (#4319)
2018-11-10 16:45:32 +01:00
wvdv2002 00dbfe8e04 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into armtronix 2018-11-10 16:40:37 +01:00
wvdv2002 fd8622d546 Added language strings for uart TX/RX 2018-11-10 16:39:58 +01:00
Joel Stein 3c935d2419 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-11-10 16:39:38 +01:00
wvdv2002 410e49a3c7 Added Armtronix dimmer support 2018-11-10 16:30:29 +01:00
Theo Arends 9872f942ae 6.3.0.6 Change GUI page load
6.3.0.6 20181110
 * Change GUI Configure Module by using AJAX for data fetch to cut page size (and memory use) by 40%
2018-11-10 15:10:58 +01:00
Theo Arends 7a235cc8ef Fix shelly2 ghost switching
Fix shelly2 ghost switching caused by lack of pull-up inputs (#4255)
2018-11-10 10:48:28 +01:00
Joel Stein d573f7641a tuya: formatting 2018-11-09 01:28:11 +01:00
Theo Arends 3332ab01a1 Revert "Add RF calibration on next restart"
This reverts commit 2a4d82f4b6.
2018-11-08 16:33:34 +01:00
Theo Arends 2a4d82f4b6 Add RF calibration on next restart
Add RF calibration on next restart
2018-11-08 14:21:45 +01:00
Theo Arends f9bddb6c54 Add flashchipid info
Add flashchipid info
2018-11-08 10:40:19 +01:00
Theo Arends b5d38c4eee Add support for Gosund SP1 v2.3
Add support for Gosund SP1 v2.3 Power Socket with Energy Monitoring (#4297)
2018-11-08 10:24:10 +01:00
Theo Arends 61985ca16b Add hex to flash info 2018-11-07 18:43:44 +01:00
Theo Arends 4a21d3270d Restrict hardware serial
Restrict hardware serial
2018-11-07 15:37:06 +01:00
Theo Arends c75ae78d88 6.3.0.5 Add code image
6.3.0.5 20181107
 * Add code image and optional commit number to version
2018-11-07 15:03:41 +01:00
Theo Arends 44d6714b69 Moved all func ptr tables to RAM
Moved all function pointer tables to RAM to check performance issues
2018-11-07 11:57:28 +01:00
Theo Arends a4df728115 Moved func ptr tables to RAM
Moved function pointer tables to RAM to check performance issues
2018-11-07 11:38:24 +01:00
Theo Arends 9fef82736d Prep drivers for management
Prep drivers for management
2018-11-07 10:30:03 +01:00
Theo Arends f14491afb6
Merge pull request #4296 from chaosmaster/patch-1
tuya: fix SetOption20 behavior for Oittm/Moes
2018-11-07 09:02:47 +01:00
Joel Stein a2b7bdac45 tuya: name flag SetOption54 2018-11-06 23:27:49 +01:00
Joel Stein 7003435b34 tuya: use SetOption54 instead of SetOption22 2018-11-06 22:58:07 +01:00
Joel Stein 134a10d2c4 tuya: Add SetOption22 to select if brightness-commands from faceplate should be ignored while powered off 2018-11-06 20:06:25 +01:00
Theo Arends 15148f290d 6.3.0.4 Add SetSensorXX
6.3.0.4 20181106
 * Add command SetSensorXX 0/1 to disable/re-enable compiled xsns_XX_sensor.ino driver
2018-11-06 17:33:51 +01:00
Adrian Scillato a0c38ad397
Reverting PR #4279 that brokes Alexa support 2018-11-06 11:35:06 -03:00
Theo Arends 28c1eed302 Fix baudrate when module changed
Fix baudrate when module changed
2018-11-06 11:48:04 +01:00
Theo Arends 49acf4a7d3 Add optional hardware serial
* Add optional hardware serial when GPIO13(Rx) and GPIO15(Tx) are selected removing hardware serial from GPIO01(Tx) and GPIO03(Rx) (#4288)
 * Bump TasmotaSerial version from 2.1.0 to 2.2.0
2018-11-06 11:27:19 +01:00
Joel Stein aa148f67a3 tuya: fix SetOption20 for Oittm/Moes 2018-11-06 05:35:07 +01:00
Theo Arends c9cf375c6c Add checks for GPIO selections
Add more strict checks for GPIO selections
2018-11-05 17:27:02 +01:00
Theo Arends 7418bb9b3d 6.3.0.3 Swap Tx/Rx hardware serial
6.3.0.3 20181105
 * Fix hardware serial pin configuration. To keep using hardware serial swap current Rx/Tx pin configuration only (#4280)
2018-11-05 10:26:06 +01:00
Theo Arends 4e68e9fba1
Merge pull request #4279 from emontnemery/hue_small_fix
Correctly announce non RGBWW light
2018-11-05 09:11:04 +01:00
Erik b5f20dd643 Correctly announce non RGBWW light 2018-11-04 23:43:34 +01:00
Jason2866 98c7e467f8
Update de-DE.h
Fixing some minor errors
2018-11-04 22:14:05 +01:00
Theo Arends 39efb2aa53 Possible fix for timer saving
Possible fix for timer saving on Safari/Chrome on IOS devices(iPhone/iPAD) (#4250)
2018-11-04 18:29:53 +01:00
Theo Arends 82b65de724 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2018-11-04 18:00:15 +01:00
Theo Arends 99ae0c9cab Change wifi connection check
Change wifi connection check
2018-11-04 18:00:07 +01:00
Theo Arends 27e540d101
Merge pull request #4273 from chaosmaster/tuya-refactor
tuya: refactor code
2018-11-04 16:58:56 +01:00
Theo Arends 14a7424e9b Add command SetOption24
Add command SetOption24 0/1 to select pressure unit as hPa or mmHg (#4241)
2018-11-04 16:55:12 +01:00
Theo Arends 9fc701b649
Merge pull request #4241 from eeak/mmHg
Add mmHg conversion
2018-11-04 15:31:07 +01:00
Joel Stein 0c3123a7aa tuya: reorder functions 2018-11-04 06:56:36 +01:00
Joel Stein 256b5cba8e tuya: only handle reset GPIO 2018-11-04 06:40:55 +01:00
Joel Stein b958c7b716 tuya: cleanup 2018-11-04 03:40:14 +01:00
Joel Stein 2a9a5bb94b tuya: send power when setting dim-level 2018-11-03 23:24:43 +01:00
Joel Stein 91ead8c60e tuya: refactor/simplify code 2018-11-03 22:34:29 +01:00
Joel Stein 7d9bc1039f tuya: don't set tuya_wifi_state in TuyaResetWifi() (will be set automatically) 2018-11-02 16:04:35 +01:00
Theo Arends 4e956cb582
Merge pull request #4244 from chaosmaster/tuya-autoconfig
tuya: autoconfig and other updates
2018-11-02 08:04:49 +01:00
andrethomas b2f7427d17 Fix regression for nrg and dsp interface delays 2018-11-01 21:41:42 +02:00
Andrei eeak 2f1a4df1f0 Fix ш18тюр 2018-11-01 21:11:57 +02:00
Andrei eeak 835e3f670c Delete D_MMHG 2018-11-01 19:37:25 +02:00
andrethomas 2e1ba0194c Move #define DRIVER_BOOT_DELAY to sonoff.h 2018-11-01 19:36:10 +02:00
Andrei eeak aa8e571e88 Add D_UNIT_MILLIMETER_MERCURY 2018-11-01 19:17:12 +02:00
eeak 7bbbf26523
Update zh-TW.h 2018-11-01 18:30:56 +02:00
eeak 8b5975b462
Update zh-CN.h 2018-11-01 18:30:39 +02:00
eeak f25c6fb5f8
Update uk-UK.h 2018-11-01 18:30:25 +02:00
eeak 2f1c48a27c
Update tr-TR.h 2018-11-01 18:30:12 +02:00
eeak 7f7c5b9808
Update pt-PT.h 2018-11-01 18:29:58 +02:00
eeak 6271c3b562
Update pt-BR.h 2018-11-01 18:29:38 +02:00
eeak 69fc4e6c86
Update pl-PL.h 2018-11-01 18:29:24 +02:00
eeak 39e3b75f0c
Update nl-NL.h 2018-11-01 18:29:11 +02:00
eeak 07df5e6c2f
Update it-IT.h 2018-11-01 18:27:33 +02:00
eeak 848a197a4b
Update hu-HU.h 2018-11-01 18:27:18 +02:00
eeak 3c935c6d57
Update he-HE.h 2018-11-01 18:27:04 +02:00
eeak c3ffce4d4e
Update fr-FR.h 2018-11-01 18:26:44 +02:00
eeak 89bbe111d3
Update es-AR.h 2018-11-01 18:26:28 +02:00
eeak 517242ff5e
Update el-GR.h 2018-11-01 18:26:03 +02:00
eeak 5a0f2fd895
Update de-DE.h 2018-11-01 18:25:45 +02:00
eeak 591411fc37
Update cs-CZ.h 2018-11-01 18:25:32 +02:00
eeak 6aa9f13f9c
Update bg-BG.h 2018-11-01 18:25:13 +02:00
eeak cd8d316741
Update en-GB.h 2018-11-01 18:04:44 +02:00
eeak 6a3ca9bd99
Update ru-RU.h 2018-11-01 17:55:27 +02:00
eeak f1ce6d57da
Update my_user_config.h 2018-11-01 17:49:03 +02:00
eeak 3ff97d5c1e
Update my_user_config.h 2018-11-01 17:39:13 +02:00
eeak db4d7ed277
Add ConvertPress() 2018-11-01 17:36:22 +02:00
eeak 1a86c65339
Update xsns_09_bmp.ino 2018-11-01 17:32:24 +02:00
andrethomas 1000cb836f Make driver boot delay configurable 2018-11-01 17:24:49 +02:00
Theo Arends 04bddf6370 Fix compile error
Fix compile error
2018-11-01 14:27:37 +01:00
Theo Arends eb4f1173d3 6.3.0.2 Add Timezone minutes
6.3.0.2 20181101
 * Add minutes to commands Timezone to allow all possible world timezones
2018-11-01 14:24:10 +01:00
Theo Arends 46a0a0afba Add minutes to commands Timezone
Add minutes to commands Timezone to allow all possible world timezones
2018-11-01 13:00:05 +01:00
Joel Stein f4c80b5ed0 tuya: accept any wifi-reset packet 2018-11-01 04:30:02 +01:00
Joel Stein 9723d6de56 tuya: keep option to set dimmer-id at compile-time 2018-11-01 03:39:54 +01:00
Joel Stein 7f9f1f2f66 tuya: autoconfigure gpios 2018-11-01 02:55:16 +01:00
Joel Stein 2d94b7cc7c tuya: Autoconfigure Dimmer ID when SetOption34 == 0, use 0 as default for TUYA_DIMMER_ID 2018-11-01 00:13:46 +01:00
Adrian Scillato 1fc19ccf5f
Reduce CPU usage at boot time 2018-10-31 15:07:27 -03:00
Adrian Scillato 5d1f5a40a1
Reduce CPU usage at boot time
If many drivers has been enabled, there is a peak of CPU usage at boot time that it is translated as a peak in power consumption. This address to a wifi connection issue in poor power regulated devices like Sonoff Basic R2. This fix reduces cpu usage making the wifi connection to establish faster.
2018-10-31 15:03:47 -03:00
Theo Arends 7d4312f346 Fix unintended function overload
Fix unintended function overload of WifiState
2018-10-31 11:27:40 +01:00
Theo Arends cb4c2764fd 6.3.0.1 Tuya and sonoff-basic changes
6.3.0.1 20181031
 * Add wifi status to Tuya (#4221)
 * Add default sleep 1 to sonoff-basic to lower enrgy consumption (#4217)
2018-10-31 11:22:18 +01:00
Theo Arends 07ac25ce34
Merge pull request #4221 from chaosmaster/tuya-wifi-state
tuya: properly indicate wifi-status
2018-10-31 11:05:57 +01:00
andrethomas 954ed0ea3c sonoff-basic.bin - Enable sleep = 1 by default 2018-10-30 19:26:24 +02:00
Theo Arends 332b657e77 6.3.0 Released
6.3.0 Released
2018-10-30 18:15:31 +01:00
Theo Arends 6d58580446 Updates for release 6.3.0
Updates for release 6.3.0
2018-10-30 17:29:01 +01:00
Theo Arends e6a8b2d30d Add TotalStartTime to Energy JSON
Add TotalStartTime to Energy JSON message (#3971)
2018-10-30 17:04:19 +01:00
Joel Stein 9125823da3 tuya: remove default from switch, since wifi_state is already initialized to 0x02 2018-10-30 16:56:57 +01:00
Joel Stein faab6f1221 tuya: modify WifiState() in support.ino to reflect not-connected-state instead of reimplementing it 2018-10-30 15:34:31 +01:00
Theo Arends c0f9ea027d
Merge pull request #4208 from znanev/patch-2
Update Bulgarian translation
2018-10-30 15:28:50 +01:00
Theo Arends 0e52e5f854 Fix BMP calibration mis-usage
Fix BMP calibration mis-usage
2018-10-30 15:20:19 +01:00
Theo Arends 2a4c79c7cc Fix date
Fix date
2018-10-30 14:18:07 +01:00
Joel Stein 8f3f1f3958 tuya: implement seperate WifiState() so we actually know, when we're not connected 2018-10-30 05:33:36 +01:00
Joel Stein 4a03b1c2cd tuya: wifi-state switch debug-arguments 2018-10-30 01:11:08 +01:00
Joel Stein ccd10e151f tuya: wifi-state: add default state 2018-10-29 23:45:18 +01:00
Joel Stein d8914906a8 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into tuya-wifi-state 2018-10-29 23:35:13 +01:00
Joel Stein 166f6ce3a6 tuya: proper indication of wifi-state 2018-10-29 23:35:00 +01:00
znanev 9f706665a2
Update bg-BG.h 2018-10-29 18:22:05 +00:00
Theo Arends 9d981d83e4 Add support for two BMP/BME
Add support for two BMP/BME sensors (#4195)
2018-10-29 15:46:03 +01:00
Theo Arends 6b86c473d9 Add token %hostname%
Add token %hostname% to command FullTopic (#3018)
2018-10-29 12:38:44 +01:00
Theo Arends cc56677ba3 Add Gui Hostname display
Add command SetOption53 0/1 to toggle gui display of Hostname and IP address
2018-10-29 12:21:27 +01:00
Theo Arends ac00e6541a Quick fixes
Quick fixes
2018-10-29 11:30:36 +01:00
Theo Arends 06a068dc6b
Merge pull request #4199 from chaosmaster/tuya-set-wifi-state
tuya: reset wifi status LED
2018-10-29 09:40:02 +01:00
Joel Stein 80d5a23e39 tuya: only send wifi-led-reset until ack is received 2018-10-29 01:58:48 +01:00
Joel Stein b24449aa2b tuya: add break 2018-10-29 01:27:45 +01:00
Joel Stein 09de17d385 tuya: reset wifi-led every second 2018-10-29 01:10:57 +01:00
reloxx13 82efaccc91
typo2 2018-10-28 22:00:12 +01:00
reloxx13 756bbc33cd
typos 2018-10-28 21:59:34 +01:00
reloxx13 bf6ac243e5
Update xsns_09_bmp2x.ino
fix model detection
2018-10-28 21:32:58 +01:00
reloxx13 2e08463ae8 dont be on by default 2018-10-28 20:52:48 +01:00
reloxx13 8b820d5895 Merge branch 'development' into feature/support_multiple_bme 2018-10-28 20:51:30 +01:00
reloxx13 925cd37bbe support multiple bmp/bme sensors 2018-10-28 20:49:22 +01:00
Theo Arends 184346335d Updates for release 6.3.0
Updates for release 6.3.0
2018-10-28 19:07:01 +01:00
Theo Arends 5c78561b07 6.2.1.20 Add mDNS delay option
6.2.1.20 20181028
 * Add command SetOption35 0..255 (seconds) to delay mDNS initialization to control possible Wifi connect problems
2018-10-28 17:57:25 +01:00
Theo Arends 6119c43610 Fix version 2018-10-28 16:16:18 +01:00
Jason2866 432c4df27a
kmph to km/h
"SI, and hence the use of "km/h" (or "km h−1" or "km·h−1") has now been adopted around the world
2018-10-28 14:24:20 +01:00
Jason2866 12f17cc86a
Update de-DE.h 2018-10-28 14:17:01 +01:00
Jason2866 259c638cb8
Update en-GB.h 2018-10-28 14:14:10 +01:00
Joel Stein e84f78b395 tuya: set wifi-state 2018-10-28 13:51:16 +01:00
Jason2866 b59d63a07a
Reverting Alexa fix
General Alexa for all cores doesnt work. Reverting fix.
This fix does only work on Stage core 2.5.0.
Awaiting new general fix from @ascillato soon
2018-10-28 11:17:41 +01:00
Theo Arends dffbc2c7c3 Updates for release 6.3.0
Updates for release 6.3.0
2018-10-27 17:46:44 +02:00
Theo Arends 4f59d102e7 Add sonoff-basic.bin
Add sonoff-basic.bin without most sensors
2018-10-27 17:15:52 +02:00
Theo Arends 0017a6304a Updates for release 6.3.0
Updates for release 6.3.0
2018-10-27 13:33:17 +02:00
Theo Arends 53e1420961 Change OTA Url
* Change default OTA Url to http://thehackbox.org/tasmota/release/sonoff.bin (#4170)
 * Add Tuya Software Serial to support additional Tuya configurations (#4178)
2018-10-27 11:37:42 +02:00
Theo Arends a17bfabf59
Merge pull request #4178 from chaosmaster/tuya-sofware-serial
Tuya: Add support for software-serial
2018-10-27 08:33:22 +02:00
Joel Stein ee2bed3b9a tuya: cleanup 2018-10-27 04:38:18 +02:00
Joel Stein b605e58320 tuya: don't allow selecting GPIO08 2018-10-27 04:37:50 +02:00
Joel Stein 7093bd6ab0 tuya: software-serial: fixes 2018-10-27 04:11:30 +02:00
Joel Stein 22c20ab5fe tuya: software-serial 2018-10-27 03:01:09 +02:00
Adrian Scillato 06cc70aaf4
Fix Alexa for ALL cores
Alexa uses Phillips Hue Emulation to control Tasmota.

With this fix, the webserver arguments are passed to Tasmota as keys instead of args solving the Alexa issue for ALL cores.

Besides, for core 2.6.0 is planned to deprecate the use of args in favor of keys.

This fix makes Alexa to works compiling Tasmota under core 2.3.0, 2.4.0, 2.4.1, 2.4.2, 2.5.0 (stage), 2.6.0 (planned)

Tested Ok.
2018-10-26 19:01:36 -03:00
Theo Arends c2f9f5ddbe Updates for release 6.3.0
Update for release 6.3.0
2018-10-26 17:13:17 +02:00
Theo Arends 77d54be267 Prep for release
Prep for release
2018-10-26 17:09:28 +02:00
Theo Arends c5cb7ffb78 Add additional RFSend comand syntax
Add additional RFSend comand syntax
2018-10-26 12:30:25 +02:00
Theo Arends f2b04092f8 Initial release of RF transceiving
Initial release of RF transceiving using library RcSwitch (#2702)
2018-10-25 18:17:58 +02:00
Theo Arends f58f3c2d31 Fix rule mqtt#connected trigger
Fix rule mqtt#connected trigger when mqtt is disabled (#4149)
2018-10-25 14:16:46 +02:00
Theo Arends eefad54be7 Fix invalid JSON
Fix invalid JSON floating point result from nan (Not a Number) and inf (Infinity) into null (#4147)
2018-10-25 14:03:34 +02:00
Theo Arends 51ee22273b Fix invalid JSON
Fix invalid JSON floating point result from nan into null (#4147)
2018-10-25 10:44:59 +02:00
Theo Arends 048de4c7fa
Merge pull request #4154 from ascillato/patch-2
Changed WIFI_GATEWAY and WIFI_DNS to a standard IP
2018-10-25 08:59:05 +02:00
Adrian Scillato c1aabf85a4
Reformat options for DS18x20
#define W1_PARASITE_POWER is an option for #define USE_DS18x20

Added space to show that.
2018-10-24 18:03:27 -03:00
Adrian Scillato ad3304fddc
Changed WIFI_GATEWAY and WIFI_DNS to a standard IP
Changed WIFI_GATEWAY and WIFI_DNS to a standard IP for help new users when they configure that.
2018-10-24 17:40:26 -03:00
Adrian Scillato dcd74be61a
Fix Alexa for Core 2.5.0 and backwards compatible
Alexa uses Phillips Hue Emulation to control Tasmota.

In the Arduino Esp8266 Core v2.3.0 all works fine.
In the Arduino Esp8266 Core v2.4.0, 2.4.1 and 2.4.2, a modification in the core is needed in order to make phillips hue work.
In the Arduino Esp8266 Core v2.5.0 (actual Stage version), the webserver parsing was modified and this PR fix this modification.

The new parsing of the core works fine for a standard phillips hue messages, but for Alexa it splits the command in 2 args. The first arg is empty and the second contains the correct phillips hue commands.
2018-10-24 16:54:16 -03:00
Adrian Scillato b9fda004d2
KNX: Delete unnecessary comments 2018-10-24 13:58:21 -03:00
Theo Arends 19b7a33f6b Prepair for more drivers 2018-10-23 16:03:57 +02:00
Theo Arends 2c02532e1c 6.2.1.19 Rename user_config.h
6.2.1.19 20181023
* Fix header file execution order by renaming user_config.h to my_user_config.h
* Fix Arduino IDE compilation warning regarding e-paper library
2018-10-23 15:51:51 +02:00
Adrian Scillato 43ba673b5e
Update Spanish Translation 2018-10-22 22:40:56 -03:00
Theo Arends a7c912111c Resize HX711 weight_item field
Resize HX711 weight_item field from 16 bit to 32 bit
2018-10-21 17:54:51 +02:00
Jason2866 abbae2f43c
Update de-DE.h 2018-10-21 17:15:38 +02:00
Theo Arends 5f7c986812 Remove duplicate language file 2018-10-21 16:59:14 +02:00
Theo Arends eb01ce786a
Merge branch 'development' into development 2018-10-21 16:55:41 +02:00
Theo Arends b4162baa63 Admin 2018-10-21 16:48:10 +02:00
synekvl 7fd250d72b
Update cs-CZ.h 2018-10-21 16:41:34 +02:00
Theo Arends 3f4320b95d Add optional HX711 GUI
Add optional HX711 scale interface to web GUI demonstrating easy GUI plug-in
2018-10-21 16:30:05 +02:00
synekvl fabdff0b37
Update cs-CZ.h 2018-10-21 16:28:46 +02:00
synekvl f94f58d019
Update cs-CZ.h 2018-10-21 15:41:47 +02:00
Theo Arends 266f7f1fe0 Add support for TX20
Add support for La Crosse TX20 Anemometer (#2654, #3146)
2018-10-21 12:44:45 +02:00
Theo Arends d012ce942b Fix JSON error - again
Fix JSON error - again (#4108)
2018-10-20 17:28:42 +02:00
Adrian Scillato 0effef5f04
Fix Analog input in Obi Socket Template 2018-10-19 14:29:53 -03:00
Theo Arends f82f7c1a09
Merge pull request #4110 from chaosmaster/obi-socket-user-pins
Obi socket user pins
2018-10-19 19:20:59 +02:00
Joel Stein df5a7ec054 obi-socket: change LED4 back to LED2 2018-10-19 19:10:55 +02:00
Theo Arends a5c5ddaee6
Merge pull request #4109 from chaosmaster/tuya-dimmer-ignore-dim
tuya-dimmer: ignore dim-values when powered off
2018-10-19 18:19:08 +02:00
Theo Arends 22ecc8f618 Fix JSON error
Fix JSON error (#4108)
2018-10-19 18:16:53 +02:00
Joel Stein 0078b9f650 remove ADC0 2018-10-19 18:12:09 +02:00
Joel Stein 2e150b5ca4 tuya-dimmer: ignore dim-values when powered off 2018-10-19 18:04:30 +02:00
Joel Stein 42aa66e02f obi-socket: allow user-configuration of free GPIOs 2018-10-19 17:11:30 +02:00
Theo Arends 613ffde5c0 6.2.1.18 Add API.md
6.2.1.18 20181019
 * Add more API callbacks and document API.md
2018-10-19 12:53:22 +02:00
Joel Stein cfdec25bcb Add reset-button-handler vor tuya-dimmer 2018-10-18 16:02:40 +02:00
Theo Arends d1c807998f Rewrite Tuya Dimmer code
Rewrite Tuya Dimmer code
2018-10-18 13:01:31 +02:00
Theo Arends f8ab8ef552 Clean settings.h
Removed custom fields from settings.h
2018-10-17 15:29:43 +02:00
Theo Arends 0ab43909c3 6.2.1.17 Changes and Adds
6.2.1.17 20181017
 * Enable updated non-blocking PubSubClient as default MQTT client
 * Update TasmotaModbus and TasmotaSerial libraries for support of serial 8N2 communication
 * Add support for Pzem-003/017 DC Energy monitoring module (#3694)
 * Change support for Pzem-014/016 AC Energy monitoring module (#3694)
2018-10-17 12:27:05 +02:00
Theo Arends b2ca987195 Fix Sonoff Bridge RfRaw
Fix Sonoff Bridge RfRaw receive (#4080, #4085)
2018-10-16 17:27:01 +02:00
Theo Arends 2085f24675 Update changelog
Update PubSubClient Mqtt library to non-blocking EspEasy version
2018-10-16 14:33:31 +02:00
Theo Arends ae28a50dc7 Fix possible wifi connection error
Fix possible wifi connection error (#4044, #4083)
2018-10-16 14:00:14 +02:00
Theo Arends ecd39741aa
Merge pull request #4083 from ascillato/patch-1
Fix Some Wifi Connection Issues
2018-10-16 13:48:28 +02:00
Theo Arends d47ab92862 Fixxes and Add Tuya Dimmer
* Fix RfRaw and SerialSend5 regression from 6.2.1.15 (#4072)
 * Fix Sonoff Bridge RfRaw receive (#4080)
 * Add support for Tuya Dimmer (#469, #4075)
2018-10-16 11:21:44 +02:00
Theo Arends 36b8f5d293
Merge pull request #4080 from Portisch/fix_rf_bridge_uart_receive_len
fix RF bridge raw receive
2018-10-16 10:14:24 +02:00
Portisch b88aabfd8d fix RF bridge raw receive 2018-10-16 09:53:48 +02:00
Theo Arends cd9987111e
Merge pull request #4075 from digiblur/development
Initial Tuya Dimmer Support
2018-10-16 09:46:16 +02:00
Adrian Scillato dbe7cf3bbc
Fix Some Wifi Connection Issues
https://github.com/arendst/Sonoff-Tasmota/issues/4044
2018-10-16 03:54:55 -03:00
Adrian Scillato adf3ed56bf
Fix Bug for OTA URL if using core STAGE (2.5.0) 2018-10-15 23:27:43 -03:00
digiblur 5894cd97fc Initial TuyaDimmer Support 2018-10-15 18:32:14 -05:00
andrethomas 8345f3f872
Fix SerialSendRaw() to adjust for whitespace
Fix SerialSendRaw() to adjust for whitespace removal
2018-10-15 22:30:26 +02:00
Theo Arends fb6cc194a9 6.2.1.16 Add TasmotaModbus lib
6.2.1.16 20181015
 * Add TasmotaModbus library for very basic modbus wrapper for TasmotaSerial
 * Change xsns_17_senseair.ino to use TasmotaModbus library
 * Fix xnrg_05_pzem2.ino for PZEM-014/016 support using TasmotaModbus library (#3694)
2018-10-15 17:18:30 +02:00
Theo Arends 6b660026cd Add cmnds Reset 4 and Reset 5
Add commands Reset 4 (reset to defaults but keep wifi params) and Reset 5 (as reset 4 and also erase flash) (#4061)
2018-10-15 14:43:47 +02:00
andrethomas 5f9867a22f Add command Reset 5 2018-10-15 00:10:02 +02:00
andrethomas f109c36bbd Add Reset 4 command to reset defaults but keep wifi config 2018-10-14 20:00:41 +02:00
Theo Arends c46ae74067 Add whitespace removal
Add whitespace removal from RfRaw and SerialSend5 (#4020)
2018-10-14 12:53:11 +02:00
andrethomas cd86a2c8a9
Update xdrv_06_snfbridge.ino 2018-10-13 20:46:17 +02:00
andrethomas 040d4c6ba2 xdrv_06_snfbridge: Remove whitespace from RfRaw 2018-10-13 20:38:48 +02:00
Theo Arends fe26768103 6.2.1.15 Fix Color Temperature slider
6.2.1.15 20181012
 * Fix Color Temperature slider functionality regression from 20180726 (#4037)
 * Add auto reload of main web page to some web restarts
2018-10-12 11:42:52 +02:00
Jason2866 904623d584
Update de-DE.h 2018-10-11 22:17:26 +02:00
synekvl 2862329fd1
Update cs-CZ.h 2018-10-11 21:14:24 +02:00
synekvl 6610767b4b
Update cs-CZ.h 2018-10-11 21:13:58 +02:00
Adrian Scillato 458a441da6
Updated Spanish Translation 2018-10-11 15:38:31 -03:00
Theo Arends ab56648e2e Fix compile error
Fix compile error
2018-10-11 18:26:49 +02:00
Theo Arends fcc6d5437b Add HX711 Load Cell
* Add support for DS3231 Real Time Clock
 * Add support for HX711 Load Cell
 * Add command WeightRes 0..3 to control display of decimals for kilogram
2018-10-11 17:33:07 +02:00
Adrian Scillato a33030b622
Fixed Compiler Warning for Core STAGE SDK 3.0.0 2018-10-11 10:54:34 -03:00
Theo Arends ac595d44b0 Fix compiler error
Fix compiler error on BE_MINIMAL not finding WaitForRestart()
2018-10-11 08:32:09 +02:00
Theo Arends 29a9cce96d 6.2.1.14 Forgot deletes
Oops
2018-10-10 22:31:25 +02:00
Theo Arends b3039de1b6 6.2.1.14 Rewrite Webserver
6.2.1.14 20181010
 * Rewrite Webserver page handler for easier extension (thx to Adrian Scillato)
2018-10-10 22:21:44 +02:00
Theo Arends b75c4359dc
Merge pull request #4029 from guyelg/development
Add support for DS3231 Extrnal RTC with I2c interface
2018-10-10 20:47:18 +02:00
guyelg 9c77d1d761
disable the sensor by default 2018-10-10 21:01:07 +03:00
guyelg 5684c844aa
fix address in user_config.h 2018-10-10 20:54:26 +03:00
Theo Arends 633a45f964 Revert "6.2.1.14 Webserver rewrite"
This reverts commit 077b8a79e1.
2018-10-10 19:41:08 +02:00
guyelg f98b4cf69d
add support for DS3231 - I2C RTC 2018-10-10 20:31:21 +03:00
guyelg 8aabe10711
Add support for DS3231-external I2C RTC 2018-10-10 20:25:04 +03:00
Theo Arends 077b8a79e1 6.2.1.14 Webserver rewrite
6.2.1.14 20181010
 * Rewrite Webserver page handler for easier extension (thx to Adrian Scillato)
2018-10-10 16:40:54 +02:00
Adrian Scillato 3bc3e7e332
Add comment for sleep command (datasheet) 2018-10-08 17:25:42 -03:00
Theo Arends ba16e00e36 Add command WebRefresh
Add command WebRefresh 1000..10000 to control web page refresh in milliseconds. Default is 2345
2018-10-08 14:39:36 +02:00
Theo Arends 30154e2335 6.2.1.13 Change to ArduinoMqtt
6.2.1.13 20181008
 * Change default Mqtt client library from PubSubClient to non-blocking ArduinoMqtt by Joel Gaehwiler
2018-10-08 10:30:24 +02:00
Adrian Scillato efb328de09
Add PWM Freq Limits Config at Compile time 2018-10-07 14:27:09 -03:00
Adrian Scillato dfce7a280a
Add PWM Freq Limits Config at Compile time
PWM_MAX and PWM_MIN are added with explanation comments in order to let a user, who wants to use a Servo, to config these values. Not added at runtime in order to avoid issues with dimmers.
2018-10-07 14:24:52 -03:00
Theo Arends 5bbec2617f 6.2.1.12 - Fixes Shelly1 and CSL
6.2.1.12 20181007
 * Fix Shelly1 switchmode 3 and 4 when using pushbutton (#3989)
 * Add support for CSL Aplic WDP 303075 Power Socket with Energy Monitoring (#3991, #3996)
2018-10-07 12:37:03 +02:00
phelagor adc3d4ebaa Added support for CSL Aplic WDP303075
- Added template for Module.
- Added support for HLW8012 (HLW_SEL is different to sonoff POW, needs different level to read voltage)
2018-10-06 22:05:15 +02:00
Mike 461fed6290
missing "" around UV Index test in json
Fixed the missing "" around the UV Index test in json
Old one:
"VEML6070":{"UvLevel":6212,"UvIndex":8.32,"UvIndexText":Danger,"UvPower":0.208}}

New one:
"VEML6070":{"UvLevel":6212,"UvIndex":8.32,"UvIndexText":"Danger","UvPower":0.208}}

Now it works. I have no mqtt system running so i did not know that this would happen.
Possible i have to build up one system.
2018-10-06 20:48:26 +02:00
synekvl 174f2736dc
Update cs-CZ.h 2018-10-06 18:46:29 +02:00
Theo Arends d3d40a1609 Update cs-CZ language 2018-10-06 16:46:25 +02:00
Adrian Scillato f8b93ad3ea
Updated Spanish Translation 2018-10-05 21:59:39 -03:00
Theo Arends 4208baddac Update language files
Update language files
2018-10-05 17:54:12 +02:00
Jason2866 4ba1020609
Update de-DE.h 2018-10-04 13:41:15 +02:00
Theo Arends 623feaa706
Merge pull request #3972 from Staars/development
Update for APDS9960
2018-10-04 11:08:46 +02:00
Theo Arends 52d88439ff Fix Domoticz exception
Fix exception when wrong Domoticz JSON message is received (#3963)
2018-10-04 11:01:50 +02:00
Theo Arends 0d7a1a62fc
Merge pull request #3970 from mike2nl/development
MP3 Driver Update
2018-10-04 09:41:48 +02:00
Mike 4ebcbf084a
Driver update
1.0.0.4 20181003  
added   
- MP3Reset command in case that the player do rare things and needs a reset, the default volume will be set again too
- MP3_CMD_RESET_VALUE for the player reset function
- MP3_CMD_DAC command to switch off/on the dac outputs
cleaned 
- some comments and added function text header
fixed      
- missing void's in function calls
tested  
- works with MP3Device 1 = USB STick, or MP3Device 2 = SD-Card
- DAC looks working too on a headset. Had no amplifier for test
2018-10-04 08:25:32 +02:00
Frank Maas dbb7b27905
Update _changelog.ino
It's not 2019 yet...
2018-10-04 00:19:32 +02:00
Max cea848dec4 Fix XSS-Vulnerability in configuration page
Add HTML entity encoding to the SSID of networks that can be found
using the "Scan for wifi networks" function of the configuration
page.
2018-10-03 19:29:46 +02:00
Theo Arends 1707c73264 Update Hebrew language file
Add Hebrew language file (#3960)
2018-10-03 13:55:07 +02:00
Theo Arends 93460c6498 Change MQTT timeout
Change MQTT_ARDUINOMQTT command timeout from 1 to 10 seconds
2018-10-03 10:00:46 +02:00
Yuval 0826249cff
Create Hebrew Language File 2018-10-02 19:25:18 +03:00
Theo Arends 0ad250c10b 6.2.1.11 Add MQTT Client
6.2.1.11 20191002
 * Remove support for MQTT Client based on esp-mqtt-arduino by #define MQTT_LIBRARY_TYPE MQTT_ESPMQTTARDUINO
 * Add support for MQTT Client based on lwmqtt to be selected by #define MQTT_LIBRARY_TYPE MQTT_ARDUINOMQTT
2018-10-02 17:07:30 +02:00
Theo Arends 3ed06695ba Fix Teckin energy monitoring
Fix Teckin energy monitoring (#3950)
2018-10-02 09:38:36 +02:00
Theo Arends c0117e5315
Merge pull request #3955 from zuckschwerdt/feat-w1parasite
Add W1_PARASITE_POWER optimization for DS18X20
2018-10-01 21:31:36 +02:00
Christian W. Zuckschwerdt 3280c7d177 Add W1_PARASITE_POWER optimization for DS18X20 2018-10-01 20:26:27 +02:00
andrethomas 2f85a4728b PCA9685 - bugfix for telemetry + status command 2018-10-01 19:32:55 +02:00
Theo Arends d9a0c0e4ae
Merge pull request #3953 from ascillato/patch-1
Add Dimmer Trigger for Rules
2018-10-01 18:25:10 +02:00
Adrian Scillato bcc9432214
Added Dimmer Trigger for Rules
For example

rule on Dimmer#state<30 do ... endon
rule on Dimmer#boot<10 do ... endon
2018-10-01 13:13:47 -03:00
Mike 13d37a144a
Fixed wrong sensor name
Fixed a wrong sensor name in line 23. It's not the SPG30, it's the CSS811
2018-10-01 18:06:25 +02:00
Theo Arends 9e5aaef51f Add OBI/Teckin Socket support
* Add support for OBI Power Socket (#1988, #3944)
 * Add support for Teckin Power Socket with Energy Monitoring (#3950)
2018-10-01 12:19:58 +02:00
andrethomas 047f430ad8
PCA9685 - Remove unused callbacks in Xdrv15() 2018-10-01 00:27:16 +02:00
andrethomas da0b283fe7 PCA9685 - Add telemetry output 2018-10-01 00:18:37 +02:00
andrethomas 068211cae9
Add #define USE_PCA9685_FREQ 50 if not defined
Add #define USE_PCA9685_FREQ 50 if not defined in user_config.h
2018-09-30 23:33:14 +02:00
andrethomas ee0ef227dc Add ability to set default PWM Freq using #define #define USE_PCA9685_FREQ 2018-09-30 23:07:46 +02:00
Florian Schroen 89825907d0 Add support for OBI smart socket
Model tested: WFG-1
Models maybe working: WFF-1, WFE-1, WFI-1, WFD-1, WFR-1, WFA-1, WFU-1
Manufactured by: Cixi Yidong Electronics Co. Ltd - http://www.cn-yidong.com/
Sold by: OBI DIY market in Germany - https://www.obi.de/
2018-09-30 19:16:55 +02:00
Theo Arends b9b6d132f5 Fix timer offset -00:00
Fix timer offset -00:00 causing 12:00 hour offset (#3923)
2018-09-30 17:52:41 +02:00
Theo Arends 191df17b13 Add support for EXS Relay V5.0
Add support for EXS Relay V5.0 (#3810)
2018-09-30 16:52:25 +02:00
Theo Arends 2fd42446e9 Add ESP Switch support
Add support for Michael Haustein ESP Switch
2018-09-30 14:33:26 +02:00
Theo Arends 6a1a21f03a 6.2.1.10 Add RGBWWTable
6.2.1.10 20180930
 * Add command RGBWWTable to support color calibration (#3933)
2018-09-30 11:02:47 +02:00
Theo Arends cdc8a4d9eb
tiny change 2018-09-30 10:54:52 +02:00
Erik 87dc6fe20e Add basic support for color calibration 2018-09-29 16:55:53 +02:00
Theo Arends 3b3579f1db Fix config crc errors
Fix invalid configuration restores and decode_config.py crc error when savedata = 0 (#3918)
2018-09-29 13:09:51 +02:00
Theo Arends 2252be521a Fix I2CScan invalid JSON
Fix I2CScan invalid JSON error message (#3925)
2018-09-29 12:34:24 +02:00
Theo Arends 3d6b9859bd
Merge pull request #3929 from emontnemery/fix_hass_colors
Use color2 command (HASS sends normalized RGB)
2018-09-29 10:27:02 +02:00
Erik 8255c001b6 Use color2 command (HASS sends normalized RGB) 2018-09-29 10:12:32 +02:00
Theo Arends 66fce8bd5f
Merge pull request #3921 from mike2nl/development
Udated the driver veml6070
2018-09-28 17:50:38 +02:00
Mike 41e6939a81
outline corrections of // comments 2018-09-28 17:38:06 +02:00
Mike e8a56755d9
Updated the driver
Updated the driver and changed a lot. 
- Starting with switch(function) and the end of it. 
- Changed the json output code a lot to more visibility and a better way of working. 
- Changed the web sever outout so that we need less code.

In #ifdef USE_DOMOTICZ i have changed nothing because i don't have a domotica system.
Therefor someone with a stable running system can build it further or we can work together on it.

Dirver version changed to v1.0.0.2
Theo, i hope the if (11 == (uptime %100)) { .. part is ok. Please have a look on it.
2018-09-28 17:34:25 +02:00
Mike 36d6ae0803
Added D_JSON_UV_INDEX_TEXT
Added D_JSON_UV_INDEX_TEXT for more info on json output
2018-09-28 17:26:13 +02:00
Theo Arends 8f95f07b51 Add RF to MagicHome / LC10
Add RF Receiver control to module MagicHome to be used on Arilux LC10 (#3792)
2018-09-28 17:26:08 +02:00
Theo Arends f05a471e48 Fix KNX compile error 2018-09-28 17:02:55 +02:00
Theo Arends 4b7c797fb7 6.2.1.9 Apparent/Reactive Power
6.2.1.9 20180928
 * Add Apparent Power and Reactive Power to Energy Monitoring devices (#251)
2018-09-28 15:48:42 +02:00
Theo Arends 1a0d630da2 Removed debug code
Removed unavailable debug code (#3917)
2018-09-28 11:48:55 +02:00
Theo Arends 1a4458528e Add Neo Coolcam support
Add support for Neo Coolcam Wifi Smart Power Plug
2018-09-27 18:36:42 +02:00
Staars a84b38dae2 intermediate version for aTime-adjustment 2018-09-27 08:34:12 +02:00
Adrian Scillato a67efa0ab2
Added new triggers for rules on boot time
To make it possible to trigger a rule at boot time with the state of the switches or relays (in order to take decisions), 2 new trigger types has been added: 

* SWITCH1#BOOT

to be used like:

ON SWITCH1#BOOT DO ...  %value% ENDON
ON SWITCH1#BOOT=0 DO .... ENDON
ON SWITCH1#BOOT=1 DO .... ENDON

and

* POWER1#BOOT

to be used like:

ON POWER1#BOOT DO ...  %value% ENDON
ON POWER1#BOOT=0 DO .... ENDON
ON POWER1#BOOT=1 DO .... ENDON
2018-09-26 23:02:55 -03:00
Jason2866 86b3ccf609
Update de-DE.h 2018-09-26 22:20:19 +02:00
Jason2866 3bb8b2fe26
Update de-DE.h 2018-09-26 22:10:32 +02:00
Erik 9acbcc805f Fix logic for forced light discovery 2018-09-26 20:35:39 +02:00
znanev 8022bca19c
Update Bulgarian language file 2018-09-26 18:27:23 +01:00
Theo Arends 6939d6eead Fix Shelly Ghost and Rule sensors
* Change pinmode for no-pullup defined switches to pullup when configured as switchmode PUSHBUTTON (=3 and up) (#3896)
 * Add delay after restart before processing rule sensor data (#3811)
2018-09-26 11:56:58 +02:00
Theo Arends bac33345a0 6.2.1.8 Extent status JSON
6.2.1.8 20180926
 * Change status JSON message providing more switch and retain information
2018-09-26 10:13:44 +02:00
Theo Arends 77a27d4383
Merge pull request #3899 from localhost61/development
Update fr-FR.h
2018-09-26 09:00:02 +02:00
localhost61 8ff696b34b Correct the OoR translation (thanks Adrian ;-) ) 2018-09-26 02:37:27 +02:00
Adrian Scillato 6798eb5854
Updated Spanish Translation 2018-09-25 21:00:56 -03:00
localhost61 71964e0aa4 Update French localization 2018-09-26 00:59:00 +02:00
Theo Arends eb53605fc1 Fix VEML6070 compile errors 2018-09-25 17:03:22 +02:00
Theo Arends 80833ca0d5
Merge pull request #3894 from mike2nl/development
Added missing text
2018-09-25 16:53:41 +02:00
Mike 63dbd6d0c9
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:42:09 +02:00
Mike a47467704e
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:42:07 +02:00
Mike 85692d6f38
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:42:01 +02:00
Mike e719cfbf43
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:41:51 +02:00
Mike 65dbf4c709
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:38:40 +02:00
Mike dc937ed792
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:38:27 +02:00
Mike 6b070e08cf
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:38:04 +02:00
Mike a7495af9ed
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:35:48 +02:00
Mike 55db6530ec
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:35:29 +02:00
Mike a1d5032993
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:35:17 +02:00
Mike 9ad0bc149f
Added text
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:32:46 +02:00
Mike cdc7b90652
Added text
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:32:36 +02:00
Mike 3fd8b8f7f8
Added text
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:32:17 +02:00
Mike b15a29c046
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:29:27 +02:00
Mike a7d59f03fa
Added text
Forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:28:34 +02:00
Mike abd5cb23fe
Added text
forgot the 
#define D_UNIT_INCREMENTS "inc" and #define D_UV_INDEX_1 "Low"
2018-09-25 16:27:10 +02:00
Mike e6ae87fd82
added text
forgot the #define D_UNIT_INCREMENTS "inc"
2018-09-25 16:24:44 +02:00
Mike baf81daaa2
added text
forgot the #define D_UNIT_INCREMENTS "inc"
2018-09-25 16:23:38 +02:00
Mike e9d6a5bc46
added define
Forgot to add #define D_JSON_UV_POWER "UvPower"
2018-09-25 16:19:49 +02:00
Theo Arends 104eef4829
Merge pull request #3893 from mike2nl/development
changed driver xsns_11_veml6070.ino
2018-09-25 15:57:22 +02:00
Theo Arends 40052a343f Add image sonoff-display
Add define USE_DISPLAYS for selecting image sonoff-display
2018-09-25 15:35:49 +02:00
Mike 13e0bcbd26
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:01:16 +02:00
Mike 044363dc00
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:00:57 +02:00
Mike cf952f6637
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 15:00:34 +02:00
Mike 56e9e92655
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:57:17 +02:00
Mike c8f51b68fd
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:57:01 +02:00
Mike 78df649fca
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:56:38 +02:00
Mike a6cf1cde4f
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:53:25 +02:00
Mike f7c16f5388
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:53:03 +02:00
Mike 4c900eb0b7
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:52:41 +02:00
Mike 9182d02d0c
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:50:18 +02:00
Mike e3f1d4ad9a
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:50:05 +02:00
Mike 651bdf03c0
Update fr-FR.h
Added some new text UV defines and one unit define W/m2
2018-09-25 14:49:51 +02:00
Mike 89e04dafb0
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:46:43 +02:00
Mike c18a3cd7e0
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:45:27 +02:00
Mike ef6cd4530d
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:44:04 +02:00
Mike 1738f68247
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:42:28 +02:00
Mike ee7acd849b
Added some text defines
Added some new text UV defines and one unit define W/m2
2018-09-25 14:40:55 +02:00
Mike af5ee5a883
Added defines for text
Added defines for uv text and one unit define
2018-09-25 14:37:08 +02:00
Mike 2ba0b1be73
driver cahnge
Added a lot of new calculation for more precission and more output so as UV Index plus a text behind the value and UV Power in W/m2
2018-09-25 14:32:24 +02:00
Mike 977ee779b0
Added VEML6070 defines
Added define for Rset for the VEML6070 sensor and to show or show-not the raw value
2018-09-25 14:30:01 +02:00
Theo Arends ec421e6144 Released decode-config.py
Released tools/decode-config.py by Norbert Richter to decode configuration data.
2018-09-25 14:08:36 +02:00
Theo Arends 2029440fae 6.2.1.7 Fix NTPserver change
6.2.1.7 20180925
 * Remove restart after ntpserver change and force NTP re-sync (#3890)
 * Release full Shelly2 support
2018-09-25 11:35:37 +02:00
Adrian Scillato ecd3175257
Prevent Command NtpServer to restart Tasmota
#3890
2018-09-24 16:16:14 -03:00
Theo Arends 43c3cf57d5 Shelly2 Cleanup
Cleanup and debug updates
2018-09-24 18:16:35 +02:00
Theo Arends f65d8c0cbf Fix possible array overflow
Fix possible array overflow (#3887 )
2018-09-24 11:44:40 +02:00
andrethomas 5fa47c3fdc MCP230xx - Add missing (void) 2018-09-24 00:30:07 +02:00
Theo Arends 683c211241 Fix Shelly2 wrong FrequencySet
Fix Shelly2 wrong FrequencySet calculation and add input range checks (#3882)
2018-09-23 16:41:22 +02:00
Theo Arends 01ce1b0c91 Fix Shelly2 monitoring
Disable serial logging on Shelly2 as serial is being used by energy monitoring (#3878)
2018-09-23 13:55:42 +02:00
Theo Arends f05fc71d67 Fix rule trigger POWER1#STATE
Fix rule trigger POWER1#STATE execution after restart and SetOption0 is 0 (#3856)
2018-09-22 17:37:49 +02:00
Theo Arends 665a4abc47 Fix Pow R2 and S31 low power
* Add power value below 5W to Sonoff Pow R2 and S31 (#3745)
* Add force_update to Home Assistant discovery (#3873)
2018-09-22 16:09:13 +02:00
Theo Arends f9134a89c4
Merge pull request #3873 from emontnemery/fix_hass_button
Set force_update to true for buttons
2018-09-22 16:05:54 +02:00
Erik 544abec7bf Set force_update to true for buttons 2018-09-22 15:42:18 +02:00
Theo Arends 7a767f104c 6.2.1.6 Remove some commands
6.2.1.6 20180922
 * Removed commands PowerCal, VoltageCal and CurrentCal as more functionality is provided by commands PowerSet, VoltageSet and CurrentSet
 * Allow decimals as input to commands PowerSet, VoltageSet and CurrentSet
 * Add support for PCA9685 12bit 16pin hardware PWM driver (#3866)
2018-09-22 15:09:53 +02:00
Theo Arends 57e7005b48 Fix TSL2561 timeslot 2018-09-22 12:18:13 +02:00
Theo Arends 20e8d76877 TSL2561 driver fixes
Rewrite TSL2561 driver to fix some issues (#3681)
2018-09-22 12:04:38 +02:00
andrethomas 4ff5667c2a PCA9685 I2C Hardware PWM - Experimental 2018-09-22 00:17:08 +02:00
andrethomas 4992b43689 PCA9685 I2C Hardware PWM - Experimental 2018-09-21 23:43:58 +02:00
Theo Arends 557545cb56 Cleanup Driver
Cleanup Driver
2018-09-21 16:19:31 +02:00
Theo Arends 392ae6119d
Merge pull request #3854 from andrethomas/development
Add driverXX support for FUNC_COMMAND callback
2018-09-21 16:10:56 +02:00
Theo Arends f7a8b1f923 Shelly2 clean up
Shelly2 clean up
2018-09-21 16:02:56 +02:00
Theo Arends 4065a215f0 Add Shelly2 Energy Monitoring
Add energy monitoring to Shelly2 (#2789)
2018-09-21 15:22:17 +02:00
Theo Arends 415ed97dab 6.2.1.5 Add web authentication
Add authentication to HTTP web pages
2018-09-21 11:15:42 +02:00
andrethomas 846d7a911f Add driverXX support for FUNC_COMMAND callback 2018-09-20 22:56:07 +02:00
andrethomas 363e19d681 MCP230xx - Force C/C++ compliance 2018-09-20 21:03:33 +02:00
andrethomas c9f0c18466 LM75AD - Force function parameters to be C and C++ compliant 2018-09-20 20:44:17 +02:00
Theo Arends ff4f8f75c1 Add uncalibrated energy monitor
Add uncalibrated energy monitoring to Shelly2 (#2789)
2018-09-17 20:32:38 +02:00
andrethomas 29b3e6ec27 MCP230xx - Change address selection from auto to user defined 2018-09-16 21:36:56 +02:00
Theo Arends bf7dcb8eec 6.2.1.3 Add SerialSend5
6.2.1.4 20180916
 * Add command SerialSend5 to send raw serial data like "A5074100545293"
 * Update MCP230xx driver
 * Update Czech translation
 * Update MP3 driver (#3800)
 * Add userid/password option to decode-status.py (#3796)
 * Fix syslog when emulation is selected (#2109, #3784)
 * Fix Pzem2 compilation error (#3766, #3767)
2018-09-16 16:09:00 +02:00
andrethomas 98cfb00803 MCP230xx - Fix millisecond counter reset placement 2018-09-15 18:59:45 +02:00
andrethomas d0fa749c30 MCP230xx - Fix support for setoption4 2018-09-15 15:56:56 +02:00
Theo Arends 9fc5d71629 Update Czech translation
Update Czech translation
2018-09-15 12:00:22 +02:00
Mike 3c947e4c81
Added version info and new MP3 Player commands
- Added the version information to have some little hints what is done.
- Added new commands and changed two commands from the first version.
-- Intention was to get as less of commands as needed.
-- There will be possible a version with much more function and serial->read.

Command list:
- MP3TRACK
-- specify playback of a track, e.g. MP3Track 003.
- MP3PLAY        
-- Play, works as a normal play on a real MP3 Player, starts at 001.mp3 file on the selected device.
- MP3PAUSE     
-- Pause, was original designed as stop, see data sheet.
- MP3STOP       
-- Stop, it's a real stop now, in the original version it was a pause command.
- MP3VOLUME 
-- specifies the volume and means a console input as 0..100.
- MP3EQ           
-- specify the EQ(0/1/2/3/4/5), 0:Normal, 1:Pop, 2:Rock, 3:Jazz, 4:Classic, 5:Bass.
- MP3DEVICE    
-- specify playback device, USB=1, SD-Card=2, default is 2 also after reset or power down/up.
2018-09-15 09:33:53 +02:00
Mike 63a1763a3f
added MP3_VOLUME to init the MP3 Player 2018-09-15 09:13:39 +02:00
Adrian Scillato b3d2447fc7
Update _changelog.ino 2018-09-13 11:54:24 -03:00
Adrian Scillato 6f724e705b
Added support for Xiaomi-Phillips bulb 2018-09-13 11:45:01 -03:00
Adrian Scillato f8115a5abd
Added support for Xiaomi-Phillips bulb
https://github.com/arendst/Sonoff-Tasmota/issues/3055
2018-09-13 11:43:23 -03:00
Adrian Scillato 8025f28409
Let syslog to be active when emulation is active too
solves issue https://github.com/arendst/Sonoff-Tasmota/issues/2109
2018-09-12 19:00:35 -03:00
Theo Arends e60f7e4e9e
Update xnrg_05_pzem2.ino 2018-09-11 19:14:15 +02:00
Theo Arends e4ebee738b Minor fixes
Minor fixes
2018-09-11 10:49:13 +02:00
Adrian Scillato 40b9e06b1e
Enable AD0 in sonoff-sensors.bin
#3756
2018-09-10 18:04:21 -03:00
andrethomas 786fd792b7 Fix tr-TR.h and uk-UK.h compiler errors 2018-09-10 19:44:23 +02:00
andrethomas 6f4fefbd77 Fix potential buffer overun for EVENT 2018-09-10 18:32:41 +02:00
Nico b9d1bb965c correct error 2018-09-10 14:06:31 +02:00
Nico 047932a191 cosmetics 2018-09-10 12:25:57 +02:00
Nico dc3d699fd1 cosmetics 2018-09-10 12:23:51 +02:00
Nico 804e74d0de cosmetics 2018-09-10 12:22:00 +02:00
Nico 2f9ba4e7f3 Merge branch 'development' of https://github.com/edelstahlratte/Sonoff-Tasmota into development 2018-09-10 12:12:26 +02:00
Nico ef6d5bb340 cosmetics 2018-09-10 12:11:28 +02:00
edelstahlratte 0f25925357
Add SDS0X1 working period 2018-09-10 11:50:54 +02:00
Nico cc23deac00 use SDS0X1 working period command 2018-09-10 11:37:16 +02:00
Theo Arends 4c41ea4461 Houskeeping 2018-09-09 14:31:40 +02:00
Theo Arends 56920ad826 Adjust list box width
Adjust GPIO drop down list box width
2018-09-08 18:33:56 +02:00
Theo Arends 3b029797b6 Add sleep to Nova Fitness SDS01X
Add sleep to Nova Fitness SDS01X sensor (#2841, #3724)
2018-09-08 18:25:06 +02:00
Theo Arends b96c0d7773 Fix Novafitnes GPIO selection
Fix Novafitnes GPIO selection
2018-09-08 18:17:36 +02:00
Theo Arends 649ec49478
Merge pull request #2841 from JohannWeging/development
Add Nova SDS0X1 sensor idling to expand its lifespan
2018-09-08 18:09:23 +02:00
Theo Arends 7cd9224819 6.2.1.3 - Change drop down list
6.2.1.3 20180907
 * Change web Configure Module GPIO drop down list order for better readability
 * Fix showing Period Power in energy threshold messages
 * Fix ButtonRetain to not use default topic for clearing retain messages (#3737)
2018-09-08 17:18:31 +02:00
Erik b5d7f75647 Fix setting and getting color temperature for Philips Hue emulation
- Improve setting and getting color temperature for Philips Hue emulation
- Clamp Philips Hue API values
- Turn off white LEDs when setting hue+saturation
2018-09-08 08:49:08 +02:00
Theo Arends f517755303 Prep for frequency display
Prep for energy frequency display and update xnrg_05_pzem2.ino with correct register values
2018-09-07 18:15:47 +02:00
Theo Arends b659444c3a Add basic MP3 player
* Fix KNX PA exception. Regression from 6.2.1 buffer overflow caused by subStr() (#3700, #3710)
 * Add basic support for MP3 player using DFRobot RB-DFR-562 (#3723)
2018-09-07 10:54:24 +02:00
Mike 9bb6c201df
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:31 +02:00
Mike a37f0b3973
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:22 +02:00
Mike a33566f93e
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:34:15 +02:00
Mike 8dfbaf6566
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:30:31 +02:00
Mike 764af507b9
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:30:24 +02:00
Mike f6f69e3b4d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:29:00 +02:00
Mike 1cf7bc747d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:28:50 +02:00
Mike d6324a9f44
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:27:28 +02:00
Mike 3b22dc7d52
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:26:33 +02:00
Mike efd1b8a1a3
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:24:12 +02:00
Mike f3ebfe7c5f
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:24:03 +02:00
Mike 1791f8e034
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:23:00 +02:00
Mike f891a8a2e7
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:22:02 +02:00
Mike 9ce856bb6e
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:19:41 +02:00
Mike a5c85a6882
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:18:06 +02:00
Mike 7722c663a0
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:17:26 +02:00
Mike 14ab4b718d
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:16:03 +02:00
Mike 96682723d3
Added DFPlayer Mini MP3 Player, D_SENSOR_DFR562 2018-09-07 08:14:07 +02:00
Mike 7fd8dcd68d
Update en-GB.h 2018-09-07 08:11:53 +02:00
Mike b13c5452a5
Added #define D_SENSOR_MP3_DFR562 "MP3 Player" 2018-09-07 08:10:32 +02:00
Mike 5582c85b3b
define MP3 Player added //#define USE_MP3_PLAYER 2018-09-07 08:05:58 +02:00
Mike a416f0b334
Add files via upload 2018-09-07 07:59:08 +02:00
Mike 7722f5232a
Added DFPlayer Mini MP3 Player (RB-DFR-562) 2018-09-07 07:54:29 +02:00
Adrian Scillato 10bb6b856f
Fix Compilation of Sonoff Classic Version 2018-09-06 15:38:10 -03:00
Theo Arends 33bcfd1530
Merge pull request #3718 from andrethomas/development
Update MCP230xx to conform to new usage of subStr()
2018-09-06 19:33:50 +02:00
andrethomas c827270cc2 Update MCP230xx to conform to new usage of subStr() 2018-09-06 19:26:52 +02:00
Adrian Scillato 96aff63c71
Code Simplification for Substr 2018-09-06 14:26:26 -03:00
Adrian Scillato 420be8f499
Simplified Function Substr 2018-09-06 14:21:52 -03:00
Theo Arends 2fdc91f1b4 Housekeeping 2018-09-06 18:08:10 +02:00
Theo Arends b441c85776 Experimental PZEM-003,014,016,017
Add experimental support for PZEM-003,014,016,017 Energy monitoring (#3694)
2018-09-06 17:35:57 +02:00
Theo Arends dd95bb393e Add command SetOption52
Add command SetOption52 to control display of optional time offset from UTC in JSON messages (#3629, #3711)
2018-09-06 12:37:50 +02:00
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
Theo Arends 28e3773113 v6.2.1
Version 6.2.1 20180905
 * Fix possible ambiguity on command parameters if StateText contains numbers only (#3656)
 * Fix Wemo emulation to select the first relay when more than one relay is present (#3657)
 * Fix possible exception due to buffer overflow (#3659)
 * Fix lost energy today and total energy value after power cycle (#3689)
2018-09-05 10:58:56 +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 45ffd2cdc3 Prep release 2018-08-31 16:39:58 +02:00
Theo Arends 84e06a1df9 Prep release 2018-08-31 16:38:34 +02:00
Theo Arends 821347d707 Release 6.2.0
Release 6.2.0
2018-08-31 15:43:29 +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