Commit Graph

2665 Commits

Author SHA1 Message Date
Theo Arends
a0a9a5b0e0 Refactor display command
Refactor display command
2019-08-03 14:46:34 +02:00
Theo Arends
e5ecffe4dd Refactor commands
Refactor commands
2019-08-03 13:01:34 +02:00
Theo Arends
e10689fac3 Refactor Knx commands
Refactor Knx commands
2019-08-02 18:33:38 +02:00
Theo Arends
4d9b53bc1a Refactor Display commands
Refactor Display commands
2019-08-02 17:22:38 +02:00
Theo Arends
d1b726ee10 Fix commands DisplayMode, Width and Height output
Fix commands DisplayMode, Width and Height output (#6171)
2019-08-02 16:37:48 +02:00
Theo Arends
908b9ca74a Refactor Rules commands
Refactor Rules commands
2019-08-02 16:23:17 +02:00
Theo Arends
8f2ddea708 Refactor Timer commands
Refactor Timer commands and fix random time trigger around midnight (#6169)
2019-08-02 15:13:51 +02:00
Theo Arends
8875787935 Refactor IrRemote commands
Refactor IrRemote commands
2019-08-02 14:23:41 +02:00
Stephan Hadinger
e77dc3eecf Increased Web command size 2019-08-01 22:59:12 +02:00
Theo Arends
49f8b4922f Refactor Serial Bridge commands
Refactor Serial Bridge commands
2019-08-01 17:33:44 +02:00
Theo Arends
2d90955026 Refactor Domoticz Commands
Refactor Domoticz Commands
2019-08-01 17:18:49 +02:00
Theo Arends
7e05984a11 Refactor Sonoff Bridge commands
Refactor Sonoff Bridge commands
2019-08-01 16:38:52 +02:00
Theo Arends
c7f810da54 Refactor Light commands
Refactor Light commands
2019-08-01 15:47:00 +02:00
Theo Arends
714f938c05 Refactor energy commands
* Refactor energy commands
 * Add define USE_ENERGY_MARGIN_DETECTION to disable Energy Margin and Power Limit detection
 * Add define USE_ENERGY_POWER_LIMIT to disable Energy Power Limit detection while Energy Margin detection is active
2019-08-01 15:46:12 +02:00
Theo Arends
aa88295d41 Update feature lists
Update feature lists
2019-08-01 15:42:58 +02:00
Stephan Hadinger
c93a03f1d0 Add MqttCount metric to STATE (#6155) 2019-07-31 19:34:23 +02:00
Theo Arends
781cf69933 Add disable option to Width
Add option 0 to Width1 (Marker), Width2 (Second), Width3 (Minute) and Width4 (Hour) disabling display (#6152)
2019-07-31 16:59:12 +02:00
Theo Arends
d1314424fd
Merge pull request #6148 from AlbertoLopSie/max31865-pr
Max31865 RTD to Digital support, PT100/PT1000
2019-07-31 09:41:27 +02:00
Alberto Lopez
6b4f0fd8ec Added check for USE_SPI enabled
Reset MAX31865_PTD_BIAS to 0 by default
2019-07-30 20:20:17 -03:00
Alberto Lopez
bc95f11c99 Added missing #define MAX31865_PTD_BIAS lost in branch switching 2019-07-30 15:38:40 -03:00
Alberto Lopez
509b9c6dea Commented USE_SPI and USE_MAX31865 by default. Fixed bad struct member usage. 2019-07-30 12:57:08 -03:00
Alberto Lopez
60198127ba Added Adafruit MX31865 Library to Repo
Added a #define to compensate for low quality PTD probes
2019-07-29 17:54:28 -03:00
Alberto Lopez
2b4d2f5bba Added configuration variables as #defines in my_user_config.h
Code in driver changed to se new config vars.
2019-07-29 12:44:49 -03:00
Stephan Hadinger
372aecd353 Upgrade library IRRemoteEsp8266 to 2.6.4, now using sendPioneer() 2019-07-29 09:28:40 +02:00
Alberto Lopez
475f208cdc All code moved to new file (xsnx_47_max31865.ino)
Code streamlined. Unused code deleted.

New "Resistance" string added to i18n to report PTD reported resistance

USE_SPI enabled in my_user_config.h
2019-07-28 19:36:22 -03:00
Theo Arends
50e0de0dd5 Refactor Web commands
Refactor Web commands
2019-07-28 17:57:09 +02:00
Theo Arends
765a625e5a
Merge pull request #6143 from gemu2015/scripter-update
hexadecimal numbers, ws2812(array)
2019-07-28 17:54:55 +02:00
Theo Arends
13a618634e Refactor MQTT commands
Refactor MQTT commands
2019-07-28 17:14:20 +02:00
gemu2015
4a23d6ac78 hexadecimal numbers, ws2812(array) 2019-07-28 17:10:55 +02:00
Theo Arends
a3e12dd3c8 Code optimization
Code optimization
2019-07-28 13:54:52 +02:00
Alberto Lopez
c2ad3d8264 Initial commit
Working fine with MAX3165 and a PT100 probe.

Using a modified version of Adafruit MAX31865 library. Added a default
constructor in order to allow lazy initialization once GPIO definitions
were loaded.

Tested on a Sonoff TH PCB Board 2.1 2018-06-15 using the following GPIO
mapping:

GPIO	Orig Func	SSPI	I/O	HEADER	HEADER2	S-JACK
 15	BOOT MODE 	CLK	   O	           1
 14	            MISO	 I		         2	   TIP
  4		          MOSI   O		         3	   RING1
VCC				                1 VCC	     4	   RING3
  2	DBG BOOT 	  ~CS	   O	5 EXP-LOG
GND				                4 GND		         RING2

HEADER2 is a 4-pin .1 header glued in the middle of the PCB to connect
to several GPIO locations on the Sonoff TH PCB.

TODO: Merge with MAX31855 code.
2019-07-27 19:58:17 -03:00
Theo Arends
89783d0b61 Fix config restore CRC error
Fix config restore CRC error
2019-07-27 18:55:20 +02:00
Theo Arends
fde53117d6 Space saving code optimization
Space saving code optimization
2019-07-27 18:37:56 +02:00
Theo Arends
37b1c25881 Refactor core command structure
Refactor core command structure
2019-07-27 11:13:41 +02:00
Theo Arends
ff909baa69 Refactor ADC commands
Refactor ADC commands
2019-07-26 10:43:30 +02:00
Theo Arends
9bcba3772e Refactor Counter commands
Refactor Counter commands
2019-07-26 10:21:36 +02:00
Theo Arends
cc9d7bb8e9 Refactor MQTT pre-processing
Refactor MQTT pre-processing
2019-07-26 09:52:14 +02:00
Theo Arends
250c991c97 6.6.0.3 - Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues
Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues (#2422)
2019-07-25 14:18:28 +02:00
Theo Arends
c2413a2256 Housekeeping
Housekeeping
2019-07-24 13:09:42 +02:00
Theo Arends
398a72d128 Remove command code from sonoff.ino and introduce support_command.ino
Remove command code from sonoff.ino and introduce support_command.ino
2019-07-24 11:55:58 +02:00
Theo Arends
996c01858c Update _changelog.ino
Change commands Var and Mem to show all parameters when no index is given (#6107)
2019-07-24 11:12:49 +02:00
Theo Arends
1068d59a63 Extent commands Var and Mem with option to show all parameters at once
Extent commands Var and Mem with option to show all parameters at once (#6107)
2019-07-24 11:10:15 +02:00
Bohdan Kmit
bb632ae023 Increase temporary variable size to fit utf-8 strings 2019-07-24 00:19:27 +03:00
Bohdan Kmit
f184f64e90 Increase temporary variable size to fit utf-8 strings 2019-07-23 23:59:23 +03:00
Bohdan Kmit
223a9ee283 Ukrainian translation fixes 2019-07-23 23:36:28 +03:00
Bohdan Kmit
7b6850e6be Fix logic for choosing default display size 2019-07-23 23:29:51 +03:00
Theo Arends
fdda0429d6 Add control of WifiConfig when power ON is pressed for over 5 seconds or single press
Add control of WifiConfig when power ON is pressed for over 5 seconds or single press
2019-07-23 14:40:33 +02:00
Theo Arends
546653a8f2 Add display features
* Add command DisplayWidth to set pixel width on supported devices
 * Add command DisplayHeight to set pixel height on supported devices
 * Add Oled reset GPIO option "OLED reset"
2019-07-23 14:05:42 +02:00
Theo Arends
af4dd080c5 Fix possible IRSend input corruption
Fix possible IRSend input corruption
2019-07-23 10:22:14 +02:00
gemu2015
7294241037 Update xdrv_10_scripter.ino 2019-07-23 07:04:37 +02:00
gemu2015
00c2cabb62 scripter update 2019-07-23 07:01:17 +02:00
Stephan Hadinger
752582310d Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into fix_6100 2019-07-22 19:27:30 +02:00
Stephan Hadinger
6ec634c695 Fix send IRSend for Pioneer devices (#6100) 2019-07-22 19:27:03 +02:00
Theo Arends
d91f5ae343 Update Sonoff L1 template
Update Sonoff L1 template
2019-07-22 18:21:25 +02:00
Theo Arends
ce13c0cf8f Add support for optional IRHVAC Midea/Komeco protocol
Add support for optional IRHVAC Midea/Komeco protocol (#3227)
2019-07-21 18:06:13 +02:00
Theo Arends
0e7cef7426 Make IRsend and IRhvac protocols optional
Make IRsend and IRhvac protocols optional
2019-07-21 16:03:20 +02:00
gajotnt
8d7ce366c9
Update my_user_config.h
Corrected the defined baudrate of the SDM120 to the correct one (2400)
2019-07-18 12:09:50 +00:00
Theo Arends
43c67808a0 Update iFan03 template info
Update iFan03 template info
2019-07-16 17:32:49 +02:00
gemu2015
b0979f6ef3 scripter update 2019-07-16 16:50:52 +02:00
Stephan Hadinger
0df4a888d5 Support IRSend long press ('repeat' feature from IRRemoteESP8266) (#6074) 2019-07-15 09:22:07 +02:00
Theo Arends
22b47fb89b Fix sending "+" with websend
Fix sending "+" with websend (#6094)
2019-07-14 22:25:13 +02:00
Theo Arends
d77017fd74 Add option to disable support for module Sonoff iFan at compile time
Add option to disable support for module Sonoff iFan at compile time (#6093)
2019-07-14 22:08:19 +02:00
Theo Arends
a053a2cc4a Refactor iFan code
Refactor iFan code
2019-07-14 18:17:34 +02:00
Theo Arends
a68d11c676 Optimize iFan fan sequencing
Optimize iFan fan sequencing
2019-07-14 16:26:02 +02:00
Theo Arends
49022d0320 6.6.0.2 Add support for Sonoff iFan03 as module 71
Add support for Sonoff iFan03 as module 71 (#5988)
2019-07-14 15:23:02 +02:00
Theo Arends
3c98acea65 Add buzzer to language files
Add buzzer to language files
2019-07-14 14:27:23 +02:00
Stephan Hadinger
6f02bad381 Xiaomi Philips brightness (#6091) 2019-07-14 14:10:38 +02:00
Stephan Hadinger
791e33f81a Fix WeMo emulation for 1G echo and 2G echo dot (#6086) 2019-07-13 16:31:53 +02:00
Theo Arends
0bb0f06982 Update _changelog.ino 2019-07-12 13:42:48 +02:00
Theo Arends
fa0315f1f4
Merge pull request #6046 from burundiocibu/multi-219
Added support for multiple INA219 devices on single I2C bus
2019-07-12 13:36:35 +02:00
Theo Arends
8a98437761
Merge pull request #6076 from thirug010/development
Updated Code for Issue #6066- Dimmer Value not equal to Rx Dim State
2019-07-12 12:21:02 +02:00
Theo Arends
3d52619593
Update _changelog.ino 2019-07-12 12:18:25 +02:00
Stephan Hadinger
51740acd8b Fix Force Elliptic Curve for Letsencrypt TLS #6042 2019-07-12 08:11:40 +02:00
thirug010
943dc524ea Update Code for Issue #6066- Dimmer Value not equal to Rx Dim State #
Change Summary

1. Added Option to select Dimmer Range (1-100 and 1-255) through SetOption66 (default is 1-100 for legacy device support

2. Updated Dimmer code to set range based on the option66 100 / 225
2019-07-11 22:28:08 -05:00
Theo Arends
c4dbde6306 Quicker restore to NTP when forced
Quicker restore to NTP when forced
2019-07-11 15:15:49 +02:00
Theo Arends
c3d2937f22 Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP
Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP (#5279)
2019-07-11 14:59:28 +02:00
Theo Arends
64521b42b6 Add Epoch and UptimeSec to JSON messages
Add Epoch and UptimeSec to JSON messages (#6068)
2019-07-11 14:09:42 +02:00
Theo Arends
a439ef9f0e Workaround invalid detection of SHT3x sensors
Workaround invalid detection of SHT3x sensors (#6067)
2019-07-11 10:56:12 +02:00
Jason2866
74afa790cf
Disable TX20 wind sensor
Just disabling RC switch is NOT enough for successfull compiling with stage/core!!
2019-07-10 18:34:08 +02:00
Theo Arends
bc3c5a8acf
Merge pull request #6061 from ascillato/patch-2
SCD30 - Added temp and hum for domoticz
2019-07-10 18:18:55 +02:00
Adrian Scillato
5a8236c876
SCD30 - Added temp and hum for domoticz 2019-07-10 12:56:18 -03:00
Adrian Scillato
64123a5cd8
Disable USE_RC_SWITCH by default ...
in order to compile with latest Stage Core.

The USE_RC_SWITCH driver uses too much iram for the latest core.
2019-07-10 12:46:46 -03:00
Adrian Scillato
7b25271735
Removed outdated comment 2019-07-09 11:28:25 -03:00
Theo Arends
992afd4b05 Fix compile warning
Fix compile warning
2019-07-09 12:26:45 +02:00
Theo Arends
4081e63396
Keep rules the default 2019-07-09 10:48:03 +02:00
gemu2015
97ff82ce9a update scripter for 2.52 FAT 2019-07-09 10:20:11 +02:00
Jon Little
ad294e6b01 Added support for multiple INA219 devices on single I2C buss. 2019-07-08 20:55:48 -05:00
Adrian Scillato
4f880f8039
Commented out USE_SCRIPT_FATFS
and added comments of limitations
2019-07-08 21:50:27 -03:00
Theo Arends
27ac431576
Merge pull request #6034 from adebeun/development
Implemented automatic setting of clock display from network time.
2019-07-08 21:05:52 +02:00
Adrian Scillato
ff2d2357a9
Fix Scheme 4 (#6038) 2019-07-08 16:00:22 -03:00
Arthur de Beun
cc98a45185 Undo change. 2019-07-09 06:52:15 +12:00
Theo Arends
ecd288f32f Fix scripter core 2.3.0 related compile errors
Fix scripter core 2.3.0 related compile errors (#6045)
2019-07-08 17:52:02 +02:00
Theo Arends
da7ab3274b Fix setting default over temperature
Fix setting default over temperature
2019-07-08 16:50:23 +02:00
Theo Arends
0243e2be7e Add command SetOption42 0..255 to set over temperature in Celsius. Defaults to 90
Add command SetOption42 0..255 to set over temperature in Celsius. Defaults to 90 (#6036)
2019-07-08 14:16:33 +02:00
Theo Arends
57310a7699 Fix Domoticz battery level at 200 when ADC voltage reading is disabled
Fix Domoticz battery level at 200 when ADC voltage reading is disabled (#6033)
2019-07-08 12:52:26 +02:00
Theo Arends
86314e24e5 Fix ambiguous Tuya set relay option by adding command SetOption41 allowing to control number of virtual relays
Fix ambiguous Tuya set relay option by adding command SetOption41 allowing to control number of virtual relays (#6039)
2019-07-08 12:42:46 +02:00
Theo Arends
e67b27b0a3 Fix possible exception when irreceive is not initialised
Fix possible exception when irreceive is not initialised
2019-07-08 12:24:31 +02:00
Arthur de Beun
21f2cc93c4 Add automatic setting of clock display from network time for AZ7798 2019-07-08 06:56:26 +12:00
Arthur de Beun
a42c13d8e5 Implemented automatic setting of clock display from network time. 2019-07-07 22:26:56 +12:00
Stephan Hadinger
eaf5dbd36c Add blend RGB leds with White leds for better whites #5895 #5704 2019-07-07 10:15:50 +02:00