Skip to main content
1-Visitor
August 29, 2017
Question

QR Code Scanning with Thingworx

  • August 29, 2017
  • 2 replies
  • 2569 views

Hello there,

Is there a way to scan an QR code with the help of Thingworx? I can already send the value of the QR code to ThingWorx as a property value of a thing, with the help of Node-RED and a webcam. However I can not control the webcam as I like therefore I need a service in ThingWorx so that I can bind that to a button widget. Right now in Node-RED I created a flow with an injection node ,which only injects once at start, and a pythonshell node which runs the python code script that I wrote to turn on the webcam, to scan the QR code and after that to turn off the webcam. Does anybody know a way to control Node-RED flow from thingworx or simply a way to scan QR code?

Thank you

2 replies

17-Peridot
August 29, 2017
1-Visitor
August 29, 2017

Hello Yamini,

I've already read this documentation about node-red. However it only tells how to push data from raspberry pi to thingworx with node-red. My aim is to create a service in Thingworx and with that I want to run a code script in my raspberry pi. So that I can control the webcam and scan the QR code.