Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No camera to scan QR code in Tab controller - "Geräte per Pairing-Code oder QR-Code hinzufügen" #222

Open
Feuer-sturm opened this issue Dec 10, 2024 · 6 comments
Assignees
Labels
bug Something isn't working frontend/ui issue is relevant for matter adapter frontend/ui

Comments

@Feuer-sturm
Copy link
Collaborator

matter 0.2.7
Tab controller
Menu "Geräte per Pairing-Code oder QR-Code hinzufügen"

grafik

Clicking on the second line for QR-Code should open the camera to scan matter QR Code but nothing happens on my Android tablet, Android Smartphone or Laptop with webcam (Firefox, Chrome, Edge Browser)

@Feuer-sturm Feuer-sturm added bug Something isn't working frontend/ui issue is relevant for matter adapter frontend/ui labels Dec 10, 2024
@GermanBluefox
Copy link
Contributor

PLease retest with newest version
image

Else check the browser errors

@GermanBluefox GermanBluefox added the fixed issue is fixed and can be retested label Dec 12, 2024
@Feuer-sturm
Copy link
Collaborator Author

matter 0.3.0

Camera is not shown in my browser
I am not using https

@GermanBluefox I would recommend to show a notfication to the user that https is required for the camera

Browserconsole Log

Nice to see you here! :) Join our dev community here https://github.com/ioBroker/ioBroker or here https://github.com/iobroker-community-adapters [index-DV9nFdKX.js:308:12](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)
Help us to create open source project with reactJS! [index-DV9nFdKX.js:308:172](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)
See you :) [index-DV9nFdKX.js:308:239](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)
[2024-12-20T20:27:00.177Z] Try to connect [socket.io.js:1:814](http://192.168.178.143:8081/lib/js/socket.io.js)
Start faster connection attempts [index-DV9nFdKX.js:2509:6986](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)
Connected after 0 attempts [index-DV9nFdKX.js:2509:4192](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)
Start faster connection attempts [index-DV9nFdKX.js:2509:6986](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)
Connected after 0 attempts [index-DV9nFdKX.js:2509:4192](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)
Loading devices for matter.0... 2 [index-DV9nFdKX.js:2332:90233](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)

The camera stream is only accessible if the page is transferred via https. [index-DV9nFdKX.js:2332:33071](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)
Cannot provide QR Code scanning: Camera not found. [index-DV9nFdKX.js:2332:112195](http://192.168.178.143:8081/adapter/matter/assets/index-DV9nFdKX.js)

@Feuer-sturm
Copy link
Collaborator Author

If I active https for iobroker admin the camera is shown :-)

@Feuer-sturm Feuer-sturm removed the fixed issue is fixed and can be retested label Dec 20, 2024
@Apollon77
Copy link
Collaborator

In Firefox also shown without HTTPS. but yes would be cool if this can be shown to the user

@Feuer-sturm
Copy link
Collaborator Author

@Apollon77 I am jusing Firefox (Windows) without https and it was not shown

@Apollon77
Copy link
Collaborator

I use Firefox on macos and it is :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working frontend/ui issue is relevant for matter adapter frontend/ui
Projects
None yet
Development

No branches or pull requests

3 participants