Skip to content

Latest commit

 

History

History
68 lines (50 loc) · 3.75 KB

README.md

File metadata and controls

68 lines (50 loc) · 3.75 KB

esolatgps_banner
hacs_badge GitHub all releases Buy GitHub manifest version (path)

Assalamu'alaikum

This is a custom integration for Home Assistant that will create a Prayer Time sensor based on Person's GPS coordinates. The GPS-based prayer time API is provided by Malaysia Prayer Time.

Prayer time information are made as sensor attributes with the following format:

  • 12 hours (e.g. 6:01 AM)
  • 24 hours (e.g. 06:01:00)
  • Datetime UTC (e.g. 2023-07-29T22:01:00+00:00)

This is a continuation of HomeAssistantEsolatGPS (Appdaemon version)

Whats New?

  • Added Current Prayer Time (sensor.esolatnow)
  • Dynamic Prayer Time dashboard using Markdown card

Requirements

  • Home Assistant 2021.x and above
  • Person entity with GPS location (device tracker)

Installation

With HACS

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Tip

If you are unable to use the button above, manually search for eSolat GPS in HACS.

Manual

  1. Copy the esolatgps directory from custom_components in this repository and place inside your Home Assistant's custom_components directory.
  2. Restart Home Assistant
  3. Follow the instructions in the Setup section

Warning

If installing manually, in order to be alerted about new releases, you will need to subscribe to releases from this repository.

Setup

Open your Home Assistant instance and start setting up a new integration.

Tip

If you are unable to use the button above, follow the steps below:

  1. Navigate to the Home Assistant Integrations page (Settings --> Devices & Services)
  2. Click the + ADD INTEGRATION button in the lower right-hand corner
  3. Search for eSolat GPS
  4. Adjust the interval to your preference. Default is set to 15 minutes.

The sensors will be populated sensor.esolat_ based on the person with GPS coordinates.

image

Dynamic Prayer Time - Markdown Card

I have prepared a markdown card template that will:

  • Automatically show Prayer time based on the logged in user
  • If user state is at home the prayer time will automatically switched to Home prayer time

You may refer to the Markdown.md and copy the markdown codes.

image

Special Thanks 🎉