How Can I Set Up Homey to Trigger an Alert When Facing Qibla Using the Qibla Online Tool and My Location?

I’m a Homey user who has been integrating different smart home devices into my daily life, and I recently came across the qibla online (qibla en ligne) tool. This tool helps me determine the direction of the qibla by using my device’s GPS location, which is very useful when I’m traveling or in different areas of my house. I was thinking it would be great if I could use Homey to create some sort of automation that informs me when I’m facing the right direction for prayer.

I already have Homey set up with several smart devices like smart lights, speakers, and motion sensors, but I’m curious if there’s a way to use Homey’s geolocation capabilities (or any third-party Homey app) along with the qibla online tool’s GPS-based system. For example, could I trigger a specific light or sound notification when I’m correctly facing the qibla using my phone’s or tablet’s GPS?

Here’s what I’m thinking, but I’m not sure how to proceed:

  1. Can Homey read GPS data from my device and use that as a trigger for flows? If yes, how would I go about configuring that within the Homey app?
  2. Would I need an external sensor that works with Homey to detect the qibla direction, or can the geolocation feature of my smartphone/tablet be used effectively within the Homey environment?
  3. Are there any existing Homey apps or services that can integrate with a tool like qibla online to enhance this process?
  4. I’m also wondering if Homey can provide a voice notification through smart speakers (e.g., Sonos) once it confirms that I’m facing the qibla direction via the online tool. Has anyone tried something similar with other geolocation-based triggers?
  5. Would using a compass or similar sensor that connects to Homey be a more reliable approach, or does the GPS from Qibla Online suffice for accuracy?

Any tips or advice on how to automate this process would be greatly appreciated! I’m particularly interested in how to get the flow to recognize the correct direction and then trigger a smart action. Thanks in advance for the help!