the trigger function defaults to AMQP, so, it is trying to reach tpc ports 56. the debugging locally problem could be 2 things:ġ - Firewall. I managed to debug it and deploy it.įirst. Is there any other resource that I can be pointed to that may help? Would this work or would I require additional functionality?įrom reading the documentation here, I think I am right in that an IoT-Hub is an Event hub? I am using Visual Studio Code and Python and I have found very little documentation on setting up Azure Functions for IoT Hub/Event Hub and those that I have found focus on C# and Visual studio. In this, the decode function would replace the Stream analytics job. The trigger being the receiving of uplink data within the IoT-Hub: I want to now use this decoding script I have written within an Azure function which will take the uplink data, decode the environment data, and then output these along with other data to an Azure database. This is within Visual Studio Code and run from the console/terminal I have not yet been able to create an Azure Function for this. I have already set up a WebSocket output and a simple app that consumes and decodes the data to variables that you can then use/store. However, the sensor environment data arrives encoded in hexadecimal format and so needs decoding. So far, I have managed to setup a couple of gateways and devices on a LoRaWAN network server, output to an Azure IoT Hub and store the data in an Azure SQL DB using a Stream analytics job. I am also new to IoT but have been tasked with delivering a IoT proof of concept to my employer. To set the scene: I am new to coding and in my first coding/software support role having completed a diploma last year to bring about a career change.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |