openhab-android: Voice commands are no longer being sent

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]

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 17 (7 by maintainers)

Commits related to this issue

Most upvoted comments

2.20.13-beta should be live in Play Store soon.