You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/websocket.md
-60Lines changed: 0 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -461,66 +461,6 @@ The server will respond with a result message containing the current registered
461
461
}
462
462
```
463
463
464
-
## Fetching camera thumbnails
465
-
466
-
_Introduced in Home Assistant 0.69._
467
-
468
-
:::caution Deprecated
469
-
This websocket command was depreciated in Home Assistant Core [0.107](https://www.home-assistant.io/blog/2020/03/18/release-107/) and will be removed in a future release. Until then it will result in a `WARNING` entry in the user's log.
470
-
:::
471
-
472
-
Return a b64 encoded thumbnail of a camera entity.
473
-
474
-
```json
475
-
{
476
-
"id": 19,
477
-
"type": "camera_thumbnail",
478
-
"entity_id": "camera.driveway"
479
-
}
480
-
```
481
-
482
-
The server will respond with a result message containing the thumbnail.
483
-
484
-
```json
485
-
{
486
-
"id": 19,
487
-
"type": "result",
488
-
"success": true,
489
-
"result": {
490
-
"content_type": "image/jpeg",
491
-
"content": "<base64 encoded image>"
492
-
}
493
-
}
494
-
```
495
-
496
-
## Fetching media player thumbnails
497
-
498
-
_Introduced in Home Assistant 0.69._
499
-
500
-
Fetch a base64 encoded thumbnail picture for a media player.
501
-
502
-
```json
503
-
{
504
-
"id": 19,
505
-
"type": "media_player_thumbnail",
506
-
"entity_id": "media_player.living_room"
507
-
}
508
-
```
509
-
510
-
The server will respond with the image encoded via base64.
511
-
512
-
```json
513
-
{
514
-
"id": 19,
515
-
"type": "result",
516
-
"success": true,
517
-
"result": {
518
-
"content_type": "image/jpeg",
519
-
"content": "<base64 encoded image>"
520
-
}
521
-
}
522
-
```
523
-
524
464
## Pings and Pongs
525
465
526
466
The API supports receiving a ping from the client and returning a pong. This serves as a heartbeat to ensure the connection is still alive:
0 commit comments