time serie with only two values
First you should define your goal for the prediction. Do you want to predict also a time series output? Then the best thing to do is to use any machine learning model that is sequence focused (e.g. is LSTM), and with the time series that you have as input. Also study the time scale of your model. Study if it should be hour, minutes or any other scale.