Nest Smoke Alarm Trigger

Read this thread. It includes the previous best solution for this as well as the current status of Nest integration with basically everything (spoiler: Google broke it)