I would use ggplot2
and reshape2
to plot and reshape the data.
library(reshape2)
library(ggplot2)
df=melt(df,id.vars=c('Date','VID'))
df$value=as.numeric(vehicle$value)#ON = 2, OFF = 1
ggplot(df,aes(x=Date,y=value))+geom_line()+facet_grid('variable+VID~.')
The Date value was changed on the last 3 lines to be one less, but the output graphic looks like what you see below. Is this what you're looking for? (Also, I didn't use the date values you used, but you can use them when you run the code or just change the axis labels to them).