SensorWeb + Project Magnet

I put up a physical web beacon to advertise my air quality sensor.

I have the URL pointed at my SensorWeb page: http://sensorweb.io/sensor.html?id=Bya3iOqv

However, the content doesn’t show up great as a card in physical web clients like Magnet (https://discourse.mozilla-community.org/c/connected-devices/project-magnet).

Here’s a screenshot:

A couple of things that would be great to add to the sensor.html page:

  • Put the sensor name in the page title, as well as the last recorded value

  • Put the relevant information in the page in opengraph metadata.

  • Have a nice opengraph image.

I’d love it even if the physical web card just looked like the map popup on the sensor.html page: