This component allows, when running Home Assistant on Android via Termux, to display various metrics through Termux:API.
- Home Assistant running inside Termux
- Termux:API package installed (
pkg install termux-api
)
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