---
title: Sensor Data in Physical Web URLs
date: 2016-01-16T15:32:13+00:00
modified: 2016-07-06T13:37:21+00:00
image:: https://kaspars.net/wp-content/uploads/2016/01/ble-beacons-sensor-ios-iphone-bluetooth.jpg
permalink: https://kaspars.net/blog/physical-web-sensors-urls
post_type: post
author:
  name: Kaspars
  avatar: https://reverse.kaspars.net/gravatar/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?s=96&d=mm&r=g
category:
  - Electronics
post_tag:
  - Physical Web
---

# Sensor Data in Physical Web URLs

Today I realized that it’s possible to put data in [Eddystone-URLs](https://github.com/google/eddystone/tree/master/eddystone-url) from any kind of sensor attached to a [BLE beacon](https://en.wikipedia.org/wiki/IBeacon). For example, a device could broadcast a temperature value using the following URL:

```
http://example.com/21.5
```

and you only need to install the Chrome browser to see it in the notifications center:

![Sensor Data in Eddystone-URL in iOS Notification Center](https://kaspars.net/wp-content/uploads/2016/01/ble-beacons-sensor-ios-iphone-bluetooth.jpg?strip=all&quality=90&resize=750,1334)

Clicking on the URL would open it in the browser which could also automatically log the data. Very nice!