/termux-api

Getting information about Android system via Termux:API

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

English | Русский

Termux API Integration Component for Home Assistant

hacs_badge release version maintainer

This component allows, when running Home Assistant on Android via Termux, to display various metrics through Termux:API.

Minimum requirements for the component to work

  • Home Assistant running inside Termux
  • Termux:API package installed (pkg install termux-api)

What's supported in the integration

termux-battery-status

  • Health
  • Percentage
  • Plug
  • Status
  • Temperature

termux-brightness

  • Adjusting the range from 0 to 255
  • Auto-brightness on/off (Selected through turning the light source on/off)

termux-volume

Adjusting the following volumes:

  • alarm
  • music
  • notification
  • ring
  • system
  • call

termux-camera-info/termux-camera-photo

  • Taking photos with the available front/back smartphone camera
  • Stream on/off

Implemented photo retrieval with updates every 10 seconds. When turned off, the photo is replaced by a placeholder, which if necessary, can be set to replace at custom_components/termux_api/cam/placeholder.jpg

Ссылки