Seeking advise on how to visualize duration over time

I am looking to visualize the lifecycle of an IOT device I am developing. My goal is to show the duration between two events over a timeline. It’s early so I can change the way I store data but I’ll give you a general idea of what I have in place today.

The device triggers events (ex: up, startStream, stopStream, down) each event has some metadata unique to it and a timestamp.

I would really like to see something like a Gantt chart of activity. So I can see at 5pm on x day. Was the device “up” in a bar and was it also streaming in another bar.

I am newer to data visualization so I am very open to suggestions.