Commit Graph

2005 Commits

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