A methodology for integrating internet of things platforms