iot-data-pipeline | IoT device | Runtime Evironment library
kandi X-RAY | iot-data-pipeline Summary
kandi X-RAY | iot-data-pipeline Summary
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
Top functions reviewed by kandi - BETA
- 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
iot-data-pipeline Key Features
iot-data-pipeline Examples and Code Snippets
Community Discussions
Trending Discussions on iot-data-pipeline
QUESTION
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:23TLDR: 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:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install iot-data-pipeline
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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page