Connecting an iPhone to a Streamsheet via MQTT

In the following video I will show how to connect the real-time measurements an iPhone´s sensors to a Streamsheet using a MQTT broker. To achieve this, I use an iPhone app that is publishing the sensor data to a specific topic on a MQTT broker.

In the video you see how to create a MQTT Connector and a MQTT consumer that subscribes to the MQTT topics of the sensor data.

In the next step you see how to link the key/values pairs of the message payload to Streamsheet cells and how to apply some spreadsheet formulas on them. Some of these formulas create graphic objects which rotate according to the “pitch” and “roll” measurements. Hence, the objects in sync with the iphone.

Find out more on the blog as well: https://streamsheets.blog/

2 Likes