Contents of the docs
Blackview Tab90 Home Assistant Kiosk · Docs
Usage
Control the Tab90 wall panel from Home Assistant: Kite's MQTT entities, commands, brightness by time of day, leaving Kite and renaming devices cleanly.
On this page
Day to day the tablet is just a dashboard. Home Assistant controls it over MQTT: Kite registers itself as a device via MQTT discovery, with entities named after the panel name from step 6.
Entities
| Entity | Purpose |
|---|---|
number.<name>_brightness |
screen brightness |
number.<name>_volume |
volume |
switch.<name>_screen |
screen on/off |
switch.<name>_screensaver |
Kite's screen saver |
switch.<name>_fab |
show or hide Kite's button at the edge |
button.<name>_reload |
reload the page |
button.<name>_navigate_home |
back to the start page |
button.<name>_clear_cache |
clear the WebView cache |
text.<name>_navigate_to |
open another URL |
binary_sensor.<name>_dashboard |
connection to the dashboard (Kite's monitor) |
binary_sensor.<name>_motion |
motion (only with motion detection, off in the setup) |
sensor.<name>_current_url, _app_version, _ip_address, _ram_usage, _uptime, _battery |
sensors |
<name> is the panel name in lower case with underscores, e.g. walldisplay_wohnzimmer.
Brightness by time of day
automation:
- alias: Wall panel dimmer in the evening
triggers:
- trigger: time
at: "22:00:00"
actions:
- action: number.set_value
target:
entity_id: number.walldisplay_wohnzimmer_brightness
data:
value: 20Commands over MQTT
Kite takes commands on kite-<serial>/command/set. Most of them also exist as entities; the most useful extra is
evaluate_js, which runs JavaScript in the open page.
action: mqtt.publish
data:
topic: kite-<serial>/command/set
payload: '{"action":"evaluate_js","value":"location.reload()"}'Tip
The release build of Kite has no remote debugging. To measure something in the page, write the result into the URL
with evaluate_js, e.g. location.replace(location.pathname + '?vh=' + innerHeight), and read it from the
current_url sensor.
Leaving Kite
The button at the edge opens Kite's side panel with its settings. Alternatively turn on the "Volume-button gesture" under Resilience in Kite (press the volume key at least three times). From the Mac:
adb shell am force-stop dev.kite.aos
adb shell am start -a android.settings.SETTINGSBack to Kite:
adb shell am force-stop com.android.settings
adb shell am start -n dev.kite.aos/presentation.feature.host.source.host.HostActivityImportant
Do not leave the Settings app open behind Kite. If Kite crashes, Android brings Settings to the front instead of restarting Kite.
Renaming or setting up a device again
Kite derives the MQTT client ID from the serial number (kite-<serial>) and the entity IDs from that
(kite-<serial>_brightness …). If you set a tablet up again under a new name, Home Assistant recognizes it as the old
device and the entities keep their old names. So first:
- Home Assistant → Settings → Devices & services → MQTT → open the device
- ⋮ → Delete
Home Assistant also clears the retained discovery messages on the broker. This only works once Kite on the tablet no
longer publishes. Then run ./setup.sh with the new name.
Hiding header and sidebar
Kite shows Home Assistant with header and sidebar. For a pure dashboard use kiosk-mode from HACS, e.g. switched on by the wall panel's user name.