Thank you Comhen, would you mind answering another question, I have been researching can you make like a checklist I would need
I hear I may need like a Ethernet cable, usb, sd card, and so on is that true and if so is there anything else I should purchase for starting this. Thank you again
It worked fine this morning. It has been working fine since I first installed, only the last couple had stopped for some reason but I did some cleanup with my setup as I had duplicate time_date sensors (i.e. time_date_2, etc) and did a full host reboot, been fine since.
Didnāt expect the duplicate sensors would have made any difference, weirdā¦
salah_fajr:
friendly_name: "Sensor Salah fajr"
value_template: >
{%- set a = states("sensor.islamic_prayer_time_fajr").split("T")[1].split(":")[0] -%}
{%- set b = states("sensor.islamic_prayer_time_fajr").split("T")[1].split(":")[1] -%}
{{ a + ":" + b }}
Can someone please explain input boolean, why itās used here? Does it sync the audio via multiple google home speakers without any delay?
I currently have it setup without input boolean and itās working but there is a slight delay between the speakers. Very small delay but enough to notice it.
Is it even possible to have multiple speakers sync like they are coming from a single source without any delay?
yep this is because each salah has its own sensor or you can create anew template sensor using another template sensor salah name
or for each salah sensor you choose any of those templates and it will give you the HH:MM
{%- set fajr = (states("sensor.islamic_prayer_time_fajr").split("T")[1].split(":")[0]) +':'+ (states("sensor.islamic_prayer_time_fajr").split("T")[1].split(":")[1]) -%}
{%- set dhuhr = (states("sensor.islamic_prayer_time_dhuhr").split("T")[1].split(":")[0]) +':'+ (states("sensor.islamic_prayer_time_dhuhr").split("T")[1].split(":")[1]) -%}
{%- set asr = (states("sensor.islamic_prayer_time_asr").split("T")[1].split(":")[0]) +':'+ (states("sensor.islamic_prayer_time_asr").split("T")[1].split(":")[1]) -%}
{%- set maghrib = (states("sensor.islamic_prayer_time_naghrib").split("T")[1].split(":")[0]) +':'+ (states("sensor.islamic_prayer_time_maghrib").split("T")[1].split(":")[1]) -%}
{%- set isha = (states("sensor.islamic_prayer_time_isha").split("T")[1].split(":")[0]) +':'+ (states("sensor.islamic_prayer_time_isha").split("T")[1].split(":")[1]) -%}
you can test them in the template manager adding lets say after any line {{ fajr }} and see the result
I just received my raspberry pi 3 model b+ in the mail along with the google home. Is any one kind enough to take the time out to explain to me what I need to do from start to finish just solely to get this automatic Azan to work throughout my house inshallah, thank you!
Downloaded HASS.io onto my sd card and got that up and running anything else I need to put on the sd card to get this to work ? Also i am very confused when it comes to programming this if anyone can help thank you brothers and sisters
Al salam alikum,
After you put the sd to your raspberry you will have to connect it to internet using the ethernet port so it loads/updates the Hassio and dependencies, this will take something between 30min to 1 hr, then you will need to read a little bit about home assistant automations, and sensors, so you can have an idea how they work, if you have any experience with python or C/C++ would help understand.
Home assistant uses langauje calle yaml, so you create those files with yaml extentions, and they use indentation like python.
for the Adan, maybe you need a media player like google audio or sonos since you are using hassio to play your files.
Donāt be afraid to start, once you start things will go smooth. hope this can be a good start
I got that far and on my computer I can see home assistant. Having little trouble going through the configure and automation files and error codes and how to word everything. Tried copy pasting some codes above but get error codes I try tweaking but still error codes