Google Cloud announced that it’s shutting down its IoT Core service on August 16, 2023. The alternative for exchanging the data with the Google ecosystem is the Google Pub/Sub service destined to establish asynchronous communication between applications and solutions. With flespi you can publish telemetry data to Google Pub/Sub and then subscribe to the appropriate topics to get that data in the desired destinations.
Create a project in Google Console. You will need to paste the project ID into the stream configuration later.
Create appropriate topics.
Create a flespi stream to publish messages to these topics. Specify your Google project ID (from step 1), service email (learn how to create a service account), and the private key for IAM authorization in the stream configuration:
Find more details on access control, authorization, and required permissions here.
Subscribe the stream to devices to forward data from:
Make sure the stream started sending messages:
Subscribe to the topics from your target applications to get the updates instantly.
To stay in sync with all improvements and changes to the Google Pub/Sub stream, subscribe to the change log on the forum.