Tasmota/sonoff
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
..
language Change Spanish Argentina to Spanish Spain (#5565) 2019-04-01 17:41:47 +02:00
_changelog.ino Add command WebColor 2019-04-08 22:37:39 +02:00
core_esp8266_timer.c Disable patched core PWM 2019-01-27 12:42:05 +01:00
core_esp8266_wiring_digital.c Disable patched core PWM 2019-01-27 12:42:05 +01:00
core_esp8266_wiring_pwm.c Disable patched core PWM 2019-01-27 12:42:05 +01:00
i18n.h Add command WebColor 2019-04-08 22:37:39 +02:00
my_user_config.h Only allow hex color values for future use 2019-04-07 16:58:23 +02:00
Parsing.cpp Change NULL to nullptr 2019-03-26 18:26:50 +01:00
settings.h Add command WebColor 2019-04-08 22:37:39 +02:00
settings.ino Disable unused code 2019-04-02 20:53:17 +02:00
sonoff_letsencrypt.h 6.4.1.4 Update Copyright (C) 2019 2019-01-01 13:55:01 +01:00
sonoff_post.h Add optional support for Badger HR-E Water Meter 2019-03-28 11:14:09 +01:00
sonoff_template.h Tune templates 2019-04-05 17:46:26 +02:00
sonoff_version.h 6.5.0.5 Add compile time GUI color options 2019-04-06 18:25:26 +02:00
sonoff.h Change some defines to const 2019-03-30 16:29:27 +01:00
sonoff.ino Add command WebColor 2019-04-08 22:37:39 +02:00
support_button.ino Add button control when no relay configured 2019-03-11 18:18:47 +01:00
support_features.ino Housekeeping 2019-03-28 11:25:38 +01:00
support_rotary.ino Make MI Desk Lamp default off 2019-04-05 08:41:26 +02:00
support_rtc.ino Change some defines to const 2019-03-30 16:29:27 +01:00
support_switch.ino Change some more defines to const 2019-03-31 11:59:04 +02:00
support_wifi.ino Change some more defines to const 2019-03-31 11:59:04 +02:00
support.ino Add command WebColor 2019-04-08 22:37:39 +02:00
user_config_override_sample.h Tiny typo fix in comment 2019-01-17 15:29:41 +01:00
xdrv_01_webserver.ino Add command WebColor 2019-04-08 22:37:39 +02:00
xdrv_02_mqtt.ino Attempt to fix MQTT reconnects while keeping good response 2019-04-06 15:22:25 +02:00
xdrv_03_energy.ino Tune some functionality 2019-03-30 13:03:45 +01:00
xdrv_04_light.ino Change some more defines to const 2019-03-31 11:59:04 +02:00
xdrv_05_irremote.ino Alternative to IRSend RAW command. 2019-04-09 17:41:32 +08:00
xdrv_06_snfbridge.ino Change some more defines to const 2019-03-31 11:59:04 +02:00
xdrv_07_domoticz.ino Shrink code/flash space 2019-03-23 17:00:59 +01:00
xdrv_08_serial_bridge.ino Change some more defines to const 2019-03-31 11:59:04 +02:00
xdrv_09_timers.ino Add command WebColor 2019-04-08 22:37:39 +02:00
xdrv_10_rules.ino Add command WebColor 2019-04-08 22:37:39 +02:00
xdrv_11_knx.ino Fixed Display Bug in KNX webmenu for Phys Address 2019-04-02 21:41:52 -03:00
xdrv_12_home_assistant.ino Free some flash used by hass 2019-03-24 14:23:20 +01:00
xdrv_13_display.ino Change some more defines to const 2019-03-31 11:59:04 +02:00
xdrv_14_mp3.ino Shrink code/flash space 2019-03-23 17:00:59 +01:00
xdrv_15_pca9685.ino Fix pca9685 driver command 2019-03-27 03:39:22 +01:00
xdrv_16_tuyadimmer.ino Tune some functionality 2019-03-30 13:03:45 +01:00
xdrv_17_rcswitch.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xdrv_18_armtronix_dimmers.ino Tune some functionality 2019-03-30 13:03:45 +01:00
xdrv_19_ps16dz_dimmer.ino Tune some functionality 2019-03-30 13:03:45 +01:00
xdrv_99_debug.ino Tune some functionality 2019-03-30 13:03:45 +01:00
xdrv_interface.ino wemohue tuning 2019-03-27 18:09:27 +01:00
xdsp_01_lcd.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xdsp_02_ssd1306.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xdsp_03_matrix.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xdsp_04_ili9341.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xdsp_05_epaper_29.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xdsp_interface.ino 6.4.1.12 code changes (byte/boolean) 2019-01-28 14:08:33 +01:00
xnrg_01_hlw8012.ino Changed logging message handling 2019-03-08 15:15:42 +01:00
xnrg_02_cse7766.ino Fix calibration calculation 2019-02-17 15:30:15 +01:00
xnrg_03_pzem004t.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xnrg_04_mcp39f501.ino Tune some functionality 2019-03-30 13:03:45 +01:00
xnrg_05_pzem_ac.ino Changed logging message handling 2019-03-08 15:15:42 +01:00
xnrg_06_pzem_dc.ino Changed logging message handling 2019-03-08 15:15:42 +01:00
xnrg_interface.ino 6.4.1.12 code changes (byte/boolean) 2019-01-28 14:08:33 +01:00
xplg_wemohue.ino Change order of evaluation 2019-03-28 15:29:08 +01:00
xplg_ws2812.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xsns_01_counter.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_02_analog.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_04_snfsc.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xsns_05_ds18b20.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_05_ds18x20_legacy.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xsns_05_ds18x20.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_06_dht.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_07_sht1x.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_08_htu21.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_09_bmp.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xsns_10_bh1750.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_11_veml6070.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_12_ads1115_i2cdev.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_12_ads1115.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_13_ina219.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_14_sht3x.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_15_mhz19.ino Fix Sensor15 command crash due to the wrong memory specifier 2019-04-02 21:16:50 -04:00
xsns_16_tsl2561.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_17_senseair.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_18_pms5003.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_19_mgs.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_20_novasds.ino 6.5.0.3 Add command Sensor20 2019-03-28 12:06:48 +01:00
xsns_21_sgp30.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_22_sr04.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xsns_23_sdm120.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_24_si1145.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_25_sdm630.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_26_lm75ad.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_27_apds9960.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_28_tm1638.ino 6.5.0.1 Change GUI data collection 2019-03-19 17:31:43 +01:00
xsns_29_mcp230xx.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_30_mpr121.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_31_ccs811.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_32_mpu6050.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_33_ds3231.ino Changed logging message handling 2019-03-08 15:15:42 +01:00
xsns_34_hx711.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xsns_35_tx20.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_36_mgc3130.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_37_rfsensor.ino Change NULL to nullptr 2019-03-26 18:26:50 +01:00
xsns_38_az7798.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_39_max31855.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_40_pn532.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_41_max44009.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_42_scd30.ino Shrink code/flash space pt.2/2 2019-03-23 17:57:31 +01:00
xsns_43_hre.ino 6.5.0.3 Add command Sensor20 2019-03-28 12:06:48 +01:00
xsns_interface.ino Add support for sensor SCD30 2019-03-10 13:33:32 +01:00
zzzz_debug.ino 6.4.1.12 code changes (byte/boolean) 2019-01-28 14:08:33 +01:00