Commit Graph
100 Commits
Author SHA1 Message Date
Otto WinterandGitHub 4e24551b90 Docker move deps install into base (#3207) 2022-02-16 22:25:04 +01:00
Otto WinterandGitHub 3a67884451 Improve dallas timing (#3181)
* Improve dallas timing

* Format
2022-02-11 09:06:06 +01:00
Otto WinterandGitHub 72e716cdf1 Make generating combined binary output verbose (#3127) 2022-02-11 21:06:00 +13:00
Otto WinterandGitHub 2622e59b0b Remove spurious Zeroconf instance from api client (#3143) 2022-02-09 14:57:00 +01:00
Otto WinterandGitHub 35e6a13cd1 Remove unused obj attribute from AssignmentExpression (#3145) 2022-02-09 14:56:42 +01:00
Otto WinterandGitHub 434ca47ea0 Enable mDNS during OTA safe mode (#3146) 2022-02-08 21:21:52 +13:00
Otto WinterandGitHub 253161d3d0 Fix copy_file_if_changed src permissions copied too (#3161) 2022-02-07 21:26:16 +01:00
Otto WinterandGitHub 62b366a5ec Fix ESP32C3 toolchain requires stdarg import in helpers (#3151) 2022-02-01 13:05:59 +01:00
Otto WinterandGitHub f9e7291050 Bump pre-commit flake8 from 3.8.4 to 4.0.1 (#3149) 2022-02-01 10:22:43 +01:00
Otto WinterandGitHub 4de642ff28 Bump esp-idf framework version from 4.3.0 to 4.3.2 (#3120) 2022-01-31 07:59:56 +01:00
Otto WinterandGitHub 0384efcfc2 Disable platformio ldf for build (#3130) 2022-01-31 14:27:10 +13:00
Otto WinterandGitHub df0de2fc2d Bump docker dependencies (#3131) 2022-01-29 13:04:15 +01:00
Otto WinterandGitHub ad1f4429c9 Fix lint for TSL2591 (#3118) 2022-01-26 13:50:43 +01:00
Otto WinterandGitHub 511c8de6f3 ESP8266 Set recommended framework to 3.0.2 (#2606) 2022-01-26 22:41:57 +13:00
Otto WinterandGitHub 62f9736b1d API: Expect a name for connections (#2533) 2022-01-20 12:03:32 +01:00
Otto WinterandGitHub 470071e0b0 Bump docker dependencies (#3019) 2022-01-08 14:15:05 +01:00
Otto WinterandGitHub 8aa72f4c1e Neopixelbus redo method definitions (#2616) 2021-11-11 07:35:31 +13:00
Otto WinterandGitHub 2b04152482 Fix deep sleep invert_wakeup mode (#2644) 2021-10-31 16:07:06 +01:00
Otto WinterandGitHub c612a3bf60 Constrain GH Actions workflows permissions (#2625) 2021-10-26 10:55:27 +02:00
Otto WinterandGitHub 49b17c5a2d Switch issue-close-app to GH Actions and workflow cleanup (#2624) 2021-10-23 21:58:04 +02:00
Otto WinterandGitHub de06a781ff ESP8266 disable PIO LDF (#2608) 2021-10-23 19:44:55 +02:00
Otto WinterandGitHub 8e77e3c685 Fix glue code missing micros() (#2623) 2021-10-23 19:25:53 +02:00
Otto WinterandGitHub 1a6a063e04 Move default build path to .esphome directory (#2586) 2021-10-23 12:38:57 +02:00
Otto WinterandGitHub d85b7a6bd0 Bump platform-espressif8266 from 2.6.2 to 2.6.3 (#2620) 2021-10-23 12:37:50 +02:00
Otto WinterandGitHub 77a6461c9d Fix ESP8266 OTA compression only starting framework v2.7.0 (#2610) 2021-10-22 17:23:31 +02:00
Otto WinterandGitHub 6db9d1122f Fix compiler warnings and update platformio line filter (#2607) 2021-10-22 16:52:43 +02:00
Otto WinterandGitHub 83bef85415 Add owner to all libraries used (#2604) 2021-10-22 14:14:14 +02:00
Otto WinterandGitHub b5b3914bbf Re-raise keyboardinterrupt (#2603) 2021-10-22 14:14:07 +02:00
Otto WinterandGitHub 0d90ef94ae Add OTA upload compression for ESP8266 (#2601) 2021-10-22 13:02:55 +02:00
Otto WinterandGitHub c08b21b7cd Bump noise-c from 0.1.3 to 0.1.4 (#2602) 2021-10-22 12:12:07 +02:00
Otto WinterandGitHub 9220d9fc52 Fix socket connection closed not detected (#2587) 2021-10-22 10:46:44 +02:00
Otto WinterandGitHub 68c8547067 Add IDF support to dallas (#2578) 2021-10-21 22:48:28 +02:00
Otto WinterandGitHub 4765173778 Update docker base images (#2583) 2021-10-21 20:07:44 +02:00
Otto WinterandGitHub ca59dd1302 Fix HeatpumpIR pin (#2585) 2021-10-21 18:57:03 +02:00
Otto WinterandGitHub eccdef8211 Fix mDNS ESP8266 log not included (#2589) 2021-10-21 18:53:08 +02:00
Otto WinterandGitHub cac5b356db ESP32 ADC use factory calibration data (#2574) 2021-10-21 16:01:33 +02:00
Otto WinterandGitHub 156104d5f5 Fix platformio_install_deps no longer installing all lib_deps (#2584) 2021-10-21 15:29:32 +02:00
Otto WinterandGitHub c248ba4043 Fix platformio version in Dockerfile doesn't match requirements (#2582) 2021-10-21 14:53:08 +02:00
Otto WinterandGitHub c615dc573a Fix ESP8266 dallas GPIO16 INPUT_PULLUP (#2581) 2021-10-21 14:39:36 +02:00
Otto WinterandGitHub 1caabb6419 Fix ESP8266 OTA adds unnecessary Update library (#2579) 2021-10-21 14:20:57 +02:00
Otto WinterandGitHub f41f7994a3 Arduino global delay/millis/... symbols workaround (#2575) 2021-10-21 14:20:23 +02:00
Otto WinterandGitHub e39f314e7a Fix wifi ble coexistence check (#2573) 2021-10-21 12:24:01 +02:00
Otto WinterandGitHub 7f34561e53 Fix ESP8266 GPIO0 Pullup Validation (#2572) 2021-10-21 12:23:37 +02:00
Otto WinterandGitHub 15b5968418 Revert nextion clang-tidy changes (#2566) 2021-10-21 07:31:13 +13:00
Otto WinterandGitHub 64a45dc6a6 Move running process log line to debug level (#2565) 2021-10-20 20:15:09 +02:00
Otto WinterandGitHub 5425e45851 Only show timestamp for dashboard access logs (#2540) 2021-10-18 08:01:51 +13:00
Otto WinterandGitHub f3ec4b514d Merge pull request #2461 from esphome/bump-2021.9.3
2021.9.3
2021-10-08 10:37:52 +02:00
Otto winter fc5798fa71 Bump version to 2021.9.3 2021-10-07 22:05:30 +02:00
Otto Winter 95d7ad543f API encryption switch to libsodium backend (#2456) 2021-10-07 22:05:26 +02:00
Otto Winter 9bf72ff05f Re-enable TCP nodelay for ESP32 (#2390) 2021-10-07 22:03:05 +02:00
Otto WinterandGitHub 1c58b17235 API encryption switch to libsodium backend (#2456) 2021-10-06 22:36:12 +02:00
Otto WinterandGitHub 54a173dbf1 I2C re-introduce very verbose logging (#2446) 2021-10-06 11:57:23 +13:00
Otto WinterandGitHub 8be4086224 Always upload using esptool (#2433) 2021-10-04 16:59:15 +02:00
Otto WinterandGitHub 871d3b66fb Fix restoring globals (#2442) 2021-10-04 16:15:25 +02:00
Otto WinterandGitHub 87358e8843 Fix esp32 no longer has Hash internal lib (#2441) 2021-10-04 16:14:51 +02:00
Otto WinterandGitHub 912793eddf Convert time to use tzdata (#2425) 2021-10-03 14:10:53 +02:00
Otto WinterandGitHub 7af1c04493 Bump debian base to 5.1.0 / 20210902 (#2413) 2021-09-28 23:16:00 +02:00
Otto WinterandGitHub 855c98d815 Fix tuya cover lint checks (#2414) 2021-09-28 23:15:52 +02:00
Otto WinterandJesse Hills 4579f78bf9 Merge pull request from GHSA-48mj-p7x2-5jfm 2021-09-28 15:39:41 +13:00
Otto WinterandJesse Hills cb5efc1c42 Bump aioesphomeapi to 9.1.1 (#2350) 2021-09-28 15:35:03 +13:00
Otto WinterandGitHub be965a60eb Merge pull request from GHSA-48mj-p7x2-5jfm
* Move web_server auth to web_server_base

* Fix

* Fix

* Add middleware system
2021-09-28 13:53:38 +13:00
Otto WinterandGitHub 45940b0514 Dashboard node import and render in browser (#2374) 2021-09-27 10:10:53 -07:00
Otto WinterandGitHub 97e76d64d6 Re-enable TCP nodelay for ESP32 (#2390) 2021-09-27 11:40:28 +02:00
Otto WinterandGitHub 5342edf04a Misc fixes for esp-idf (#2386) 2021-09-25 10:05:32 +02:00
Otto WinterandGitHub d344b1ca0e Fix arduino esp32 wifi v2 (#2389) 2021-09-25 10:04:57 +02:00
Otto WinterandGitHub 278863d027 Fix some issues with wifi driver after IDF refactor (#2387) 2021-09-25 09:16:32 +02:00
Otto WinterandGitHub 8503e08ee6 Fix InterruptLock on ESP-IDF (#2388) 2021-09-25 09:14:07 +02:00
Otto WinterandGitHub aec02afcdc Fix clang-tidy header filter (#2385)
* Fix clang-tidy header filter

* Allow private members

* Fix clang-tidy detections

* Run clang-format

* Fix remaining detections

* Fix graph

* Run clang-format
2021-09-24 18:02:28 +02:00
Otto WinterandGitHub a27a884191 Add missing MockObj operators (#2378) 2021-09-23 11:53:10 +02:00
Otto WinterandGitHub b398d826c1 Fix two i2c error code return errors (#2375) 2021-09-22 20:07:43 +02:00
Otto WinterandGitHub 11daabc9c2 Fix docker pio settings not applied (#2370) 2021-09-22 10:32:39 +02:00
Otto WinterandGitHub bbac1534a3 Fix ESP8266 preferences not set up (#2362) 2021-09-21 21:59:11 +02:00
Otto WinterandGitHub 24f445dade Fix src_filter in platformio.ini after src_dir change (#2353) 2021-09-21 16:37:13 +12:00
Otto WinterandGitHub 7c884329eb Fix MDNS not registered (#2359) 2021-09-21 16:34:56 +12:00
Otto WinterandGitHub 250bf3f054 CI cache only restore from direct matches (#2351) 2021-09-20 13:14:05 +02:00
Otto WinterandGitHub e65a7d887f Bump aioesphomeapi to 9.1.1 (#2350) 2021-09-20 12:02:37 +02:00
ac0d921413 ESP-IDF support and generic target platforms (#2303)
* Socket refactor and SSL

* esp-idf temp

* Fixes

* Echo component and noise

* Add noise API transport support

* Updates

* ESP-IDF

* Complete

* Fixes

* Fixes

* Versions update

* New i2c APIs

* Complete i2c refactor

* SPI migration

* Revert ESP Preferences migration, too complex for now

* OTA support

* Remove echo again

* Remove ssl again

* GPIOFlags updates

* Rename esphal and ICACHE_RAM_ATTR

* Make ESP32 arduino compilable again

* Fix GPIO flags

* Complete pin registry refactor and fixes

* Fixes to make test1 compile

* Remove sdkconfig file

* Ignore sdkconfig file

* Fixes in reviewing

* Make test2 compile

* Make test4 compile

* Make test5 compile

* Run clang-format

* Fix lint errors

* Use esp-idf APIs instead of btStart

* Another round of fixes

* Start implementing ESP8266

* Make test3 compile

* Guard esp8266 code

* Lint

* Reformat

* Fixes

* Fixes v2

* more fixes

* ESP-IDF tidy target

* Convert ARDUINO_ARCH_ESPxx

* Update WiFiSignalSensor

* Update time ifdefs

* OTA needs millis from hal

* RestartSwitch needs delay from hal

* ESP-IDF Uart

* Fix OTA blank password

* Allow setting sdkconfig

* Fix idf partitions and allow setting sdkconfig from yaml

* Re-add read/write compat APIs and fix esp8266 uart

* Fix esp8266 store log strings in flash

* Fix ESP32 arduino preferences not initialized

* Update ifdefs

* Change how sdkconfig change is detected

* Add checks to ci-custom and fix them

* Run clang-format

* Add esp-idf clang-tidy target and fix errors

* Fixes from clang-tidy idf round 2

* Fixes from compiling tests with esp-idf

* Run clang-format

* Switch test5.yaml to esp-idf

* Implement ESP8266 Preferences

* Lint

* Re-do PIO package version selection a bit

* Fix arduinoespressif32 package version

* Fix unit tests

* Lint

* Lint fixes

* Fix readv/writev not defined

* Fix graphing component

* Re-add all old options from core/config.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-20 11:47:51 +02:00
Otto WinterandGitHub 2d7f8b3bdf Install python requirements after apt ones for better caching (#2349)
* Install python requirements after apt ones for better caching

* Fix buildkit caching works differently
2021-09-20 10:31:48 +02:00
Otto WinterandGitHub 5e345783bd Fix docker release deploy push flag (#2348) 2021-09-20 09:55:18 +02:00
Otto WinterandGitHub fff5ba03c2 Also run docker CI when requirements change (#2347) 2021-09-20 09:29:09 +02:00
Otto WinterandGitHub 272ceadbb0 Redo docker build system with buildkit+multi-stage and cache pio packages (#2338) 2021-09-20 09:07:38 +02:00
Otto WinterandJesse Hills 7c17e72db4 Add readv and writev for more efficient API packets (#2342) 2021-09-20 14:16:56 +12:00
Otto WinterandGitHub a990898256 Add readv and writev for more efficient API packets (#2342) 2021-09-20 10:33:10 +12:00
Otto WinterandGitHub 2e49039c01 Reduce stale/lock gh actions interval (#2341) 2021-09-19 14:20:35 +02:00
Otto WinterandJesse Hills a328fff5a7 Fix api noise explicit reject (#2297) 2021-09-14 23:07:07 +12:00
Otto WinterandJesse Hills 233783c76c API Noise logging (#2298) 2021-09-14 23:07:07 +12:00
Otto WinterandJesse Hills 39a18fb358 Bump platformio to 5.2.0 (#2291) 2021-09-14 23:07:02 +12:00
Otto WinterandGitHub dd3f2f6c7e Fix api noise explicit reject (#2297) 2021-09-14 11:53:49 +02:00
Otto WinterandGitHub 5f61897bec Add stale/lock bots (#2299) 2021-09-14 10:35:37 +02:00
Otto WinterandGitHub 855112dfc3 API Noise logging (#2298) 2021-09-14 09:53:37 +02:00
Otto WinterandGitHub b9767bdcbc Bump platformio to 5.2.0 (#2291) 2021-09-13 21:16:13 +02:00
Otto WinterandJesse Hills e92a9d1d9e Fix API socket issues (#2288)
* Fix API socket issues

* Fix compile error against beta

* Format
2021-09-14 07:13:00 +12:00
Otto WinterandGitHub ed7983af41 Fix API socket issues (#2288)
* Fix API socket issues

* Fix compile error against beta

* Format
2021-09-13 18:52:53 +02:00
Otto WinterandGitHub a2d2863c72 Revert "Bump tzlocal from 2.1 to 3.0 (#2154)" (#2289)
This reverts commit e0cff214b2.
2021-09-13 17:22:24 +02:00
a4867a00ea Activate owning-memory clang-tidy check (#1891)
* Activate owning-memory clang-tidy check

* Lint

* Lint

* Fix issue with new NfcTag constructor

* Update pointers for number and select

* Add back the NOLINT to display buffer

* Fix merge

* DSMR fixes

* Nextion fixes

* Fix pipsolar

* Fix lwip socket

* Format

* Change socket fix

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-13 11:31:02 +02:00
Otto WinterandGitHub e5051eefbc API encryption (#2254) 2021-09-09 09:22:47 +12:00
2790d72bff Convert API to use sockets (#2253)
* Socket component

* Lint

* Lint

* Fix esp8266 missing INADDR_ANY

* API convert to sockets and frame helper

* Fix compile error

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-09-08 12:52:57 +02:00
Otto WinterandGitHub e44f447d85 Fix socket not setting callbacks early enough (#2260) 2021-09-08 12:02:32 +02:00
Otto WinterandGitHub f924e80f43 Socket component (#2250) 2021-09-08 15:41:42 +12:00
Otto WinterandGitHub dba502c756 Logger prevent recursive logging (#2251) 2021-09-08 08:57:20 +12:00