Commit Graph

2717 Commits

Author SHA1 Message Date
Theo Arends efb1908fff Add buzzer parameter tune
Add buzzer parameter tune
2019-08-12 18:20:32 +02:00
Theo Arends d053767e2e Update features
Update features
2019-08-12 17:28:09 +02:00
Theo Arends 23ec00a452 Add command Buzzer
Add command Buzzer with optional parameters <number of beeps>,<duration of beep in 100mS steps>,<duration of silence in 100mS steps> enabled when a buzzer is configured (#5988)
2019-08-12 17:18:08 +02:00
Jason2866 01bfdb0971
Update de-DE.h 2019-08-12 16:35:41 +02:00
Andrzej Raczkowski 6002f7930b
Update for pl-PL.h added translation for templates 2019-08-12 09:33:19 +02:00
Theo Arends 2d0143623d Refactor commands by processing optional prefix
Refactor commands by processing optional prefix
2019-08-11 18:12:18 +02:00
Theo Arends 305cb8fd7e Refactor commands
Refactor commands
2019-08-11 15:18:11 +02:00
Theo Arends 01ca5f5cfb Refactor code
Refactor code
2019-08-10 18:12:25 +02:00
Theo Arends 03c54dab3e Add USE_ZIGBEE to features and update decode-status.py to accomodate future features
Add USE_ZIGBEE to features and update decode-status.py to accomodate future features
2019-08-10 17:52:26 +02:00
Theo Arends 5f236561b1 Change ToHex default inbetween to no character
Change ToHex default inbetween to no character
2019-08-10 17:34:59 +02:00
Theo Arends 52a2da28ac Add function ToHex to support.ino
Add function ToHex to support.ino
2019-08-10 13:31:05 +02:00
Erik 0c8c62a857 Adjust on_cmd_type according to SetOption20 2019-08-10 11:17:37 +02:00
Theo Arends 9632ba7b1c
Merge pull request #6199 from s-hadinger/zigbee_low_level
Add Zigbee support phase 1 - low level MQTT ZNP messages for CC2530 devices
2019-08-10 09:22:20 +02:00
localhost61 5623a87136 Update fr-FR to v6.6.0.4 (SolaX X1) 2019-08-10 00:49:16 +02:00
Stephan Hadinger c9139514d0 Add ZigBee support phase 1 - low level MQTT ZNP messages for CC2530 devices 2019-08-09 22:52:33 +02:00
Theo Arends 4f40084c69 Hide debug info
Hide debug info
2019-08-09 17:34:22 +02:00
Theo Arends d7e80b4bb6 Fix correct debug type
Fix correct debug type
2019-08-09 16:48:53 +02:00
Theo Arends 618ad75b64 Update language files
Update language files
2019-08-09 16:43:51 +02:00
Theo Arends e0f08ec764 Add support for Solax X1 inverter by Pablo Zerón
Add support for Solax X1 inverter by Pablo Zerón
2019-08-09 16:42:16 +02:00
Theo Arends 6417444521
Merge pull request #6196 from pablozg/development
Initial Support Solar Solax X1 Inverters
2019-08-09 14:46:59 +02:00
Theo Arends 3c166dec2c Add negative window offset when time is set within midnight minus window and midnight
Add negative window offset when time is set within midnight minus window and midnight
2019-08-09 14:07:35 +02:00
Theo Arends 39cfe4c7e2 Move webserver debug from driver to core
Move webserver debug from driver to core
2019-08-09 14:05:12 +02:00
pablozg 4702fadfdc Fix: added missing define sensor in NL and UK 2019-08-09 13:55:15 +02:00
pablozg 29497f7ac6 Initial Support Solax X1 Inverters 2019-08-09 12:56:01 +02:00
Theo Arends 62a516c3f2 Add some debug info
Add some debug info
2019-08-08 18:14:36 +02:00
Theo Arends a1a6590715 Make some log messages compile dependant
Make some log messages compile dependant
2019-08-08 17:51:49 +02:00
Theo Arends 27efc08d2c Add define DEBUG_TASMOTA_CORE
Add define DEBUG_TASMOTA_CORE
2019-08-08 16:24:11 +02:00
Theo Arends 7336b2807f Add debug compile features using defines DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR. See example in xdrv_09_timers.ino
Add debug compile features using defines DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR. See example in xdrv_09_timers.ino (#6186)
2019-08-08 15:17:39 +02:00
Theo Arends 301f2c626d
Merge pull request #6189 from gemu2015/mp3-fix
Update xdrv_14_mp3.ino
2019-08-08 08:36:06 +02:00
gemu2015 50dab11933 Update xdrv_14_mp3.ino 2019-08-08 08:28:59 +02:00
Theo Arends 8eb87a00d6 Extent feature list for future use
Extent feature list for future use
2019-08-07 12:56:32 +02:00
Theo Arends 2f6b88cb4d Extent sensor list
Extent sensor list
2019-08-07 12:18:59 +02:00
Theo Arends afb39aa680 Add support for CHIRP soil moisture sensor by Christian Baars
Add support for CHIRP soil moisture sensor by Christian Baars
2019-08-07 12:08:13 +02:00
Theo Arends 1333d3b444
Default disable for now 2019-08-07 11:29:19 +02:00
Staars 370e2b0920 move debug text msg to PROGMEM 2019-08-07 08:35:42 +02:00
Staars eb66e155fa use uint32_t in for-loops 2019-08-07 08:28:33 +02:00
Staars 88a61ea49d remove/move #defines 2019-08-07 08:24:24 +02:00
Staars ef2556dfaf initial commit chirp sensor 2019-08-06 21:48:55 +02:00
Stephan Hadinger ed5f368d65 Version 6.6.0.4 2019-08-06 19:57:46 +02:00
Stephan Hadinger 81ca44dba2 Add SetOption68 to enable multi-channel PWM instead of a single light (#6134) 2019-08-06 10:57:50 +02:00
Theo Arends d6e475e73a Add command FlashDump when debug is enabled
Add command FlashDump when debug is enabled
2019-08-05 16:45:13 +02:00
Stephan Hadinger a2b8f783c4 Removed float conversion and used changeUIntScale instead 2019-08-05 14:24:50 +02:00
gemu2015 fbe4e51958 scripter expression brackets 2019-08-05 13:01:23 +02:00
Theo Arends 427c4aca79 Fix AWS exceptions and make flash location relative to flash size
Fix AWS exceptions and make TLS flash location relative to flash size (#6179)
2019-08-05 12:15:15 +02:00
Stephan Hadinger a50a6eff61 Change Store AWS IoT Private Key and Certificate in SPI Flash avoiding device-specific compilations 2019-08-04 19:42:21 +02:00
Theo Arends 23185218e6
Merge pull request #6178 from s-hadinger/irsendraw_repeat
Add inter-message gap for IRSend raw
2019-08-04 18:24:05 +02:00
Stephan Hadinger 0a6545fd6f Add inter-message gap for IRSend raw 2019-08-04 18:12:22 +02:00
Theo Arends 7ff13f4fd5 Add rule/script trigger to Hue color or dimmer change
Add rule/script trigger to Hue color or dimmer change (#6085)
2019-08-04 17:48:21 +02:00
Stephan Hadinger b56f0a6aa1 IRSend handle index=0 2019-08-04 12:45:17 +02:00
Stephan Hadinger c10b236831 Add allow repeat/longpress for IRSend raw, introduced IRSend<r> option (#6074) 2019-08-04 12:37:01 +02:00
Theo Arends abee4e8bd4 Refactor Debug command
Refactor Debug command
2019-08-03 15:25:16 +02:00
Theo Arends a756914fb6 Refactor Domoticz command
Refactor Domoticz command
2019-08-03 15:24:00 +02:00
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