Commit Graph

21 Commits

Author SHA1 Message Date
J. Nick Koston 4a21cd9d47
Adjust zeroconf ServiceInfo query timeout to 3 seconds 2024-02-21 17:33:16 -07:00
Jesse Hills 127cbde2a2
Add missing timeout to "async_request" (#6267) 2024-02-21 17:51:06 -06:00
J. Nick Koston 7d5ebeda52
dashboard: Fix online status when api is disabled (#5792) 2023-11-21 13:16:06 +13:00
J. Nick Koston 214b419db2
dashboard: Use mdns cache when available if device connection is OTA (#5724)
* Use mdns or freshen cache when device connection is OTA

Since we already have a service browser running, we likely
already know the IP of the deivce we want to connect to so
we can replace OTA with the address to avoid the esphome
app having to look it up again

* isort

* Fix zeroconf name resolution refactoring error

HostResolver should get the type as the first arg instead
of the name

* no i/o

* tornado support native coros

* lint

* use new tornado start methods

* use new tornado start methods

* use new tornado start methods

* break

* lint

* lint

* typing, missing awaits

* io in executor

* missed one

* fix: missing if

* stale comment

* rename run_command to build_device_command since it does not actually run anything
2023-11-14 21:21:44 -05:00
J. Nick Koston 3363c8f434
Fix zeroconf name resolution refactoring error (#5725) 2023-11-10 22:55:21 +13:00
J. Nick Koston fce59819f5
Refactor dashboard zeroconf support (#5681) 2023-11-07 11:07:59 +13:00
Guillermo Ruffino eead33b6f2
update storage version from mdns (#5584) 2023-10-24 08:02:29 +13:00
J. Nick Koston 45879e3100
Fix legacy zeroconf record update method (#5294) 2023-08-29 17:25:43 +12:00
Jesse Hills ac6693f177
mDNS updates (#4399) 2023-02-09 10:25:44 +13:00
Jesse Hills c301ae3645
Add friendly_name to device (#4296) 2023-01-17 10:28:09 +13:00
Jesse Hills 01b7c4200e
Add network type to mdns service message (#3880) 2022-10-07 14:42:28 +13:00
Jesse Hills d220d41182
Bump python min to 3.9 (#3871) 2022-10-05 20:09:27 +13:00
Jesse Hills f1954df573
Fix zeroconf time comparisons (#2733)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-16 12:47:06 +13:00
Otto Winter 45940b0514
Dashboard node import and render in browser (#2374) 2021-09-27 10:10:53 -07:00
Jesse Hills b276ac0588
Simple time.sleep in place of threading wait due to upgraded zeroconf (#2307) 2021-09-15 16:39:13 +12:00
Otto Winter b9767bdcbc
Bump platformio to 5.2.0 (#2291) 2021-09-13 21:16:13 +02:00
Alex 4a6f1f150a
Fix runtime exception due to dict typing (#2243) 2021-09-06 14:48:28 +12:00
Jesse Hills ca12b8aa56
Move to use zeroconf library instead of inline copy (#2192) 2021-09-06 08:22:15 +12: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
Otto Winter 056c72d50d
Drop Python 2 Support (#793)
* Remove Python 2 support

* Remove u-strings

* Remove docker symlinks

* Remove from travis

* Update requirements

* Upgrade flake8/pylint

* Fixes

* Manual

* Run pyupgrade

* Lint

* Remove base_int

* Fix

* Update platformio_api.py

* Update component.cpp
2019-12-07 18:28:55 +01:00
Otto Winter 3d9301a0f7
Rename esphomeyaml to esphome (#426)
* Rename

* Update

* Add migration

* Fix

* Fix dashboard

* Change test

* Fixes

* Code cleanup

* Fix import order

* Update

* Automate docker builds

* Shellcheck
2019-02-13 16:54:02 +01:00