iot-data-pipeline | IoT device | Runtime Evironment library

 by   googlecodelabs Python Version: Current License: Apache-2.0

kandi X-RAY | iot-data-pipeline Summary

kandi X-RAY | iot-data-pipeline Summary

iot-data-pipeline is a Python library typically used in Manufacturing, Utilities, Energy, Utilities, Server, Runtime Evironment, Nodejs, Raspberry Pi applications. iot-data-pipeline has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However iot-data-pipeline build file is not available. You can download it from GitHub.

You will build an IoT device (Raspberry Pi) that measures weather data and is ready to interact with the Google Cloud Platform. In conjunction with the steps included in a Google Codelab ("Building a Serverless Data Pipeline: IoT to Analytics"), the weather data can be published to a data pipeline that includes a message queue, a serverless function, a Cloud-based data warehouse and an analytics dashboard using Google’s Cloud Platform.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              iot-data-pipeline has a low active ecosystem.
              It has 15 star(s) with 4 fork(s). There are 8 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 11 have been closed. On average issues are closed in 24 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of iot-data-pipeline is current.

            kandi-Quality Quality

              iot-data-pipeline has no bugs reported.

            kandi-Security Security

              iot-data-pipeline has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              iot-data-pipeline is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              iot-data-pipeline releases are not available. You will need to build from source code and install.
              iot-data-pipeline has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed iot-data-pipeline and discovered the below as its top functions. This is intended to give you an instant insight into iot-data-pipeline implemented functionality, and help decide if they suit your requirements.
            • Return the dewpoint in F
            • Return the humidity in radians
            • Calculate the dewpoint
            • Read the raw humidity
            • Return the temperature in F
            • Read the temperature
            • Reads the raw temperature from the device
            • Reads the pressure in inches
            • Read the pressure in meters
            • Read the raw pressure
            Get all kandi verified functions for this library.

            iot-data-pipeline Key Features

            No Key Features are available at this moment for iot-data-pipeline.

            iot-data-pipeline Examples and Code Snippets

            No Code Snippets are available at this moment for iot-data-pipeline.

            Community Discussions

            QUESTION

            Testing Cloud Function - Cannot read property 'data' of undefined
            Asked 2020-Sep-14 at 22:23

            I've got a Raspberry Pi and setup a weather (and soil moisture) rig.

            I found this guide: https://codelabs.developers.google.com/codelabs/iot-data-pipeline which I followed and got stuck around Step 6-7.

            From what I understand - when I send data to PubSub - nothing happens. On the Raspberry End I sort of get the idea that data is being sent but it doesn't get passed into BigQuery. I did some print statements at various points to try and see where it got stuck.

            As I was trying to find the error I slowly backtracked to Step 5 (Create a Cloud Function). Step 5 along with associated code I copied can be seen here: https://codelabs.developers.google.com/codelabs/iot-data-pipeline/#4

            In GCP - I click into Cloud Function -> function-weatherPubSubToBQ -> Testing (tab)

            Under the heading - Trigger event - I filled out the JSON below:

            ...

            ANSWER

            Answered 2020-Sep-14 at 22:23

            TLDR: The tutorial is outdated, don't use it, unless you want to face multiple problems and want to learn in the hard way

            I went through the tutorial and I was able to replicate the issue.. and many more. As you already mentioned it, the tutorial is outdated and many things have changed, you can infer that by looking at the images and noticing that the UI is even different, so I wouldn't recommend this tutorial to anyone who is new to GCP.

            The first issue:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install iot-data-pipeline

            In order to leverage the tools on the Google Cloud platform, the Google Cloud SDK will need to be installed on the Raspberry Pi. The SDK includes the tools needed to manage and leverage the Google Cloud Platform and is available for several programming languages. Open a terminal window on the Raspberry Pi if one isn’t already open and set an environment variable that will match the SDK version to the operating system on the Raspberry Pi. Now add the location of where the Google Cloud SDK packages are stored so that the installation tools will know where to look when asked to install the SDK. Add the public key from Google’s package repository so that the Raspberry Pi will verify the security and trust the content during installation. Make sure that all the software on the Raspberry Pi is up to date and install the core Google Cloud SDK. NOTE: The installation speed of the SDK is dependent both on the network speed and the Raspberry Pi processor. The Raspberry Pi Zero W can take around 30 minutes to complete the install. If you are using the alternate hardware (Raspberry Pi 3 Model B), install times are typically much faster. Install the tendo package using the Python package manager (this package is used to prevent check if a script is running more than once and will be used to check on the weather script that is implemented later). Make sure the Google Cloud packages for Python are up to date using the Python package manager. The installation speed of the SDK is dependent both on the network speed and the Raspberry Pi processor. The Raspberry Pi Zero W can take around 30 minutes to complete the install. If you are using the alternate hardware (Raspberry Pi 3 Model B), install times are typically much faster.
            From the command line on the Raspberry Pi, clone the needed packages for reading information from the input/output pins. Install the downloaded packages. Clone the project code that enables the weather sensor. Copy the sensor driver into the same directory as the remainder of the downloaded software. To connect the sensor to the Google Cloud Platform, follow the instructions in the Google Codelab ("Building a Serverless Data Pipeline: IoT to Analytics").

            Support

            Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
            Find more information at:

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

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/googlecodelabs/iot-data-pipeline.git

          • CLI

            gh repo clone googlecodelabs/iot-data-pipeline

          • sshUrl

            git@github.com:googlecodelabs/iot-data-pipeline.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