Skip to content

Getting information about Android system via Termux:API

License

Notifications You must be signed in to change notification settings

Vova-SH/termux-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Ссылки