We all know that Madara knows tobi/obito but but HOW...i think it has everything to do with Madara's EMS...in his fight with Hashirama we saw that his EMS could reverse time, so what's to say he can't time travel. Maybe he used his EMS to go forward in time to control the hiddens mist's...