Commit graph

99 commits

Author SHA1 Message Date
Kyle Cascade
c35240ca32
Remove the choice for MQTT logging if it is disabled (#7723) 2024-11-11 14:13:43 +13:00
David Woodhouse
2f77d31690
OTA: Fix IPv6 and multiple address support (#7414)
Some checks failed
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Create common environment (push) Waiting to run
CI / Check black (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
YAML lint / yamllint (push) Has been cancelled
2024-11-08 16:38:13 +13:00
Pieter Viljoen
11e155d866
Enable verbose mode from env ESPHOME_VERBOSE or --verbose (#6987) 2024-08-22 12:58:43 +12:00
tomaszduda23
acaec41bb7
Remove outdated version block (#7177) 2024-08-06 11:40:34 +12:00
Jesse Hills
b3728697cc
Remove deprecated argument parser (#7151)
* Remove deprecated argument parser

* Add back removed argcomplete line
2024-07-29 03:13:57 -05:00
Jesse Hills
e64709c37e
[code-quality] Organise core imports (#7149) 2024-07-29 14:07:44 +12:00
Jesse Hills
adfec578cf
Add `--version` handler to cli (#7150) 2024-07-28 20:13:09 -05:00
Alex Cortelyou
b32078a5fe
Prevent rename from deleting new config (#7104) 2024-07-19 10:04:11 +12:00
Jesse Hills
1a242f94db
[host] Execute host program when using run command (#6897) 2024-06-12 09:20:46 +00:00
Markus
080f8bc86e
Fix Upload from Dashboard with MQTT discovery. (#6774)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-19 20:33:20 +00:00
Keith Burzinski
f46c499c4e
Separate OTABackend from OTA component (#6459)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-16 14:01:09 +12:00
Jesse Hills
636037cec1
[core] Fix minor formatting issues (#6738) 2024-05-14 17:01:07 +12:00
Matt Quigley
e7c1ddb452
patch esphome cli to skip mqtt based device discovery if --device option is specified (#6371)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-29 07:57:11 +12:00
Ulrich
9ea442f328
Fix upload command. MQTT user and password is missing from configuration. #5093 (#5766)
Co-authored-by: ulrich <u.martiensen@umartiensen.de>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-29 07:56:13 +12:00
Peter Zich
7eb524f920
Add "log" alias for "logs" command (#6519) 2024-04-12 15:46:59 +12:00
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