{"version":"1.0","type":"rich","title":"Gist 5d553ade7d332fe430beb35852af8c54","description":"This example visualizes a location-based automation triggered by a user leaving a designated home area. It shows how the SetSDK’s `onDeparture` API fires an asynchronous callback when the device crosses a geofence boundary. The code registers a listener for the `.home` event, and inside the closure it would execute actions like turning off lights, stopping music, or locking doors—though the snippet only defines the callback skeleton. The visualization relies on the SetSDK’s departure detection, not on a charting library or custom rendering, making the data source the device’s real-time location context.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5d553ade7d332fe430beb35852af8c54?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}