question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Voice commands are no longer being sent

See original GitHub issue

Actual behaviour

When I click on the microphone button whether in the application or on the widget, it understands very well what I say to it but afterwards, I receive a notification with an http 500 code which tells me voice command update failed. And that, only with voice commands, all the other items are sent very well!

Expected behaviour

The command should send just as it did before.

Steps to reproduce

  1. Open the app and click on the microphone icon 2. Say something
  2. Notice that the command does not send!

Can you reproduce the issue in demo mode?

No

Environment data

Client

  • Android version: 12
  • Device model: OnePlus 8 Pro
  • App version : 2.20.0
  • Build flavor : Foss
  • Device language: French

Server

  • Server version: The latest of May 16, 2022
  • Reverse Proxy: ?
  • Authentication method : API Key

openHAB Cloud

  • Self hosted cloud or myopenhab.org: No
  • openHAB Cloud version : /
  • Authentication method : user and password

Logs

App log

Click to expand
-----------------------
Device information
Model: IN2023
Manufacturer: OnePlus
Brand: OnePlus
Device: OnePlus8Pro
Product: OnePlus8Pro_EEA
OS: 12
Display: 1080x2283, 3.0 density
Data usage policy: DataUsagePolicy(canDoLargeTransfers=true, loadIconsWithState=true, autoPlayVideos=true, canDoRefreshes=true), data saver: 1, battery saver: false
-----------------------

--------- beginning of events
05-16 19:24:22.839 18853 18853 I wm_on_top_resumed_lost_called: [25029421,org.openhab.habdroid.ui.LogActivity,topStateChangedWhenResumed]
05-16 19:24:22.850 18853 18853 I wm_on_paused_called: [25029421,org.openhab.habdroid.ui.LogActivity,performPause]
05-16 19:24:22.864 18853 18853 I wm_on_stop_called: [25029421,org.openhab.habdroid.ui.LogActivity,STOP_ACTIVITY_ITEM]
--------- beginning of main
05-16 19:24:26.281 18853 18853 D BackgroundTasksManager: onReceive() with intent org.openhab.habdroid.background.action.VOICE_RESULT
05-16 19:24:26.281 18853 18853 I BackgroundTasksManager: Recognized text: test
05-16 19:24:26.282 18853 18853 D BackgroundTasksManager: Scheduling work for tag voiceCommand
05-16 19:24:26.334 18853 31182 D ItemUpdateWorker: Trying to get connection
05-16 19:24:26.335 18853 18890 I WM-Processor: Moving WorkSpec (d29c566c-516d-4eb1-bcd6-a61c5f8560ec) to the foreground
05-16 19:24:26.356 18853 18853 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=org.openhab.habdroid/androidx.work.impl.foreground.SystemForegroundService (has extras) }
05-16 19:24:26.362 18853 18853 E penhab.habdroi: Invalid ID 0x00000000.
05-16 19:24:26.362 18853 18853 E penhab.habdroi: Invalid ID 0x00000000.
05-16 19:24:26.362 18853 18853 E penhab.habdroi: Invalid ID 0x00000000.
05-16 19:24:26.362 18853 18853 E penhab.habdroi: Invalid ID 0x00000000.
05-16 19:24:28.000 18853 18853 I wm_on_restart_called: [25029421,org.openhab.habdroid.ui.LogActivity,performRestartActivity]
05-16 19:24:28.001 18853 18853 I wm_on_start_called: [25029421,org.openhab.habdroid.ui.LogActivity,handleStartActivity]
05-16 19:24:28.001 18853 18853 I wm_on_resume_called: [25029421,org.openhab.habdroid.ui.LogActivity,RESUME_ACTIVITY]

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
mueller-macommented, Jun 17, 2022

2.20.13-beta should be live in Play Store soon.

0reactions
sebastiencastermanscommented, Aug 5, 2022

Ok. I’ll do that! I don’t know what this “reverse proxy” is. I just ran the command you gave me but I have exactly the same thing except that I have no more color and everything is monochrome.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Voice Access - Android Accessibility Help
If Voice Access doesn't recognize your voice commands, try the following: Make sure that your device is connected to the Internet over cellular...
Read more >
Voice Attack recognizes my commands but no longer ...
So, I know that Voice Attack is parsing through the commands. But, I just can't seem to figure out why the keypress commands...
Read more >
Voice Command Isn't Working on an Automotive Device
When using the Voice Command feature on your compatible device, you may see a message indicating it is unavailable for your chosen language...
Read more >
Bixby voice commands are not working - Samsung
You may need to add a new voice recording to the Bixby app if it can't recognize your commands. You can also try...
Read more >
Use Voice Control on your iPhone, iPad, or iPod touch
When the download is complete, a microphone will appear in the status bar of your device that indicates that Voice Control is listening...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found