Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Otto WinterandGitHub bbeb0461c4 Work around ESP32 BLE issue (#626) 2019-06-08 16:47:04 +02:00
Otto WinterandGitHub 14fd08e225 Fix status binary sensor for MQTT (#628)
Fixes https://github.com/esphome/issues/issues/417
2019-06-08 16:44:25 +02:00
Otto WinterandGitHub f99352f7e0 Update base image to 1.8.3 (#625) 2019-06-08 16:44:13 +02:00
Otto WinterandGitHub b51cbc4207 Add central function scheduler (#609)
* Add central function scheduler

* Avoid unnecessary copies

* Lint

* Prevent more copies, store pointers

* Add never update_interval
2019-06-07 14:26:40 +02:00
Otto WinterandGitHub 7a895adec9 Dashboard Update all button (#615)
* Add update all button

* Use bold
2019-06-07 14:26:28 +02:00
Otto WinterandGitHub 4fe0c95ccb Allow id() syntax for custom code (#621)
* Allow id() syntax for custom code

* Lint
2019-06-07 14:26:17 +02:00
Otto WinterandGitHub 726b0e73d9 Add more efficient SPI implementation (#622)
* Add more efficient SPI implementation

* Lint

* Add 200KHZ

* Updates

* Fix write_byte

* Update from datasheet

* Shift clock

* Fix calculation
2019-06-07 14:25:57 +02:00
Otto WinterandGitHub e6c16e9981 Fix sun default elevation (#620) 2019-06-06 15:12:40 +02:00
Otto WinterandGitHub 1bd408937a Fix integration sensor, add test (#619)
* Fix integration sensor, add test

* Fix

* Fix
2019-06-06 15:06:02 +02:00
Otto WinterandGitHub 4d00dfd308 Update docker base image to 1.8.0 (#618) 2019-06-06 13:39:14 +02:00
Otto WinterandGitHub 75326d2271 Make ForCondition a component (#616)
Fixes https://github.com/esphome/issues/issues/396
2019-06-06 13:15:49 +02:00
Otto WinterandGitHub 76fe2e4871 Fix remote_receiver always shows sony (#617)
Fixes https://github.com/esphome/issues/issues/383#issuecomment-498370572
2019-06-06 13:15:37 +02:00
Otto WinterandGitHub f977e9da2b Fix Hass.io addon SSL (#613)
Fixes https://github.com/esphome/issues/issues/404
2019-06-06 13:14:20 +02:00
Otto WinterandGitHub 16ae46e958 Template Cover don't auto-set current_operation (#612)
Fixes https://github.com/esphome/issues/issues/408
2019-06-06 13:13:56 +02:00
Otto WinterandGitHub 73eea154d5 DHT22 ignore invalid values (#614)
Fixes https://github.com/esphome/issues/issues/397
2019-06-06 13:13:28 +02:00
Otto WinterandGitHub ebe64e24f1 Move ESPHome version define (#607)
* Move ESPHome version define

* Lint
2019-06-03 16:07:15 +02:00
Otto WinterandGitHub c53483a3b2 ESP8266 connect fixes (#605)
* ESP8266 Connection Fixes

* Update client.py

* Update mqtt_client.cpp

* Update mqtt_client.cpp

* Fix ping

* Async dump config

* Update base image to 1.7.0

* Update helpers.py

* Updates

* Update Dockerfile.lint
2019-06-03 15:21:36 +02:00
Otto WinterandGitHub fe24745815 Fix ADS1115 calculation (#606)
Fixes https://github.com/esphome/issues/issues/393
2019-06-03 14:31:01 +02:00
Otto WinterandGitHub b5e75793e1 Fix validation infinite loop with empty platform block (#598)
* Fix validation infinite loop with empty platform block

* Update util.py
2019-06-03 09:41:33 +02:00
Otto WinterandGitHub 734cc989de Fix hx711 (#602)
* Fix HX711

* Use signed value

* Update hx711.cpp
2019-06-03 09:41:13 +02:00
Otto WinterandGitHub 2642750466 Fix color wipe effect (#599) 2019-06-03 09:05:20 +02:00
Otto WinterandGitHub ec9cc72320 Allow old remote_transmitter repeat schema (#601)
Fixes https://github.com/esphome/issues/issues/389
2019-06-02 15:27:32 +02:00
Otto WinterandGitHub c97a9d83c6 Add better esphomeyaml migration path (#600)
Fixes https://github.com/esphome/issues/issues/387
2019-06-02 15:26:44 +02:00
Otto WinterandGitHub f31c1480f3 Fix dashboard for Py3 installs (#596)
Fixes https://github.com/esphome/issues/issues/368
2019-06-01 22:00:19 +02:00
Otto WinterandGitHub 291d4be772 Fix medium fan speed (#595) 2019-06-01 22:00:09 +02:00
Otto WinterandGitHub 52584ec2be Fix flicker light effect turning itself off (#594)
Fixes https://github.com/esphome/issues/issues/382
2019-06-01 21:59:59 +02:00
Otto WinterandGitHub 3bc08e5222 Fix remote_receiver binary_sensor (#592)
Fixes https://github.com/esphome/issues/issues/369
2019-06-01 13:22:28 +02:00
Otto WinterandGitHub 672f8d1719 Fix timezone detection (#586)
* Fix timezone detection

* Update __init__.py
2019-06-01 12:03:43 +02:00
Otto WinterandGitHub 420c8b49e2 Fix scripts circular dependency (#591)
Fixes https://github.com/esphome/issues/issues/370
2019-06-01 12:00:10 +02:00
Otto WinterandGitHub f921997ee6 Fix addressable effects (#590) 2019-06-01 12:00:00 +02:00
Otto WinterandGitHub 2617e5092b SM16716 support (#541) 2019-05-31 15:05:37 +02:00
Otto WinterandGitHub d41ddf380c Fix i2c setup priority (#585)
Fixes https://github.com/esphome/issues/issues/314
2019-05-31 13:40:12 +02:00
Otto WinterandGitHub a72c3ea9d7 Fix light partition (#584)
* Fix light partition

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

* Lint
2019-05-31 13:38:56 +02:00
Otto WinterandGitHub 8be733efee Fix MQTT on_message trigger (#583)
Fixes https://github.com/esphome/issues/issues/363
Fixes https://github.com/esphome/issues/issues/364
2019-05-31 11:17:46 +02:00
Otto WinterandGitHub b9609286ea Fix travis build (#582) 2019-05-31 11:12:27 +02:00
Otto WinterandGitHub 2b186fdb0d CLI show version better (#581)
Fixes https://github.com/esphome/feature-requests/issues/256
2019-05-31 10:43:11 +02:00
Otto WinterandGitHub 3012fee013 Fix Rotary Encoder (#580)
Fixes https://github.com/esphome/issues/issues/360
2019-05-31 10:37:40 +02:00
Otto WinterandGitHub 01db114724 Fix MQTT client_id changed (#579)
Fixes https://github.com/esphome/issues/issues/323
2019-05-31 10:37:10 +02:00
Otto WinterandGitHub e05688d639 Fix remote_receiver binary_sensor schema (#578)
Fixes https://github.com/esphome/issues/issues/353#issuecomment-497491863
2019-05-31 10:36:23 +02:00
Otto WinterandGitHub 925b030718 Fix waveshare 7.5in model (#576)
* Fix waveshare 7.5in model

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

* Fix platformio travis errors
2019-05-30 22:27:51 +02:00
Otto WinterandGitHub 9eba789c32 Dashboard work around Hass.io bug (#575)
* Dashboard work around Hass.io bug

Ref https://github.com/home-assistant/hassio/issues/1103

* Lint
2019-05-30 22:22:59 +02:00
Otto WinterandGitHub 3e6ae4afda Fix Sun Trigger (#572)
* Fix Sun Trigger

* Fix cwww lights
2019-05-30 20:01:58 +02:00
Otto WinterandGitHub 27abb38ecb Fix validation TypeError (#574) 2019-05-30 20:01:16 +02:00
Otto WinterandGitHub 1ce257c721 Register light conditions (#570) 2019-05-30 13:12:12 +02:00
Otto WinterandGitHub 31ddd3f668 Add uart.write action (#567)
* Add uart.write action

* Lint
2019-05-29 19:32:18 +02:00
Otto WinterandGitHub f35f6d2348 Use copy for custom includes (#568) 2019-05-29 19:30:35 +02:00
Otto WinterandGitHub 02d34a0238 Fix TSL2561 invalid default (#566)
Ref https://github.com/esphome/issues/issues/352#issuecomment-496883794
2019-05-29 13:17:01 +02:00
Otto WinterandGitHub 15cb0e4ff3 Warn if a component does long-running work in loop thread (#565)
* Warn if a component does long-running work in loop thread

* Update application.cpp
2019-05-29 11:13:05 +02:00
Otto WinterandGitHub 2f3c6d5b58 Update FUNDING.yml 2019-05-29 10:29:17 +02:00
Otto WinterandGitHub ead5e8d855 Try out github sponsorship file 2019-05-29 10:12:23 +02:00
Otto WinterandGitHub fd9a9ecc63 Fix NTC steinhart-hart issue (#564) 2019-05-28 22:30:51 +02:00
Otto Winter 667ed94e29 Fix NTC steinhart-hart issue 2019-05-28 22:27:39 +02:00
Otto WinterandGitHub 2decb8115c Fix CWWW/RGBWW lights (#562) 2019-05-28 20:44:27 +02:00
Otto WinterandGitHub df0d33c3cd Waveshare enter deep sleep mode on shutdown (#561)
Fixes https://github.com/esphome/issues/issues/307

Only enters deep sleep mode when node turns off - not between updates because entering+exiting deep sleep takes some time (could be added later)
2019-05-28 20:22:50 +02:00
Otto WinterandGitHub 61ba2e0f35 Add NTC and resistance sensor (#560)
* Add NTC and resistance sensor

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

* Fix

* Fix platformio4 moved get_project_dir
2019-05-28 16:00:00 +02:00
Otto Winter 9fa1a334e6 Do not recompile on version change 2019-05-28 12:11:32 +02:00
Otto Winter 4a5365f6a0 Fix gitlab 2019-05-28 11:49:11 +02:00
Otto Winter 127efe9a52 Use lint image for tests 2019-05-28 10:41:12 +02:00