Commit Graph
100 Commits
Author SHA1 Message Date
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
Otto WinterandGitHub 1b89174558 Store source package in Component for debugging (#2070) 2021-08-24 06:49:19 +12:00
Otto WinterandJesse Hills 1be9bac3a9 Fix native API log level enum values (#2151) 2021-08-16 12:32:48 +12:00
Otto WinterandGitHub 9b48ff5775 Fix native API log level enum values (#2151) 2021-08-16 11:57:50 +12:00
Otto WinterandGitHub 854f4a8896 Format dev temp idedata (#2142) 2021-08-10 11:14:04 +02:00
Otto WinterandGitHub 1f42d32eb5 Fix some issues with deprecated argv syntax detection (#2127) 2021-08-10 13:27:21 +12:00
Otto WinterandGitHub 5f27757039 Merge pull request #2123 from esphome/bump-1.20.4
1.20.4
2021-08-04 17:54:53 +02:00
Otto winter 532907219b Bump version to v1.20.4 2021-08-04 17:46:10 +02:00
Otto Winter eeaba74553 Fix external components not refreshing with default or high refresh time (#2122) 2021-08-04 17:46:10 +02:00
Otto Winter 29f0508dc2 Fix PID climate breaks when restoring old modes (#2086) 2021-08-04 17:46:08 +02:00
Otto WinterandStefan Agner 3ffa59f0cd Fix climate restore schema changed resulting in invalid restore (#2068)
Co-authored-by: Stefan Agner <stefan@agner.ch>
2021-08-04 17:46:08 +02:00
Otto WinterandGitHub 768c71830b Fix external components not refreshing with default or high refresh time (#2122) 2021-08-04 17:33:17 +02:00
Otto WinterandGitHub f751c3828e Fix MQTT light include (#2104)
Fixes https://github.com/esphome/issues/issues/2285
2021-08-01 12:33:10 +02:00
5c65f9f9ad Convert sensor_schema to use kwargs (#2094)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-08-01 12:21:32 +02:00
Otto WinterandGitHub 34e8979d40 Convert more code to async-def syntax (#2095) 2021-07-30 10:54:10 +12:00
Otto WinterandGitHub 16dbbfabc6 Add demo integration (#2085) 2021-07-29 11:50:55 +02:00
Otto WinterandGitHub af8d04818d Pull ESP32 Wifi fixes from arduino-esp32 (#2069) 2021-07-29 11:44:19 +02:00
Otto WinterandGitHub 31d6a54b06 Fix PID climate breaks when restoring old modes (#2086) 2021-07-28 21:23:41 +02:00
Otto WinterandGitHub 618cfd9ec5 Add sensor monetary device_class (#2083) 2021-07-28 15:34:18 +02:00
Otto WinterandJesse Hills 71ded24fce Fix MQTT climate custom fan modes without regular ones (#2071) 2021-07-27 09:43:05 +12:00
Otto WinterandGitHub b0a3891498 Fix MQTT climate custom fan modes without regular ones (#2071) 2021-07-27 07:46:13 +12:00
2a9e3d84fd Fix climate restore schema changed resulting in invalid restore (#2068)
Co-authored-by: Stefan Agner <stefan@agner.ch>
2021-07-26 15:19:50 +02:00
Otto WinterandJesse Hills e5afb1c4ea ESP32 ADC use esp-idf (#2024)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-07-20 17:09:57 +12:00
01a4b4e82f ESP32 ADC use esp-idf (#2024)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-07-20 17:05:56 +12:00
Otto WinterandJesse Hills f1e3ff2ed2 Improve external components error messages (#2026) 2021-07-19 08:28:58 +12:00
Otto WinterandJesse Hills 7787fa8f29 Dashboard disable assets caching (#2025) 2021-07-19 08:28:58 +12:00
Otto WinterandJesse Hills 70902029f8 GH Actions CI use GHCR (#2027) 2021-07-19 08:28:58 +12:00
Otto WinterandJesse Hills 4f9a56c884 Refactor docker build system and workflows (#2023) 2021-07-19 08:28:53 +12:00
Otto WinterandGitHub 06912b492f Improve external components error messages (#2026) 2021-07-16 10:23:08 +02:00
Otto WinterandGitHub 442e58b07a Dashboard disable assets caching (#2025) 2021-07-16 10:22:42 +02:00
Otto WinterandGitHub 799f04efc0 GH Actions CI use GHCR (#2027) 2021-07-15 21:51:52 +02:00
Otto WinterandGitHub cc7dbeada6 Refactor docker build system and workflows (#2023) 2021-07-15 21:30:04 +02:00
Otto WinterandGitHub 551e9c6111 Bang bang climate new mode meanings (#1996) 2021-07-12 22:56:55 +02:00
7ae611256a Improve climate mode code docs (#1995)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-07-10 11:23:04 +02:00
Otto WinterandGitHub d5278351da Rename master branch to release (#1976) 2021-07-02 15:42:36 +02:00
Otto WinterandJesse Hills 2bf70d7d00 Compat argv parsing improvements (#1952) 2021-06-24 12:49:45 +12:00
Otto WinterandJesse Hills 1d8c170f48 Add climate preset NONE again (#1951) 2021-06-24 12:49:45 +12:00
Otto WinterandJesse Hills 6009c7edb4 Disallow power_save_mode NONE if used together with BLE (#1950) 2021-06-24 12:49:44 +12:00
Otto WinterandJesse Hills e3f36c033e API raise minor version for climate changes (#1947) 2021-06-24 12:49:44 +12:00
Otto WinterandJesse Hills d4eb0f1655 Rework climate traits (#1941)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-06-24 12:49:36 +12:00
Otto WinterandGitHub 2cb3015a28 Compat argv parsing improvements (#1952) 2021-06-23 20:27:08 +02:00
Otto WinterandGitHub d0859a7d33 Add climate preset NONE again (#1951) 2021-06-23 20:25:19 +02:00
Otto WinterandGitHub bfca3f242a Disallow power_save_mode NONE if used together with BLE (#1950) 2021-06-22 10:53:10 +02:00
Otto WinterandGitHub c811141a4f API raise minor version for climate changes (#1947) 2021-06-21 22:02:18 +02:00
871c0ee2a5 Rework climate traits (#1941)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-06-21 21:17:01 +02:00
Otto WinterandJesse Hills f1dcf0f0b8 Improve config final validation (#1917) 2021-06-18 11:52:02 +12:00
Otto WinterandGitHub 2419bc3678 Improve config final validation (#1917) 2021-06-18 07:54:14 +12:00