Files
homepage/docs/widgets/services/esphome.md
Juan Ignacio Sierra 2ee14eb94b
Some checks failed
Docker / Linting Checks (push) Has been cancelled
Docs / Linting Checks (push) Has been cancelled
Docker / Docker Build & Push (push) Has been cancelled
Docs / Test Build (push) Has been cancelled
Docs / Build & Deploy (push) Has been cancelled
Enhancement: support ESPHome widget authentication (#3846)
* Added cookie support for auth on ESPHome widget

* Lint

* Use credentialedProxyHandler instead

---------

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
2024-08-13 07:40:42 -07:00

830 B

title, description
title description
ESPHome ESPHome Widget Configuration

Learn more about ESPHome.

Show the number of ESPHome devices based on their state.

Allowed fields: ["total", "online", "offline", "offline_alt", "unknown"] (maximum of 4).

By default ESPHome will only mark devices as offline if their address cannot be pinged. If it has an invalid config or its name cannot be resolved (by DNS) its status will be marked as unknown. To group both offline and unknown devices together, users should use the offline_alt field instead. This sums all devices that are not online together.

widget:
  type: esphome
  url: http://esphome.host.or.ip:port
  key: myesphomecookie # only if auth enabled, get the value from a request from the frontend e.g. `authenticated=myesphomecookie`