This seems to be a typical case for using Dynamic Time Warping nearest neighbour classification.
Lets say we have two time series that have the same length and equi-distant timestamps. We number the timestamps with the numbers 1 to $n$, where $n$ is the number of values in the series. From now on those numbers are meant when talking about the timestamps. The euclidean distance of the time series is calculated by, for each timestamp, subtracting the two values and taking the square. All those squared values are added up and the square root is taken.
The euclidean distance has the issue that if parts of the signals are a little distorted in time, it is not really representative for what is really going on. Imagine two spikes that a little earlier/later from each other. The two signals look otherwise the same, but would be considered to be very different - more different than a signal with a spike would be compared to a signal which just a flat line. Imagine that those spikes are hart beats and it becomes pretty clear, right?
Dynamic Time Warping
Dynamic Time Warping is a distance between time series. It measures the distance of two time series by allowing the timestamps of the two signals to be moved a little left or right. So the two spikes from earlier would be aligned on each other and the signals would be considered to be very similar, as they should be.
DTW nearest neighbour
Image you have some time series that belong to one class and some times series that belong to another class and you have them labelled. Now you have new time series that you want to classify. The brute force DTW NN is to simply calculate the distance of your new time series to all the labelled time series and determine that your new series has the same class as the labelled series that has the smallest DTW distance to it. There are methods to make that concept really fast. If you want to learn them check out the material below. It also explains that even though the DTW NN concept sounds simple, it is really hard to beat in terms of result for this type of application.
For more study check out the slides, especially slide 49 and the video lectures for which they were made.