ADB Intent Control Fails with result=2

Hello,

I am trying to control the Hue Essentials app via ADB intents, but all commands are failing with result=2. I have confirmed my Premium subscription is active in the app.

  • Device Model: [Sony Bravia 4K VH2]
  • Hue Essentials Version: [4.2.7]

Summary of the Issue: When I send a broadcast intent like START_ENTERTAINMENT or STOP_ENTERTAINMENT, the command is received by the app but is rejected. The adb log consistently shows Broadcast completed: result=2. Manually starting entertainment sync from within the app works perfectly.

Evidence and Troubleshooting Steps:

  1. I have confirmed my Premium license is active in the app’s settings.
  2. I have cleared the app cache, cleared storage, and reinstalled the app multiple times.
  3. I have confirmed my BRIDGE_ID and GROUP_ID are correct.
  4. The exact command I am using is:adb shell am broadcast -a com.superthomaslab.hueessentials.START_ENTERTAINMENT -e BRIDGE_ID <my_bridge_id> -e GROUP_ID <my_group_id> -e ENTERTAINMENT_PROGRAM sync com.superthomaslab.hueessentials
  5. The output is always:Broadcasting: Intent { ... } Broadcast completed: result=2

This happens for all Hue Essentials intents (START_SCENE, TOGGLE_GROUP, etc.). It appears to be a fundamental prerequisite check that is failing inside the app’s code.

Could you please tell me what the internal meaning of result=2 is?

Oh, and I have had this working previously, I just don’t know why it’s not working anymore.

Thank you for your help.