You can basically just do Puck.eval("E.getTemperature()") from the webpage and that'll execute the command on the Puck and give you the temperature as a result. For what you do after there are a million options - whether that's just displaying it on the webpage, adding it to Google Sheets, or uploading it to some online database.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@Icarus have you seen https://www.espruino.com/Web+Bluetooth ?
You can basically just do
Puck.eval("E.getTemperature()")
from the webpage and that'll execute the command on the Puck and give you the temperature as a result. For what you do after there are a million options - whether that's just displaying it on the webpage, adding it to Google Sheets, or uploading it to some online database.