iotedgehubdev | IoT Edge Hub Dev Tool | Azure library

 by   Azure Python Version: 0.14.18 License: Non-SPDX

kandi X-RAY | iotedgehubdev Summary

kandi X-RAY | iotedgehubdev Summary

iotedgehubdev is a Python library typically used in Cloud, Azure, Nodejs applications. iotedgehubdev has no vulnerabilities, it has build file available and it has low support. However iotedgehubdev has 1 bugs and it has a Non-SPDX License. You can install using 'pip install iotedgehubdev' or download it from GitHub, PyPI.

The Azure IoT EdgeHub Dev Tool provides a local development experience with a simulator for creating, developing, testing, running, and debugging Azure IoT Edge modules and solutions.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              iotedgehubdev has a low active ecosystem.
              It has 78 star(s) with 30 fork(s). There are 22 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 9 open issues and 162 have been closed. On average issues are closed in 113 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of iotedgehubdev is 0.14.18

            kandi-Quality Quality

              iotedgehubdev has 1 bugs (0 blocker, 0 critical, 1 major, 0 minor) and 143 code smells.

            kandi-Security Security

              iotedgehubdev has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              iotedgehubdev code analysis shows 0 unresolved vulnerabilities.
              There are 12 security hotspots that need review.

            kandi-License License

              iotedgehubdev has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              iotedgehubdev releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              iotedgehubdev saves you 2937 person hours of effort in developing the same functionality from scratch.
              It has 6337 lines of code, 362 functions and 32 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed iotedgehubdev and discovered the below as its top functions. This is intended to give you an instant insight into iotedgehubdev implemented functionality, and help decide if they suit your requirements.
            • Setup an edge hub connection
            • Generate a chain of CA certificates
            • Generate a CA cert chain
            • Generates self signed certificates
            • Decorate a function with telemetry
            • Sets the result of the session
            • Send a telemetry error
            • Parse parameters
            • Upload data to Telemetry
            • Removes symbols from a string
            • Flush current session information
            • Generate the payload
            • Generates trusted CA certificates
            • Generate a trusted CA certificate
            • Constructs a dictionary of CA CA certificates
            • Chain CA certificates
            • Output credential information
            • Helper function to output a credential file
            • Set parameter
            • Prints header
            • Setup the configuration
            • Decorator to return the result of a function
            • Decorator to convert user agrees to telemetry
            • Stop the IOT Edge emulator
            • Set config value
            • Print a footer
            Get all kandi verified functions for this library.

            iotedgehubdev Key Features

            No Key Features are available at this moment for iotedgehubdev.

            iotedgehubdev Examples and Code Snippets

            No Code Snippets are available at this moment for iotedgehubdev.

            Community Discussions

            QUESTION

            Stuck in Network azure-iot-edge-dev is external, skipping
            Asked 2022-Feb-08 at 16:42

            Runing the Build and Run Iot Edge Solution in Simulator stopped working suddenly, and the log builds the containers and stops at this message Network azure-iot-edge-dev is external, skipping Everything was working fine 5mins ago, tried rebooting, restarting docker, iotedgehubdev, but in vain. Do you know how can I get more logs and/or resolve this problem ?

            ...

            ANSWER

            Answered 2021-Aug-11 at 04:38

            Do you know how can I get more logs and/or resolve this problem ?

            Are you trying to debug/simulate it locally on windows 10 machine?

            When you need to gather logs from an IoT Edge device, the most convenient way is to use the support-bundle command. By default, this command collects module, IoT Edge security manager and container engine logs, iotedge check JSON output, and other useful debug information. It compresses them into a single file for easy sharing. The support-bundle command is available in release 1.0.9 and later.

            Run the support-bundle command with the --since flag to specify how long from the past you want to get logs. For example 6h will get logs since the last six hours, 6d since the last six days, 6m since the last six minutes and so on. Include the --help flag to see a complete list of options.

            Source https://stackoverflow.com/questions/68729765

            QUESTION

            Setup Iot Edge Simulator issue when we are giving iot edge connection string
            Asked 2020-Oct-20 at 14:15

            We created sample iot edge application using visual studio 2019. When we are trying to setup iot edge device connection string in Setup Iot Edge Simulator getting below error.

            C:\Users\10070047\Documents\Visual Studio 2019\iotedgehubdev\v0.14.2\iotedgehubdev setup -c HostName={connection string} [16472] Failed to execute script pyi_rth_pkgres Traceback (most recent call last): File "lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 11, in File "d:\a\1\s\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "lib\site-packages\pkg_resources_init_.py", line 86, in ModuleNotFoundError: No module named 'pkg_resources.py2_warn' [ERROR]: Failed to run 'iotedgehubdev setup -c HostName={connectionstring}' with error: [16472] Failed to execute script pyi_rth_pkgres Traceback (most recent call last): File "lib\site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 11, in File "d:\a\1\s\venv\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 627, in exec_module File "lib\site-packages\pkg_resources_init_.py", line 86, in ModuleNotFoundError: No module named 'pkg_resources.py2_warn'

            FYI. tried with setup the connection string

            Can someone please help me on this. Thanks

            ...

            ANSWER

            Answered 2020-Oct-20 at 12:32

            A few days ago an update to the Azure IoT Edge Tools for Visual Studio introduced this bug. It worked fine in 1.6, but is broken in 1.7. It has been reported on GitHub and the Microsoft Q&A forums. Both platforms usually resolve these errors quickly, so keep a look out!

            Update: A workaround was posted in lieu of an official fix.

            Source https://stackoverflow.com/questions/64441859

            QUESTION

            Debugging Azure IoT Module with iotedgehubdev throws an error
            Asked 2020-Apr-20 at 14:49

            I'm running:

            • Windows 10 Home version 1909.
            • Visual Studio 2019 Pro 16.5.0. Azure
            • IoT Edge Tools 1.7.0. azure-iot-sdk-c package.
            • Latest version of Docker Toolbox - (it runs hello-world with no errors).
            • Python, pip. iotedgehubdev 0.13.0

            Did the following steps:

            1. Registered account on Azure
            2. Created free IoT hub
            3. Registered Edge Device
            4. (Not sure if it was needed) Created VM, installed Azure Runtime, registered it in IoT Hub as device from step 3.
            5. (Not sure if it was needed) Started registry in docker with command docker run -d -p 5000:5000 --restart=always --name registry registry:2
            6. Created Win 64 Azure Module project in Visual Studio with default settings including the repository URL (localhost:5000/moduleName)
            7. Set up iotedgehubdev with device connection string taken from device from step 3.
            8. Set the module's project as startup project
            9. Trying to start debug

            Module is built, but debugging does not start.

            Output of IoT Hub in Visual Studio:

            ...

            ANSWER

            Answered 2020-Apr-20 at 14:49

            I have reinstalled Windows to 10 Pro instead of Home which allowed me to use Docker Desktop instead of legacy Docker Toolbox solution. The issue is now fixed.

            Source https://stackoverflow.com/questions/61226975

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install iotedgehubdev

            You can install using 'pip install iotedgehubdev' or download it from GitHub, PyPI.
            You can use iotedgehubdev like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com. When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA. This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install iotedgehubdev

          • CLONE
          • HTTPS

            https://github.com/Azure/iotedgehubdev.git

          • CLI

            gh repo clone Azure/iotedgehubdev

          • sshUrl

            git@github.com:Azure/iotedgehubdev.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link