> $0.srcObject.getVideoTracks()[0].getCapabilities()
{
"aspectRatio": {
"max": 4608,
"min": 0.00028935185185185184
},
"colorTemperature": {
"max": 7000,
"min": 2850,
"step": 50
},
"deviceId": "444a21636d3ee0d41f1e2325d24b610c9b4876400035bdd1655287370ac706dc",
"exposureCompensation": {
"max": 2,
"min": -2,
"step": 0.10000000149011612
},
"exposureMode": [
"continuous",
"manual"
],
"exposureTime": {
"max": 1000,
"min": 0.6,
"step": 0.1
},
"facingMode": [
"environment"
],
"focusDistance": {
"max": 9223372036854776000,
"min": 0,
"step": 0.009999999776482582
},
"focusMode": [
"manual"
],
"frameRate": {
"max": 60,
"min": 0
},
"groupId": "13c7b9cbaef3bbc60a4de22ab4a4cb322e57771aa50cac086b4b07add6359e4b",
"height": {
"max": 3456,
"min": 1
},
"iso": {
"max": 800,
"min": 40,
"step": 1
},
"resizeMode": [
"none",
"crop-and-scale"
],
"whiteBalanceMode": [
"continuous",
"manual"
],
"width": {
"max": 4608,
"min": 1
}
}
Home Assistant Android app version(s):
2026.6.5-full
Android version(s):
12
Device model(s):
Galaxy S10e
Home Assistant version:
2026.5.4
Last working Home Assistant release (if known):
Description of problem, include YAML if issue is related to notifications:
Sorry in advance if the issue is not with the app.
I am trying to debug why the barcode reader implemented in https://github.com/blaineventurine/simple-inventory-card is not properly focusing.
The reason i suspect the app's WebView being involved is that the the camera stream works fine if i open it from the browser (both on desktop with a webcam and on the phone) but from the app i get a blurry image (still visible but not focused enough for the barcode reader to do its job).
i repost here my attempt to debug this from blaineventurine/simple-inventory-card#59 (comment) where i see that in the
videoElement.srcObject.getVideoTracks()[0].getCapabilities()only themanualis advertised as afocusModevideo element details
video element capabilities
Companion App Logs:
Screenshot or video of problem:
Additional information: