Home Assistant Community

Action depending on QR code recognition

#1

I’m using a Raspberry Pi, with Hassbian OS, what I want to do is opening a door when a QR code is detected through a USB camera, I didn’t find any code to do that function
the only one I found is

image_processing:
- platform: qrcode
  source:
  - entity_id: camera.live_cam

but it’s not working, if any one know what I could do ?

0 Likes

#2

If any one can help pleas.

0 Likes

#3

I don’t use the qrcode component but its documentation indicates you must install zbar-tools for Ubuntu.
https://packages.ubuntu.com/bionic/graphics/zbar-tools

Did you install it?

0 Likes

#4

yes, I have installed it

0 Likes