Skip to content

Releases

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 13:35
08d6e7c

What's Changed

New Contributors

Full Changelog: v0.7.3...v0.8.0

v0.8.0-beta2 (Beta)

v0.8.0-beta2 (Beta) Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 02 Nov 10:06
4059f34

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 wake uses the same wake lock. It used to go through the accessibility service, where it never had a route.
  • state/screen reports dreaming (optional; older APKs omit it).
  • The media player leaves off when the screensaver ends or the stick wakes from sleep. Before, it stayed off until the next app launch.
  • Media commands on Fire OS 6.7 now go to the app Current App reports.
  • Docs: cmd/power sleep needs 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)

v0.8.0-beta1 (Beta) Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Nov 17:28
5eac96e

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 off after the idle timeout following a reboot (#41).

Testing

Install, then Re-provision from the integration, and run the checklist in #61.

v0.7.3

Choose a tag to compare

@github-actions github-actions released this 31 Oct 14:58
6badfe1

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.*_playing now uses the same per-app rules as the media player, so it agrees with it. For example, Jellyfin now shows as playing through its audio_state fallback (#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

  • The app's header now shows the installed version (#58, requested in #45).

Known issues

  • "Current App" and the HOME/D-pad keys don't work on Fire OS 6 (1st-gen Fire TV Stick 4K and older): Fire OS doesn't start the app's accessibility service. Diagnosis is in progress (#45).
  • ADB provisioning on Google TV needs adb tcpip 5555 first (#41).

v0.7.2

Choose a tag to compare

@github-actions github-actions released this 30 Oct 22:31
cf73dab

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

  • "Current App" on Fire OS 6: v0.7.1 re-enables the accessibility service automatically. Confirmation from a Fire OS 6 stick is pending (#45).
  • ADB provisioning on Google TV needs adb tcpip 5555 first (#41).

v0.7.1

Choose a tag to compare

@github-actions github-actions released this 30 Oct 22:09
55e8f31

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 5555 first (#41).

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 30 Oct 19:51
92085e8

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 dreamx screensaver 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 only screen/volume were ever published. Playback, volume and mute now work (#45).
  • Fire OS 6 provisioning: cmd notification doesn'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_state when the app registers no media session.
  • Current app: launcher window echoes within 1 s of an app taking focus are ignored. ts is always present.
  • Stuck offline after reboot: the MQTT client ID is stable (fire2mqtt_<device_id>), and any state/* message counts as online.
  • Volume: state/volume is republished after every volume command and on system volume changes.
  • Next / previous: hidden when the active session can't skip (new optional actions field on state/playback).
  • Playback ts and 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

  • ADB provisioning on Google TV needs adb tcpip 5555 first, because Wireless debugging's TLS pairing isn't supported yet (#41).
  • "Current App" doesn't report on Fire OS 6 yet, pending diagnostics (#45).
  • state/device.fire_os carries the Android version, not the Fire OS version.

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 19:37
3e6c4e1

⚠️ 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 idle to off.
  • Custom state detection rules that return "standby" still work and are reported as off.

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_SETTINGS grant, Fire OS lists the listener as enabled but never binds it, so state/playback was never published and title, artist and play/pause stayed unknown. If that's you, run the two cmd notification commands 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

Choose a tag to compare

@github-actions github-actions released this 21 Jul 20:41
9880576

What's Changed

Full Changelog: v0.4.8...v0.5.0

v0.4.8

Choose a tag to compare

@github-actions github-actions released this 09 Jul 08:03
170fc38

What's Changed

Full Changelog: v0.4.7...v0.4.8