Shiny is pretty good. You can do interactive sliders to filter date ranges in that, and you control what happens when you slide it in the code. It’s not as slick as grafana though.
One downside is it started off as an R package then got ported to python, so most resources are for R. Fine for me because I know R, but most people don’t.
Here’s the python link: https://shiny.rstudio.com/py/
My Sonoff motion sensors have been nothing but trouble. Other Zigbee stuff (and other Sonoff stuff, like temperature/humidity sensors) have worked fine - it’s just the motion and door sensors. I guess YMMV.