
RickMWatts (Customer) asked a question.
Connecting BRX to Microsoft Azure as a device
Referencing the attached document, pages 2-4 reference a Python program used to create the DPS SAS Token. I downloaded the most recent version of Python, was able to get some output, but I don’t believe its correct, and am confused by the inputs that generate it. Page 13 also requires using the Python program, AND provides details for the inputs and an example, PERFECT! I need help defining the pieces of the uri input; {signature}, {URL-encoded-resourceURI}, {policyName}. Any help will be GREATLY appreciated! thanks
Hi @RickMWatts (Customer),
Another option would be to use Node-RED instead of Python.
https://flows.nodered.org/node/node-red-contrib-azure-iot-hub
The BRX PLC would then use the REST API to get the data to Node-RED.
https://accautomation.ca/do-more-plc-node-red-http-request/
Just a thought.
Regards,
Garry
https://accautomation.ca/series/brx-do-more-plc/
https://accautomation.ca/series/node-red-iot-enabling-software/