I was surprised to see that there is no iOS widget that can display basic sensor data, yet. So I created one using the iOS Scriptable App. I hope this is helpful for some
You can find the source code of the widget on GitHub. There are many known issues (support for UI dark mode, error handling of non-resposive APIs etc.) so please feel free to fork and improve!