Skip to content

feat: Add support for SberTV, SberBoom, and vacuum cleaners#31

Open
NikolayGusev-astra wants to merge 4 commits intoaltfoxie:mainfrom
NikolayGusev-astra:main
Open

feat: Add support for SberTV, SberBoom, and vacuum cleaners#31
NikolayGusev-astra wants to merge 4 commits intoaltfoxie:mainfrom
NikolayGusev-astra:main

Conversation

@NikolayGusev-astra
Copy link
Copy Markdown

Summary

Adds support for devices invisible to the integration: SberTV, SberBoom speakers, and vacuum cleaners (e.g. Deerma via Sber cloud).

Root Cause

The integration only fetched devices from /device_groups/tree, which returns IoT devices assigned to rooms (lights, sockets). SberTV, SberBoom, and vacuums are only in /devices and were ignored.

Changes

Core fix: api.py

  • Added get_all_devices()GET /devices
  • update_devices_cache() merges devices from both endpoints

New platforms

Platform File Devices Features
media_player media_player.py SberTV, SberBoom Power on/off, online/standby state
binary_sensor binary_sensor.py SberBoom speakers Online status, sound detector
vacuum vacuum.py Deerma/Xiaomi via Sber Start, pause, dock, battery

Updated

  • const.pyMEDIA_PLAYER_TYPES, SPEAKER_TYPES, VACUUM_TYPES
  • __init__.py — registered 3 new platforms
  • manifest.json — relaxed Authlib pin, added httpx

Tested devices

  • SberBoom: dt_boom_lw — online, detector, position
  • SberTV: dt_salute_tv_xl — on_off, online, gamepad
  • Deerma vacuum: cat_vacuum_cleaner_m — battery, status, command

Notes

  • SberBoom cloud API has no volume/media controls — only status sensors
  • Local WebSocket on port 20000 (_staros._tcp) discovered but uses proprietary protocol — future work

NikolayGusev-astra and others added 4 commits March 15, 2026 12:55
- Fix API to fetch devices from /devices endpoint (not just tree)
- Add SberTV media_player entity (on/off)
- Add SberBoom binary_sensor (online, detector)
- Add Deerma vacuum entity (start/pause/dock, battery)
- Add probe scripts for local WebSocket discovery
Added information about Sber columns and TVs.
Copy link
Copy Markdown
Contributor

@Mityushin Mityushin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with little description text changes

"name": "SberDevices",
"codeowners": [
"@altfoxie"
"@NikolayGusev-astra"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove before merge

Интеграция умных устройств от SberDevices в Home Assistant.
Написано очень плохо, для личных нужд, предоставлено как есть.

Дописано не менее плохо, добавлены колонки сбера и телевизоры
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove before merge

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants