mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-28 15:27:36 +00:00
824 B
824 B
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class | ha_qa_scale | redirect_from | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
page | Websocket Connections Sensor | Instructions on how to count connected clients within Home Assistant. | 2019-03-20 10:00 | true | false | true | true | home-assistant.png | Utility | 0.33 | Local Push | internal |
|
The websocket_api
sensor platform shows how many clients are connected to the stream API.
{% linkable_title Configuration %}
To add the connected clients to your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: websocket_api
{% linkable_title Note %}
This replaces the previous api_streams
sensor.