esphome/esphome
thejonesyboy e50644edee
fix: Incorrect time delay conversion breaks remote_transmitter_esp8266.cpp (#1322)
* Incorrect time delay conversion breaks remote_transmitter_esp8266.cpp

I'm unsure why the conversion from microseconds into whole millseconds and remaining microseconds is done using a value of 16383, rather than 1000. This breaks the "on", "off" times, as well as the repeat wait_time if the period is more than 16383 microseconds.

I have confirmed behaviour with an oscilloscope. See https://community.home-assistant.io/t/infrared-remote-transmitter-not-working/232825

* Update esphome/core/helpers.cpp

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>

Co-authored-by: Guillermo Ruffino <glm.net@gmail.com>
2020-10-22 23:25:33 -03:00
..
api Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
components Fix RGBW color-interlock control (#1325) 2020-10-15 09:48:12 -03:00
core fix: Incorrect time delay conversion breaks remote_transmitter_esp8266.cpp (#1322) 2020-10-22 23:25:33 -03:00
dashboard Add hyphen to supported name characters (#1223) 2020-07-30 00:02:34 +02:00
__init__.py Rename esphomeyaml to esphome (#426) 2019-02-13 16:54:02 +01:00
__main__.py Try to fix serial ports listing (#1155) 2020-07-24 10:09:43 +02:00
automation.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
codegen.py Logger on_message trigger (#729) 2019-10-24 14:19:33 +02:00
config.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
config_helpers.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
config_validation.py fix mqtt config check in OnlyWith configuration helper (#1304) 2020-10-15 10:14:07 -03:00
const.py Bump docker base image to 2.6.0 (#1245) 2020-08-08 18:42:21 +02:00
core.py Revert "Sort keys in dicts in output yaml for 'config' command (#1049)" (#1191) 2020-07-25 14:21:56 +02:00
core_config.py Bump docker base image to 2.6.0 (#1245) 2020-08-08 18:42:21 +02:00
cpp_generator.py Upgrade dependencies 2020-05-23 20:33:58 -03:00
cpp_helpers.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
cpp_types.py Logger on_message trigger (#729) 2019-10-24 14:19:33 +02:00
espota2.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
helpers.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
legacy.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
mqtt.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
pins.py Add pytest to CI (#1138) 2020-07-15 14:00:02 +02:00
platformio_api.py handle windows filenames (#1307) 2020-10-12 22:55:18 -03:00
py_compat.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
storage_json.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00
util.py Try to fix serial ports listing (#1155) 2020-07-24 10:09:43 +02:00
voluptuous_schema.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
vscode.py Add support for command-line substitutions (#1014) 2020-06-21 15:33:01 -03:00
wizard.py Clean up ALLOWED_CHARS (#1235) 2020-08-06 17:29:45 +02:00
writer.py ESP8266 change recommended framework version to 2.7.2 (#1208) 2020-07-27 18:22:47 +02:00
yaml_util.py Bump pylint from 2.5.3 to 2.6.0 (#1262) 2020-09-16 12:12:40 +02:00
zeroconf.py Drop Python 2 Support (#793) 2019-12-07 18:28:55 +01:00