Commit Graph
100 Commits
Author SHA1 Message Date
Otto WinterandGitHub b59cf6572b Add lint check for integer constants (#775) 2019-10-19 22:31:32 +02:00
Otto Winter 4fa11dfa68 Lint 2019-10-19 21:59:55 +02:00
Otto Winter 352bdd9fb5 Tuya Set gamma correction and transition length defaults
See also https://github.com/esphome/esphome-docs/pull/353/files#r336751499
2019-10-19 21:50:39 +02:00
Otto Winter e553c0768e Link pip&python in lint Dockerfile 2019-10-19 20:23:14 +02:00
Otto Winter 62d4b29662 Format 2019-10-19 17:48:30 +02:00
Otto Winter 16bc60644d Bump version to v1.15.0-dev 2019-10-19 17:11:22 +02:00
Otto WinterandGitHub 823ae7d1aa Switch to Python 3 for docker installs (#774) 2019-10-19 16:31:03 +02:00
Otto Winter 28031cfa3e Add to ignore list 2019-10-19 16:17:20 +02:00
Otto Winter 292c2d0c53 Remove debug log from dashboard js 2019-10-19 16:17:12 +02:00
Otto Winter 869775ec7a Fix compile warning in SCD30 2019-10-19 16:17:01 +02:00
Otto Winter 783b179af7 Fix TinyGPSPlus having name conflict 2019-10-19 16:16:49 +02:00
Otto Winter 28454ea4cd Fix dashboard setup for python 3 2019-10-19 15:48:57 +02:00
Otto WinterandGitHub 9f4b666ef0 ESP32 Upgrade AsyncTCP to 1.1.1 (#773) 2019-10-19 14:15:22 +02:00
Otto WinterandGitHub 80214640b1 Filter some debug lines from PlatformIO in output (#771)
* Filter some debug lines from PlatformIO in output

* Lint

* Strip trailing newline from esp-idf output

* Only create global std::string if on esp32
2019-10-19 14:04:14 +02:00
Otto WinterandGitHub 4310c14497 Add BLE scan parameters (#769)
* Add BLE parameters

Fixes https://github.com/esphome/issues/issues/735

* Fix
2019-10-18 18:15:53 +02:00
Otto Winter aebb6d2fcc Revert "Fix filter_out bug"
This reverts commit 1ade7bcb2d.
2019-10-18 17:30:44 +02:00
Otto Winter af35c9258e Py3 Updates 2019-10-18 16:58:29 +02:00
Otto Winter 1bf55c130b Format 2019-10-18 16:43:37 +02:00
Otto WinterandGitHub 95a74a7f19 Addressable light transition (#750)
* Improve addressable light transition behavior

Fixes https://github.com/esphome/issues/issues/555

* Improve addressable flicker effect

See also https://github.com/esphome/feature-requests/issues/348

* Update addressable_light_effect.h

* Refactor

* Format

* Prevent divide by zero

* Fixes
2019-10-18 16:27:36 +02:00
Otto WinterandGitHub b78b28ea0e Fix platformio monkey patch (#768) 2019-10-18 15:33:30 +02:00
Otto WinterandGitHub aed7b3fbb2 Fix typo in Component::set_interval (#767)
Ouch...
2019-10-18 15:33:18 +02:00
Otto Winter 1ade7bcb2d Fix filter_out bug 2019-10-18 14:58:06 +02:00
Otto WinterandGitHub 21bbafb63d Captive portal fixes (#766)
* Enable MDNS logs comment

* Work around ESP8266 mDNS broken for AP

See also https://github.com/esp8266/Arduino/issues/6114

* Enable captive_portal in AP-only mode

Fixes https://github.com/esphome/issues/issues/671

* Make ESP32 connecting faster

See also https://github.com/espressif/arduino-esp32/pull/2989

* Format
2019-10-18 14:46:44 +02:00
Otto WinterandGitHub 1cfc6ac3c6 Update ESP8266/ESP32 bases (#760)
* Update ESP8266/ESP32 bases

* Update platformio.ini

* Update boards definitions
2019-10-18 14:46:29 +02:00
Otto WinterandGitHub c3aa834d80 Fork some base libraries (#758)
* Fork some base libraries

* Update ESPAsyncWebServer
2019-10-18 14:46:09 +02:00
Otto WinterandGitHub 68d0d045c0 Add LEDC set_frequency action (#754)
* Add LEDC set_frequency

Fixes https://github.com/esphome/feature-requests/issues/380

* Fix log

* Fixes

* Format

* Update test1.yaml

* Update test1.yaml

* Fix
2019-10-18 11:22:08 +02:00
Otto WinterandGitHub 22aecdfc6f Use higher default baudrate for USB upload (#761)
See also https://github.com/espressif/esptool/issues/435
2019-10-18 10:23:06 +02:00
Otto WinterandGitHub ee0b6e835f Sensor filter_out rounded (#765)
Fixes https://github.com/esphome/issues/issues/741
2019-10-18 10:22:29 +02:00
Otto WinterandGitHub 6ceb975a3a calibrate_linear check not all from values same (#714)
Fixes https://github.com/esphome/issues/issues/524
2019-10-17 21:35:59 +02:00
Otto WinterandGitHub 9a40d6ef50 Integration sensor use double precision (#715)
Fixes https://github.com/esphome/issues/issues/534

Kept the RTC value as a float in order not to introduce a breaking preferences change.
2019-10-17 21:35:31 +02:00
Otto WinterandGitHub 32195f77d9 Fix dallas not unknown (#716)
* Fix dallas not sending unknown on disconnected sensor

* Deep sleep
2019-10-17 21:34:58 +02:00
Otto WinterandGitHub aae633277f Fix strobe/flicker effect not using selected value (#749)
Fixes https://github.com/esphome/issues/issues/562
2019-10-17 19:15:02 +02:00
Otto WinterandGitHub 996c50e8f2 Add rotary_encoder.set_value action (#747)
* Add rotary_encoder.set_value action

Fixes https://github.com/esphome/feature-requests/issues/389

* Fix
2019-10-17 19:14:52 +02:00
Otto WinterandGitHub 95c883ae9b Fix MCP23017 setup priority (#751)
Fixes https://github.com/esphome/issues/issues/535
2019-10-17 19:14:25 +02:00
Otto WinterandGitHub 35a725fa1e Update and pin all requirements (#759) 2019-10-17 18:23:39 +02:00
Otto WinterandGitHub 78c1adafcd Make UART flush function consistent (#748)
See also https://github.com/esphome/esphome/commit/78be9d29376d5fdcff81874540c540eb80a338f6
2019-10-17 16:54:38 +02:00
Otto WinterandGitHub e15071228e Fix addressable light fade to black function (#752)
Fixes https://github.com/esphome/issues/issues/517
2019-10-17 16:53:55 +02:00
Otto WinterandGitHub ac48ff1fd6 Fix potential ISR digital_write issue (#753) 2019-10-17 16:53:39 +02:00
Otto WinterandGitHub cdb9c59662 Add ADE7953 Support (#593)
* Add ADE795 support

* Lint

* Fix

* Fix, add test
2019-10-16 13:19:41 +02:00
Otto Winter acf3f6fb65 Fix outdated voluptuous pinning
See also https://github.com/esphome/esphome/pull/745#issuecomment-541831600
2019-10-15 21:00:58 +02:00
Otto Winter 23f99908db Apply HDC1080 patch from @Hsxsky
See also https://github.com/Hsxsky/esphome/commit/105ac63d625a05d9b36cd6ca48c2706330bfa644
2019-10-15 20:53:59 +02:00
Otto Winter a0046a2e55 Pin voluptuous version
Closes https://github.com/esphome/esphome/pull/745
2019-10-14 14:42:18 +02:00
Otto Winter e207c6ad84 Fix ct_clamp update
Fixes https://github.com/esphome/issues/issues/684
2019-10-14 12:06:23 +02:00
Otto Winter 38dfab11b4 Fix dev branch 2019-10-13 13:51:34 +02:00
Otto Winter fa351cd37c Cleanup AS3935 2019-10-12 17:03:01 +02:00
Otto Winter fd1dc24ac6 Also accept invalid spelling from Updater
Fixes https://github.com/esphome/issues/issues/564 partly.

At least the error message will now be a better one.
2019-09-01 11:42:37 +02:00
Otto Winter be1e4c0a1d Fix nextion display_picture argument order
Fixes https://github.com/esphome/issues/issues/613
2019-08-31 21:14:33 +02:00
Otto Winter c2028f7378 DHT publish NAN on invalid reading
Fixes https://github.com/esphome/issues/issues/590
2019-08-31 21:14:10 +02:00
Otto Winter 4b0f203049 Use unique enum names for native API
Fixes https://github.com/esphome/issues/issues/617
2019-08-31 21:13:41 +02:00
Otto Winter 23ff8178a0 Merge branch 'dev' of https://github.com/esphome/esphome into dev 2019-08-31 20:23:35 +02:00
Otto Winter 93cfee8026 Fix strobe effect
Fixes https://github.com/esphome/issues/issues/620
2019-08-31 20:23:06 +02:00
Otto Winter fb29ac27a2 Merge branch 'dev' of https://github.com/esphome/esphome into dev 2019-08-31 19:24:53 +02:00
Otto Winter 5dfb33ebee Merge branch 'dev' of https://github.com/esphome/esphome into dev 2019-08-29 16:20:59 +02:00
Otto Winter 2b30cde125 Fixup dev branch again
Closes https://github.com/esphome/esphome/pull/706
2019-08-29 16:20:56 +02:00
Otto WinterandGitHub 2c995cf145 Fix GPS time source. (#704)
* Change ESP32 default power_save_mode to light

* Update
2019-08-27 22:11:50 +02:00
Otto Winter 2822fa4a40 Also scan for symlinks in comports
Fixes https://github.com/esphome/feature-requests/issues/56
2019-08-27 22:10:23 +02:00
Otto Winter ccf3da2a5a Improve handling of no upload option
Fixes https://github.com/esphome/issues/issues/596
2019-08-27 22:00:34 +02:00
Otto Winter 5348b36a7c Fix warnings about comments in lambdas
Fixes https://github.com/esphome/issues/issues/593
2019-08-27 21:51:59 +02:00
Otto Winter 947a6034e3 Update platformio patch for latest change
See also https://github.com/platformio/platformio-core/commit/8059e04499fd4d54195c3d75b74a2804aadb6be8
2019-08-27 21:33:01 +02:00
Otto Winter 9770bc371b Remove duplicate TAG value 2019-08-27 20:27:56 +02:00
Otto Winter 22f9f75914 Remove ESP32 uart pin entries
See also https://github.com/esphome/esphome/commit/655327a8b19cd35d66a54a08ddcd1a31906ebcd2
2019-08-27 20:13:50 +02:00
Otto Winter 54c9dd4173 Fix WiFi Info dump_config change
Fixes https://github.com/esphome/esphome/pull/698#discussion_r318212018
2019-08-27 20:07:48 +02:00
Otto Winter 11e88019c2 Fix travis 2019-07-28 15:40:31 +02:00
Otto WinterandGitHub 7210ad7ed9 Change ESP32 default power_save_mode to light (#661) 2019-07-03 20:42:55 +02:00
Otto WinterandGitHub 1876c21e3e WiFi networks priority (#658)
* WiFi networks priority

Fixes https://github.com/esphome/feature-requests/issues/136

* Print priority
2019-07-03 20:42:46 +02:00
Otto Winter 6516a6ff7e Fix LG nbits 2019-07-03 17:16:46 +02:00
Otto Winter 85195436c1 Work around pytz tzname bug
Fixes https://github.com/esphome/issues/issues/445
2019-07-03 17:13:40 +02:00
Otto WinterandGitHub 81a070d03d ESP32 Use NVS directly (#659) 2019-07-03 16:34:40 +02:00
Otto WinterandGitHub 0ef1d178d2 Fix deep sleep on_shutdown hooks (#660)
Fixes https://github.com/esphome/feature-requests/issues/294
2019-07-03 16:34:03 +02:00
Otto Winter 7ad593d674 Add setup, loop as reserved IDs
Fixes https://github.com/esphome/issues/issues/496
2019-07-03 15:25:38 +02:00
Otto WinterandGitHub 13522c8f19 WIP: ESP8266 work on connection issues (#648)
* Erase all flash for USB uploads on ESP8266s

Previously, only erased "write regions".

Downside: Config for other FWs like tasmota could be affected

Upside: Potentially fixes some ESP8266 connection issues

Related: https://github.com/esphome/issues/issues/455#issuecomment-503524479

* Clear WiFi settings for ESP8266

Clears wifi settings from retained storage on ESP8266 (if set).

Unsure if this is the actual issue, but it won't cause problems either.

* Update wifi_component_esp8266.cpp

* Revert erase chip for testing

* Improve wait_time calculation
2019-07-02 13:03:11 +02:00
Otto WinterandGitHub d2938e82db Add calibrate_polynomial sensor filter (#642)
* Add calibrate_polynomial sensor filter

* Fix

* Lint

* Format
2019-07-02 13:02:55 +02:00
Otto WinterandGitHub f95d4ca106 CT Clamp ADS1115 Improvements (#647)
Fixes https://github.com/esphome/issues/issues/457
2019-07-02 13:02:46 +02:00
Otto Winter 486bafd009 Fix upload_speed must be str 2019-07-01 15:11:11 +02:00
Otto Winter 341c99b4fa Better DHT error reporting 2019-07-01 11:10:03 +02:00
Otto Winter 83095e8989 Fix climate MQTT HA interop
Fixes https://github.com/esphome/issues/issues/494
2019-07-01 11:09:44 +02:00
Otto Winter 71ba4bc31c Fix api client disconnect handler 2019-07-01 11:09:20 +02:00
Otto Winter 894ec07cc8 Allow multiple files in CLI syntax 2019-07-01 11:09:06 +02:00
Otto Winter 59091100e4 Fix YAMLError with unicode 2019-06-30 12:19:03 +02:00
Otto Winter e5485ab650 Fix registry entry value copy 2019-06-30 12:18:41 +02:00
Otto Winter 6c493d10d2 More scheduler fixes 2019-06-30 12:18:27 +02:00
Otto Winter 840f599631 Dallas improve warnings 2019-06-30 09:14:16 +02:00
Otto Winter 5a76e61b1e Prevent too long fallback AP SSID 2019-06-30 09:14:04 +02:00
Otto Winter 7b4366bfef Fix scheduler 2019-06-30 09:13:52 +02:00
Otto Winter 8dee5c5fe8 Adjust default reboot timeouts 2019-06-30 09:12:48 +02:00
Otto Winter b2e6d222cd Remove unnecessary update_interval from schemas 2019-06-28 11:30:15 +02:00
Otto WinterandGitHub 2712c44004 Update dependencies (#653)
* Update pio dependencies

* Platformio 4

* Fixes

* Update platformio_api.py

* Lint
2019-06-28 11:29:37 +02:00
Otto WinterandGitHub 82625a3080 Fix remote_transmitter wait time unit (#654)
Fixes https://github.com/esphome/issues/issues/485
2019-06-26 21:48:00 +02:00
Otto WinterandGitHub 369d175694 Create Protobuf Plugin for automatically generating native API stubs (#633)
* Create Protobuf Plugin for automatically generating native API stubs

* Format

* Delete api.proto

* Cleanup, use no_delay conditionally

* Updates

* Update

* Lint

* Lint

* Fixes

* Camera

* CustomAPIDevice

* Fix negative VarInt, Add User-defined services arrays

* Home Assistant Event

* Fixes

* Update custom_api_device.h
2019-06-18 19:31:22 +02:00
Otto WinterandGitHub 904a0b26ea Make logger string memory usage more efficient (#641)
* Make logger string storing more efficient

* Lint
2019-06-16 19:14:24 +02:00
Otto WinterandGitHub a09bd80636 Re-add CustomMQTTDevice class (#640)
* Re-add CustomMQTTDevice class

Fixes https://github.com/esphome/issues/issues/427

* Fix
2019-06-14 12:53:38 +02:00
Otto WinterandGitHub 237ecb3adf Fix remote_receiver raw binary sensor (#639)
* Fix remote_receiver raw binary sensor

Fixes https://github.com/esphome/issues/issues/439

* Lint
2019-06-14 12:53:27 +02:00
Otto WinterandGitHub 9d65b77f13 Fix version.h file (#630)
* Fix version.h file

* Lint
2019-06-14 12:53:02 +02:00
Otto WinterandGitHub 97f2becc9e Fix globals.set (#635)
* Fix globals.set

* Update __init__.py
2019-06-14 12:40:14 +02:00
Otto WinterandGitHub f4160c363b Fix russia timezone detection (#637)
Fixes https://github.com/esphome/issues/issues/378#issuecomment-500219634
2019-06-14 12:35:14 +02:00
Otto WinterandGitHub 4fee9cc039 Fix ESP32 RCSwitch Dump Stack Smash Protection (#636)
Fixes https://github.com/esphome/issues/issues/366
2019-06-14 12:34:45 +02:00
Otto WinterandGitHub 36f47ade70 Add Captive Portal (#624)
* WIP: Captive Portal

* Updates

* Updates

* Lint

* Fixes
2019-06-09 17:03:51 +02:00
Otto Winter 8db6f3129c Fix scheduler 2019-06-09 13:19:57 +02:00
Otto WinterandGitHub 75630a36f8 Add HW SPI support (#623)
* Add HW SPI support

* Update spi.cpp

* Lint

* ESP32 Compile Fix
2019-06-08 17:45:55 +02:00
Otto WinterandGitHub d2be58ba31 Work around ESP32 core WiFi Bug (#627)
* Work around ESP32 WiFi Bug

* Lint
2019-06-08 16:47:27 +02:00