Hello SmartThings Community,
I recently stumbled upon an exciting idea that I’d love to share and discuss with you all. The concept revolves around integrating the ‘Find My iPhone’ functionality with SmartTiles, allowing users to trigger the locate notification directly from their SmartThings interface. This idea emerged after observing my wife’s frustration in locating her misplaced iPhone, leading me to explore potential solutions within the SmartThings ecosystem.
After some research, I discovered a Node.js module called ‘find-my-iphone’ by matt-kruse on GitHub. This module enables sending locate notifications to Apple devices. I tested it using Cloud 9 (c9.io), and it worked seamlessly. The next step was figuring out how to integrate this functionality into SmartTiles, perhaps through a button or tile action. I envisioned creating a simple yet effective setup where pressing a button would send the locate command to a specific device.
However, I’m not entirely sure how to proceed with the integration. Would it involve using Groovy scripts alongside the Node module? Or could a web app be developed and linked via a URL in SmartTiles? I’m open to suggestions and would greatly appreciate any guidance or experiences from the community.
The most straightforward call from the module is as follows:
javascript
var find = require(‘find-my-iphone’);
find(‘icloud_account’, ‘password’, ‘DeviceName’);
This command sends a locate notification to the specified device. Imagine the convenience of triggering this action directly from a SmartThings button or tile!
I’d love to hear if anyone has attempted something similar or has insights into making this integration a reality. Whether it’s through custom scripts, web apps, or even SmartApps, your input would be invaluable.
Looking forward to your thoughts and potential collaborations on this exciting project!
Best regards,
[Your Name]