Commit Graph

84 Commits

Author SHA1 Message Date
OdileVidrine 9c95e570c7
Check permissions (#6255) 2024-03-11 13:33:31 +13:00
Kamil Trzciński d582cfa30a
image: allow the image to by auto-loaded by animation (#5139) 2023-12-20 10:33:05 +00:00
Clyde Stubbs df5394d51c
Suppress full config output of "esphome config" when -q option is used. (#5852) 2023-12-05 08:52:02 +09:00
J. Nick Koston c795dbde26
dashboard: split dashboard web server code into its own module (#5770) 2023-11-15 21:34:09 +00:00
Patrick ZAJDA 4ef2e28496
Add basic shell autocompletion using argcomplete (#5618) 2023-11-06 09:27:14 +13:00
Jesse Hills 87395d259e
Allow "--device SERIAL" on cli to flash only via serial (#5351) 2023-09-06 20:22:39 -05:00
Jesse Hills 72f29b1283
Allow upload command to flash file via serial (#5274) 2023-09-07 10:15:54 +12:00
Kuba Szczodrzyński a9630ac847
Support for LibreTiny platform (RTL8710, BK7231 & other modules) (#3509)
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
Co-authored-by: Sam Neirinck <git@samneirinck.com>
Co-authored-by: David Buezas <dbuezas@users.noreply.github.com>
Co-authored-by: Stroe Andrei Catalin <catalin2402@gmail.com>
Co-authored-by: Sam Neirinck <github@samneirinck.be>
Co-authored-by: Péter Sárközi <xmisterhu@gmail.com>
Co-authored-by: Hajo Noerenberg <hn@users.noreply.github.com>
2023-09-05 10:16:08 +12:00
Jesse Hills bec53f97a2
Attempt to fix secret blurring (#5326) 2023-09-02 08:41:52 +12:00
Graham Brown 89c5298bb9
Streamer mode (#5119) 2023-07-21 08:47:37 +12:00
Jesse Hills ac05495781
Dont do mqtt ip lookup if `use_address` has ip address (#5096)
* Dont do mqtt ip lookup id `use_address` is in config

* Fix after actually testing =)
2023-07-12 19:19:04 -05:00
Jesse Hills ebad407586
Fix version printing not breaking yaml parsing (#4904) 2023-05-28 21:18:01 +00:00
Jesse Hills baa08160bb
Print ESPHome version when running commands (#4883) 2023-05-23 21:56:15 +00:00
Markus c5a45645a6
allow to use MQTT for discovery of IPs if mDNS is no option (#3887)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-05-17 16:29:56 +12:00
dependabot[bot] 9c9bc58c16
Bump pylint from 2.16.4 to 2.17.2 (#4650)
* Bump pylint from 2.16.4 to 2.17.2

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.16.4 to 2.17.2.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](https://github.com/PyCQA/pylint/compare/v2.16.4...v2.17.2)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add return 0 to run_miniterm

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-04-03 23:55:00 +00:00
Jesse Hills e847766514
Dump full parsed config to json-config api call (#4373) 2023-02-01 16:59:51 +13:00
dependabot[bot] de352c1609
Bump esptool from 3.3.1 to 4.4 (#4071)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-12-05 10:08:22 +13:00
Maurice Makaay c5f59fad62
Fix regressed 'esphome run' (#4094) 2022-11-27 08:17:07 +13:00
Jesse Hills b089a4ea80
Allow manually specifying binary file to OTA (#4054) 2022-11-25 13:47:02 +13:00
Jesse Hills 6153bcc6ad
Initial Support for RP2040 platform (#3284)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-20 16:50:39 +13:00
Jesse Hills 2e4645310b
Also rename yaml filename with rename command (#3447) 2022-05-09 19:16:46 +12:00
Jesse Hills 64fb39a653
Add help text to rename command (#3442) 2022-05-09 10:18:24 +12:00
Jesse Hills 757b98748b
Add "esphome rename" command (#3403)
* Add "esphome rename" command

* Only open file once

* Update esphome/__main__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Add final return

* Use match.group consistently

* Validate name characters

* Add whitespace to regex so it is only replacing exact match

* Validate yaml config file after manipulation

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-21 22:08:01 -07:00
Jesse Hills 40e06c9819
Raise minimum python version to 3.8 (#3176) 2022-02-10 09:55:11 +01:00
Jesse Hills 5c22065135
Change most references from hassio to ha-addon (#3178) 2022-02-09 23:46:20 +13:00
Martin 16e7bd0388
fix multi-line comment warning/error (#2891) 2021-12-13 19:15:22 +01:00
Jesse Hills 7e8012c1a0
Allow specifying the dashboard bind address (#2787) 2021-11-25 07:59:32 +13:00
cvwillegen b386284180
Ignore secrets.yaml on command line (#2715) 2021-11-15 20:06:55 +01:00
Stefan Agner b9e5c7eb35
Autodetect flash size (#2615) 2021-10-23 13:25:46 +02:00
Otto Winter 5425e45851
Only show timestamp for dashboard access logs (#2540) 2021-10-18 08:01:51 +13:00
Jesse Hills 0991ab3543
Allow downloading all bin files from backend in dashboard (#2514)
Co-authored-by: Otto Winter <otto@otto-winter.com>
2021-10-17 19:54:09 +13:00
Otto Winter 8be4086224
Always upload using esptool (#2433) 2021-10-04 16:59:15 +02:00
Otto Winter 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
dependabot[bot] dbb195691b
Bump pylint from 2.10.2 to 2.11.1 (#2334)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Otto winter <otto@otto-winter.com>
2021-09-19 19:22:28 +02:00
Otto Winter 855112dfc3
API Noise logging (#2298) 2021-09-14 09:53:37 +02:00
Oxan van Leeuwen 3aa107142b
Only try compat parsing after regular parsing fails (#2269) 2021-09-13 09:37:11 +02:00
Oxan van Leeuwen d436409153
Support multiple configuration directories for update-all subcommand (#1925) 2021-08-11 17:21:57 +12:00
Stefan Agner e5366dbbe7
Add deassert_rts_dtr option to force RTS/DTR low when using miniterm (#2089) 2021-08-11 07:55:36 +12:00
Otto Winter 1f42d32eb5
Fix some issues with deprecated argv syntax detection (#2127) 2021-08-10 13:27:21 +12:00
Oxan van Leeuwen fd4b7d4588
Don't try compat parsing for "esphome version" (#1966) 2021-07-06 10:17:36 +12:00
Otto Winter 2cb3015a28
Compat argv parsing improvements (#1952) 2021-06-23 20:27:08 +02:00
Franck Nijhof 607c3ae651
Fix update-all from dashboard (#1924) 2021-06-17 05:39:04 +12:00
Guillermo Ruffino 24ba9eba46
fixes compatibility with esphome cfg vscode (#1911) 2021-06-15 20:20:24 +12:00
Oxan van Leeuwen 33625e2dd3
CLI user experience improvements (#1805)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2021-06-08 11:14:12 +12:00
Otto Winter d4686c0fb1
Introduce new async-def coroutine syntax (#1657) 2021-05-17 17:14:15 +12:00
Otto Winter 99f14e03d4
Fix colorlog removing colors and refactor color code (#1671) 2021-04-08 13:58:01 +02:00
Otto Winter d92c8ccadf
Raise minimum python version to 3.7 (#1673) 2021-04-08 13:57:29 +02:00
Guillermo Ruffino d5cf4b7eac
Improve error checking: too many component id candidates (#1570)
* add error too many candidates

* Improve error checking of ids
2021-03-07 19:59:32 -03:00
Guillermo Ruffino 69879920eb
add-black (#1593)
* Add black

Update pre commit

Update pre commit

add empty line

* Format with black
2021-03-07 16:03:16 -03:00
Nikolay Vasilchuk e42ce64127
Fixed logger broken by colorama (#1385) 2020-11-19 19:39:16 -03:00