<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yogi Hardi on Medium]]></title>
        <description><![CDATA[Stories by Yogi Hardi on Medium]]></description>
        <link>https://medium.com/@yogi.hardi?source=rss-88f9a26c35bd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*7CH7XLjOEvmG2EpcVwFO7A.jpeg</url>
            <title>Stories by Yogi Hardi on Medium</title>
            <link>https://medium.com/@yogi.hardi?source=rss-88f9a26c35bd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 11:52:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yogi.hardi/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Don’t confuse between Device’s Topic and PubSub’s Topic on Google IoT Core]]></title>
            <link>https://medium.com/@yogi.hardi/dont-confuse-between-device-s-topic-and-pubsub-s-topic-on-google-iot-core-c4ce339c15b?source=rss-88f9a26c35bd------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4ce339c15b</guid>
            <category><![CDATA[google-iot-core]]></category>
            <category><![CDATA[iot]]></category>
            <dc:creator><![CDATA[Yogi Hardi]]></dc:creator>
            <pubDate>Sat, 19 Feb 2022 00:54:26 GMT</pubDate>
            <atom:updated>2022-02-19T00:54:26.483Z</atom:updated>
            <content:encoded><![CDATA[<p>When I read Google IoT Core documentation (<a href="https://cloud.google.com/iot/docs/how-tos/devices">https://cloud.google.com/iot/docs/how-tos/devices</a>) about connecting The Thing (<em>we will use this phrase for the IoT device, ie. Raspberry Pi</em>) to IoT Core, it said we need to set the Telemetry Topic to a <strong>PubSub’s topic</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*-3WZP6IQnd7VtRW_wA6X-Q.png" /><figcaption>Google IoT Core — How to create Registry</figcaption></figure><p>but why when we want to send data from <em>The Thing</em> is using a different topic (<strong><em>/devices/DEVICE_ID/events)</em></strong>?</p><p>Please check the diagram below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/781/1*FlHKjyhQ3DIPwWAEirDkgA.png" /><figcaption>Google IoT Core Overview</figcaption></figure><p>as you can see from the diagram above, <em>The Thing</em> is connected to <em>Device 1 </em>and somehow inside the Google IoT there’s <strong>Data Broker</strong> that sends the data to PubSub’s Topic and data is available on Subscription’s topic.</p><p>now, we can consume and access the data from whatever we want, it can be a CloudFunctions to trigger other Google Cloud services or we can subscribe from our own application.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4ce339c15b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>