Repository navigation
Releases
v0.8.0
What's Changed
- Fire OS 6.7: usage-stats fallback for Current App, launcher fallback for HOME by @Harrypulvirenti in #61
- Add PNG icons for Android 7.1 (Fire OS 6) by @Harrypulvirenti in #63
- Restart the idle clock when the device comes back online by @Harrypulvirenti in #64
- Release v0.8.0-beta1 by @Harrypulvirenti in #65
- End the screensaver before launches and HOME, report dreaming on state/screen by @Harrypulvirenti in #67
- Release v0.8.0-beta2 by @Harrypulvirenti in #68
- Install the APK from the release matching the integration version by @Harrypulvirenti in #69
- Report Re-provision success or failure as a notification by @Harrypulvirenti in #70
- Add turn on/off to the media player entity by @ksmarty in #62
- Release v0.8.0 by @Harrypulvirenti in #71
New Contributors
Full Changelog: v0.7.3...v0.8.0
v0.8.0-beta2 (Beta)
Second beta for #45. Not offered by the HA update entity. Update the integration from HACS (beta versions on) and restart HA, then sideload the APK below: the idle-clock fix lives in the integration.
New since beta1
- Launches and HOME over the screensaver: Fire TV's screensaver (full-screen ads, photo slideshow) is drawn above every app, so apps launched from HA opened behind it. The APK now takes a short screen wake lock first, which should end the screensaver. Awaiting confirmation on hardware.
cmd/power wakeuses the same wake lock. It used to go through the accessibility service, where it never had a route.state/screenreportsdreaming(optional; older APKs omit it).- The media player leaves
offwhen the screensaver ends or the stick wakes from sleep. Before, it stayedoffuntil the next app launch. - Media commands on Fire OS 6.7 now go to the app Current App reports.
- Docs:
cmd/power sleepneeds Fire OS 7+.
Carried over from beta1
- Current App via Usage Access and HOME via the launcher on Fire OS 6.7, plus a "Blocked" accessibility status in the app
- Provisioning grants Usage Access
- PNG icons for Android 7.1
- Idle clock restarts when the device comes back online (#41)
Testing
See the checklist in #67.
v0.8.0-beta1 (Beta)
Beta for Fire OS 6.7 sticks (1st-gen Fire TV Stick 4K, AFTMM). Not offered by the HA update entity; sideload the APK below.
Fire OS 6.7
- Current App works again. Fire OS 6.7 refuses third-party accessibility services (
A11yAuthorizer … trust=false), so foreground-app detection now falls back to Usage Access. It checks about once a second, only while the accessibility service is blocked and the screen is on, and publishes only on change. - HOME works from HA through the launcher. BACK, MENU and D-pad can't be sent on these sticks, since a sideloaded app has no way to inject them without accessibility.
- The app shows it: Accessibility reads Blocked on the permissions card, with whether Usage Access covers Current App. At start the log prints one
Capabilities:line. - Provisioning grants Usage Access (
appops set … GET_USAGE_STATS allow). Manual installs: see docs/installing-apk.md. - Removed the 0.7.1 accessibility self-heal; it couldn't work on these devices.
Fixes
- Launcher and notification icons on Android 7.1 (Fire OS 6), which never had a usable icon.
- The media player now turns
offafter the idle timeout following a reboot (#41).
Testing
Install, then Re-provision from the integration, and run the checklist in #61.
v0.7.3
Fire2MQTT v0.7.3
Follow-ups from the Google TV retest and the Fire OS 6 reports. Update both the APK and the integration.
Fixes
- Playing sensor:
binary_sensor.*_playingnow uses the same per-app rules as the media player, so it agrees with it. For example, Jellyfin now shows as playing through itsaudio_statefallback (#57, #41). - Leaving the screensaver: pressing a key on Google TV's Ambient Mode brings an "off" player back to idle. Before, it stayed off because both screens counted as the home screen (#57, #41).
- Next / previous: hidden while no media session is active, for example on the home screen after a boot (#57, #41).
- Logging: each line is logged once instead of twice (#58).
Improvements
Known issues
v0.7.2
Fire2MQTT v0.7.2
A small follow-up to v0.7.1. Update the APK; the integration has no changes beyond the version.
Fixes
- Series names for video apps (e.g. HBO Max): when an app puts the series name only in its media session's description subtitle, Fire2MQTT now shows it under Media Artist, with the episode under Media Title. A subtitle that just repeats the title or album is ignored (#55, #45).
Known issues
v0.7.1
Fire2MQTT v0.7.1
A follow-up to v0.7.0. Update both the APK and the integration.
Fixes
- Current App on Fire OS 6 (1st-gen Fire TV Stick 4K
AFTMM,AFTN): the accessibility service could stay enabled in settings without Fire OS ever starting it, so the foreground app was never reported. The app now notices this a few seconds after starting and re-enables the service itself, with no ADB needed (#54, #45). - Setup dialogs: the manual install and grant-permissions steps showed "Translation error: UNCLOSED_TAG" instead of their instructions (#51, reported in #45).
- Media titles and series names: when an app leaves the standard title or artist empty, Fire2MQTT now falls back to the display title and subtitle that the system media UI shows. Apps that put the series name in the subtitle now show it under Media Artist (#52).
Known issues
- Some apps (Netflix, Hulu, Apple TV, Prime, and HBO's series name) publish no metadata, so there's nothing to show.
- ADB provisioning on Google TV needs
adb tcpip 5555first (#41).
v0.7.0
Fire2MQTT v0.7.0
Update both the APK and the integration. The HA update entity offers the new APK.
Android TV / Google TV support (#41)
- The Google TV launcher, the older Android TV launcher and the
dreamxscreensaver count as the home screen, so idle → off now works. - YouTube (
com.google.android.youtube.tv) and Prime Video (com.amazon.amazonvideo.livingroom) are added for Google TV. - Wording now says Android TV.
Fixes
- Fire OS 6 (1st-gen Fire TV Stick 4K
AFTMM,AFTN): the app crashed its publishing pipeline right after start (it called an Android 8 audio API), so onlyscreen/volumewere ever published. Playback, volume and mute now work (#45). - Fire OS 6 provisioning:
cmd notificationdoesn't exist on Android 7.1. ADB install and Re-provision now rebind the notification listener through the secure setting instead, and other apps' listeners are left alone (#49). - Media commands: play, pause, stop and skip go to the foreground app's MediaSession, so Cast no longer hijacks them after a pause.
cmd/power sleep: now works on Android 9+ (lock-screen global action).- Jellyfin / Plex: fall back to
audio_statewhen the app registers no media session. - Current app: launcher window echoes within 1 s of an app taking focus are ignored.
tsis always present. - Stuck offline after reboot: the MQTT client ID is stable (
fire2mqtt_<device_id>), and anystate/*message counts as online. - Volume:
state/volumeis republished after every volume command and on system volume changes. - Next / previous: hidden when the active session can't skip (new optional
actionsfield onstate/playback). - Playback
tsand position: no longer stale. - DPAD navigation works on older Fire OS / Android TV builds (focus-navigation fallback).
- Every command is logged to logcat for field debugging.
Known issues
v0.6.0
⚠️ Behavior change: standby is now off
Home Assistant has deprecated MediaPlayerState.STANDBY and will remove it, which would stop the media player entity from loading. The media player no longer reports standby:
- After the idle timeout on the home screen (default 10 minutes), the state now changes from
idletooff. - Custom state detection rules that return
"standby"still work and are reported asoff.
If an automation triggers on standby, change it to off. To tell "screen asleep" apart from "idle on the home screen", use binary_sensor.<device>_screen.
Thanks to @edouardkleinhans for the fix (#37).
Fixes
- Manual (sideloaded) installs now document the notification-listener bind step. With only the
WRITE_SECURE_SETTINGSgrant, Fire OS lists the listener as enabled but never binds it, sostate/playbackwas never published and title, artist and play/pause stayedunknown. If that's you, run the twocmd notificationcommands in docs/installing-apk.md, or press Re-provision in Home Assistant (#39, reported in #38).
Full changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- Port entry UX fix + Nuvio curated app + generic fallback rules by @Harrypulvirenti in #33
- Release v0.5.0 by @Harrypulvirenti in #35
Full Changelog: v0.4.8...v0.5.0
v0.4.8
What's Changed
- Fix ADB update timeout and Prime Video state flapping by @Harrypulvirenti in #30
- Release v0.4.8 by @Harrypulvirenti in #31
Full Changelog: v0.4.7...v0.4.8