Connecting Your Raspberry Pi to the IBM Watson IoT Platform

Xavier «X» Santolaria
6 min readSep 7, 2022
Photo by Harrison Broadbent on Unsplash

Having your logs in a one centralized, secure, and resilience location is definitely the easiest way to gain visibility on your assets. That is also true for home networks, full of smart devices and other Internet of Things (IoT) technologies.

Having recently setup yet another Raspberry Pi, I thought I would use that device to demonstrate how you could easily send its telemetry to IBM Cloud for visibility and analysis, using the IBM Watson IoT Platform.

The IBM Watson IoT Platform


IBM Watson™ IoT Platform is a fully managed, cloud-hosted service that makes it simple to derive value from Internet of Things (IoT) devices.

Simply register and connect your device, be it a sensor, a gateway, or something else, to Watson IoT Platform and start sending data securely up to the cloud using the open, lightweight MQTT messaging protocol. You can set up and manage your devices using your online dashboard or our secure APIs, so that your apps can access and use your live and historical data.

Now that we know what it is, let’s go to our IBM Cloud account, and provision the (free) service. Start by searching for it in the catalog:

Select your region (at the time of writing the service is available in Frankfurt, London, Dallas, and Washington DC). Configure your resource, and hit the create button.

Once done, head over and select your organization (top right):

You should now get redirected to the Devices section. Time to add our first device then!

Add Devices to IBM Watson IoT Platform