Contents of the docs
Blackview Tab90 Home Assistant Kiosk · Docs
Installation
Set up a Blackview Tab90 with setup.sh: requirements, kite.env, the seven steps up to the reboot test and how to switch over from Fully Kiosk.
On this page
Everything runs through one script: setup.sh. It guides you step by step, waits for input on the tablet and can be
restarted at any time. It recognizes finished steps and still applies everything cleanly again.
Requirements
- Mac with Homebrew. If
adbis missing, the script installsandroid-platform-tools. - USB data cable: charging-only cables do not work.
- Tablet on its charger or at least 30 % battery
- Home Assistant with an MQTT broker and an MQTT user for the wall panels
- a Home Assistant user for the wall panel
Download and start
git clone https://github.com/DasRed/blackview-tab90-homeassistant-kiosk.git
cd blackview-tab90-homeassistant-kiosk
cp kite.env.example kite.env
./setup.shBefore the first run, fill in your values in kite.env, see below.
The Kite APK is not part of the repository. On the first run the script downloads it from the
release kite-<version> into apk/ and
verifies the checksum. If a matching APK with its SHA256SUMS is already there, e.g. from your own
build, it uses that one.
kite.env
kite.env holds the Home Assistant address and the MQTT data. The file is shared by all tablets, ignored by Git and
never written by any script. If it is missing, or DASHBOARD_URL or MQTT_HOST is empty, setup.sh stops with a
hint. kite.env.example is the template:
| Name | Default | Description |
|---|---|---|
DASHBOARD_URL |
http://homeassistant.local:8123 |
start page in Kite, without a path the user's default dashboard opens |
MQTT_HOST |
homeassistant.local |
host or IP of the MQTT broker |
MQTT_PORT |
1883 |
port of the broker |
MQTT_USER |
empty | MQTT user |
Optionally it also holds the signing values for the Kite build.
Note
The MQTT password never ends up in a file. You enter it directly in Kite in step 6.
The seven steps
| Step | What happens | Your part |
|---|---|---|
| 1 | check adb, download and verify the Kite APK, read kite.env |
– |
| 2 | detect and check the tablet (device, firmware, battery, accounts) | developer options and USB debugging on, confirm the prompt |
| 3 | remove 118 apps, offer to remove apps you installed | answer the question about additional apps |
| 4 | install Kite | – |
| 5 | system settings, Kite as home app, remove the Blackview launcher | – |
| 6 | put the Kite configuration on the tablet | import it in Kite, MQTT password, resilience, sign in to Home Assistant |
| 7 | reboot test | wait |
Step 2: prepare the tablet
On the tablet in factory state:
- Go through the setup wizard up to the home screen, skip the Google account.
- Settings → About tablet → tap Build number 7 times.
- Settings → System → Developer options → turn on USB debugging.
- Connect the tablet to the Mac with a data cable and confirm "Allow USB debugging?".
Important
Only one Android device may be connected to the Mac, otherwise the script stops. If a Google account is signed in, the script recommends a factory reset first.
Step 6: set up Kite
The script puts Download/kite-config.json on the tablet and starts Kite. There:
- The permissions in the setup wizard are already granted → Next, confirm the dashboard URL → Finish.
- Open the settings (button at the edge) → Import configuration →
Download/kite-config.json. - Settings → MQTT: enter the password.
- Settings → Resilience: "Scheduled reload" on, hour 3.
- Sign in to Home Assistant with the wall panel user and pick the dashboard.
Then press Enter in the script. It checks that Kite runs on the system WebView and deletes the configuration file from the tablet again.
The script asks for the panel's name before that. It becomes the device name in Home Assistant and thus the prefix
of the entities, e.g. Walldisplay Wohnzimmer → number.walldisplay_wohnzimmer_brightness. Kite only allows
A-Z a-z 0-9 _ - . and spaces; the script rewrites umlauts.
Step 7: reboot test
Some missing system packages only show on the next boot. So the script reboots the tablet once and waits for the system and for Kite. If the tablet does not come up, it shows the crash of the system process and stops, see Troubleshooting.
Switching from Fully Kiosk
If the tablet runs Fully Kiosk so far:
- Turn off the kiosk lock in Fully.
- Settings → Security → Device admin apps → deactivate Fully. Otherwise it cannot be uninstalled and stays as a second launcher.
- Start
./setup.shand answer the question about additionally installed apps in step 3 withy.
Remove the Fully integration in Home Assistant yourself afterwards.
Logs
Every run writes a log to logs/setup-<date>.log, plus the device properties (getprop) and the Kite configuration
per tablet.
Undo
./setup.sh --restorebrings the removed system apps back and makes the Blackview launcher the home screen again. This only works while the tablet still boots. Otherwise a factory reset helps: tablet off, Volume up + Power → recovery → Wipe data/factory reset.