Widget for sensor value?

Is it possible to have a android widget with a sensor value?

Maybe with http shortcut?