Commit Graph

53 Commits

Author SHA1 Message Date
Theo Arends af1edb0cdb Add command Time 1/2/3 to select JSON time format ISO + Epoch, ISO or Epoch
* Add time to more events (#6337)
 * Add command Time 1/2/3 to select JSON time format ISO + Epoch, ISO or Epoch
2019-09-04 18:06:34 +02:00
Stephan Hadinger ab5af7bf47 Add Full support of all protocols in IRremoteESP8266, to be used on dedicated-IR Tasmota version. Warning: +81k Flash when compiling with USE_IR_REMOTE_FULL 2019-08-28 22:01:01 +02:00
Theo Arends b04bf63446 Add possibility to receive more then 64 bits to IRremote
Add possibility to receive more  then 64 bits to IRremote. May still need change of IR_RCV_BUFFER_SIZE (#6286)
2019-08-28 16:13: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
Stephan Hadinger 0a6545fd6f Add inter-message gap for IRSend raw 2019-08-04 18:12:22 +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 e5ecffe4dd Refactor commands
Refactor commands
2019-08-03 13:01:34 +02:00
Theo Arends 8875787935 Refactor IrRemote commands
Refactor IrRemote commands
2019-08-02 14:23:41 +02:00
Stephan Hadinger 372aecd353 Upgrade library IRRemoteEsp8266 to 2.6.4, now using sendPioneer() 2019-07-29 09:28:40 +02:00
Theo Arends af4dd080c5 Fix possible IRSend input corruption
Fix possible IRSend input corruption
2019-07-23 10:22:14 +02:00
Stephan Hadinger 6ec634c695 Fix send IRSend for Pioneer devices (#6100) 2019-07-22 19:27:03 +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
Stephan Hadinger 0df4a888d5 Support IRSend long press ('repeat' feature from IRRemoteESP8266) (#6074) 2019-07-15 09:22:07 +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
Theo Arends 1b69502d9b Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
Theo Arends 30adce5648 Revert "Code optimization - Change for(uint8_t in for (uint32_t"
This reverts commit 5e1eac3f74.
2019-06-30 15:56:55 +02:00
Theo Arends 5e1eac3f74 Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Theo Arends 8ed16c15a0 dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too
dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too (#5950)
2019-06-12 19:11:21 +02:00
Theo Arends 22663fc10c 6.5.0.13 Add command SetOption38 6..255
6.5.0.13 20190527
 * Add command SetOption38 6..255 to set IRReceive protocol detection sensitivity mimizing UNKNOWN protocols (#5853)
2019-05-27 11:56:14 +02:00
Theo Arends f1cccc19be Tune IRsend
Tune IRsend
2019-04-11 11:38:07 +02:00
Theo Arends 90223a8eaa Add more options to IRsend raw
Add more options to IRsend raw
2019-04-10 18:28:46 +02:00
Theo Arends 51e66bcccf Update xdrv_05_irremote.ino
Code shaving
2019-04-09 15:41:01 +02:00
GP Orcullo 97c1ae568c Ignore non-binary char in bit stream 2019-04-09 19:11:47 +08:00
GP Orcullo b3e8d3c143 Alternative to IRSend RAW command.
It is not practical to send long streams of data using the existing IRSend RAW command as it is limited by the size of the mqtt buffer.

The format for this command is:
        IRSend raw,<freq>,<hdr_mrk>,<hdr_spc>,<bit_mrk>,<zer_spc>,<one_spc>,<bit_str>
where,
        <freq>    = carrier freq (default 0, 38kHz)
        <hdr_mrk> = header mark (ms)
        <hdr_spc> = header space (ms)
        <bit_mrk> = bit mark (ms)
        <zer_spc> = zero space (ms)
        <one_spc> = one space (ms)
        <bit_str> = bit stream data (stream of ones and zeroes)

This command makes use of the output of the raw IR decoder from https://github.com/ToniA/Raw-IR-decoder-for-Arduino

USAGE:

Example rawirdecode output:

        Number of symbols: 75
        Symbols:
        Hh010101101000111011001110000000001100110000000001100000000000000010001100
        Bytes:
        00:  0101|0110 | 6A | 01101010
        01:  1000|1110 | 71 | 01110001
        02:  1100|1110 | 73 | 01110011
        03:  0000|0000 | 00 | 00000000
        04:  1100|1100 | 33 | 00110011
        05:  0000|0001 | 80 | 10000000
        06:  1000|0000 | 01 | 00000001
        07:  0000|0000 | 00 | 00000000
        08:  1000|1100 | 31 | 00110001
        6A,71,73,00,33,80,01,00,31
        Timings (in us):
        PAUSE SPACE:  0
        HEADER MARK:  8620
        HEADER SPACE: 4260
        BIT MARK:     544
        ZERO SPACE:   411
        ONE SPACE:    1496
        Decoding known protocols...
        Unknown protocol
        Bytecount: 9

Corresponding command:

        IRSend raw,0,8620,4260,544,411,1496,010101101000111011001110000000001100110000000001100000000000000010001100
2019-04-09 17:41:32 +08:00
Theo Arends a380eb9566 Fix possible compile error
Fix possible compile error
2019-04-01 16:39:13 +02:00
Theo Arends 127892e0c1 Change IRsend and receive for 64-bit support
* Change IRsend and receive for 64-bit support (#5523)
 * Change IRSend Panasonic protocol to 64-bit (#5523)
2019-04-01 15:15:16 +02:00
Theo Arends b9a0581280 Fix parameter exceptions (#5555)
Fix parameter exceptions (#5555)
2019-03-31 13:06:42 +02:00
Theo Arends f7c30250c1 Change some more defines to const
Change some more defines to const
2019-03-31 11:59:04 +02:00
Theo Arends e1c92b701b Change NULL to nullptr
Change NULL to nullptr
2019-03-26 18:26:50 +01:00
Theo Arends 6922e657d9 Shrink code/flash space
Shrink code/flash space
2019-03-23 17:00:59 +01:00
Theo Arends d7715d1d2a Add 0x to IRRemote and RCSwitch
Add 0x to IRRemote (SetOption29) and RCSwitch (SetOption28) received hexadecimal data (#5431)
2019-03-11 14:55:14 +01:00
Theo Arends 06a9fbd792 Changed logging message handling
Changed logging message handling
2019-03-08 15:15:42 +01:00
Theo Arends 6ee3d1abc6 Fix IR local echo
Fix IR local echo
2019-02-03 18:45:20 +01:00
Theo Arends 304ac6fe44 6.4.1.12 code changes (byte/boolean)
6.4.1.12 20190128
 * Change code use of boolean to bool and byte to uint8_t
 * Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +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 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 8c1b966004 Move IrSend rawdata to stack
Move IrSend rawdata from heap to stack
2018-11-22 17:58:07 +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 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
Alexander Savchenko bf90e60f99 Fujitsu HVAC support 2018-11-19 20:45:37 +02:00
Theo Arends 288fefebb7
Update xdrv_05_irremote.ino 2018-11-19 11:00:24 +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 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
andrethomas 4a7e7b0dbb Change C functions with () to (void) 2018-11-14 15:32:09 +02:00
Theo Arends 9fef82736d Prep drivers for management
Prep drivers for management
2018-11-07 10:30:03 +01:00