Machine Learning based Multivariate Time Series Prediction - How to create supervised data format
Regarding how to handle multivariate time series problem, I believe that GitHub link Timeseries multivariate will be helpful.

You have to change n_inputs and n_outputs as 12 and 1 respectively.