Upgrade to API v2
Fix API endpoint
Use timestamp over at
Update references to data sources to devices