Fail to connect RTSP camera to IoT Central

Hieu Phan 26 Reputation points
2022-02-05T02:38:36.957+00:00

Hi,

I cannot connect camera to IoT Central. I follow this tutorial: https://github.com/iot-for-all/iotc-ava-gateway.

1) I created IoT Edge device (with IoT Edge runtime working). Here is the evidence:
Check if IoT Edge working:

sudo iotedge system logs   

171469-image.png

Check if the IoT Edge is provisioned
171520-image.png

2) Cannot add camera to edge device gateway:
I added an RTSP camera (not ONVIF) with the following information:
171498-image.png

But I get the error:
171470-image.png

3) I tried to inspect the error on the gateway.
Log into my Linux machine (which is an edge gateway) and monitor the logging output:

docker logs -f --tail 200 AvaEdgeGatewayModule   

But it couldn't find the containter AvaEdgeGatewayModule
171571-image.png
Note: I notice that we haven't installed the container "AvaEdgeGatewayModule" at any step in the tutorial (https://github.com/iot-for-all/iotc-ava-gateway). If we do and I'm wrong, could you please point out at which step did I miss? Thank you

Azure IoT Central
Azure IoT Central
An Azure hosted internet of things (IoT) application platform.
354 questions
{count} votes

Accepted answer
  1. António Sérgio Azevedo 7,666 Reputation points Microsoft Employee
    2022-02-21T12:08:40.857+00:00

    Hello @Hieu Phan ,
    I have synced with the support engineer @Yang Cao that helped you finding the solution for this :). Please verify it as the answer so others can learn from it as well. Thank you so much in advance!

    The issue was due to AvaGatewayEdge module deployment failed, and this is because unspecified image url in the deployment manifest. We checked with PG about the image url since it's not in the doc and this is the link of the image: sseiber/ava-edge-gateway - Docker Image | Docker Hub, to deploy this custom module, below are the steps:

    1) Access your template through IoT Central and version your template to a new one:

    176348-image.png

    2) Access your newly created template and click on “edit manifest”, update your deployment manifest as below ( The image url is “sseiber/ava-edge-gateway:4.0.1-amd64-debug” for your convenience to copy and paste ):

    176363-image.png

    3) Publish your template
    4) Access “Devices” panel and assign the newly created template to your ava gateway device:

    176298-image.png

    5) You will see the module running:

    176350-image.png

    Remember:

    • Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification.

0 additional answers

Sort by: Most helpful