Table of Content
Click on Adhan and then click on TRIGGER. Wait a minute and if you hear adhan from your google home mini that’s mean everything is successfully setup. In the code below you have to enter your google home mini name in small letters. If the name is more than a one-word name, you have to put underscore after every word. Let say the name of your device is My Home, it should be written as my_home.

A simple trick to know whether your mp3 file is accessible on your network or not. Paste this url in any browser and see whether you get a notification to download adhan_fajr_makkah.mp3. Thank you very much for the code. I got it to work but there is one issue. The sensor has the data built on within it. That means the azan only works for one day.
Learn about the latest features from Google Home.
You can decrease it to a minimum of 0.1. You need to replace values at TWO such places in code below. Don’t forget to change latitude, longitude, elevation and time zone to match your location. With Google Home, your Nest and Matter devices work together reliably to help with your household needs. Just look for smart devices with a Works with Google Home or Matter badge. @mohdquadri yes it needs to be on same network.

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
OJ7/automations.yaml
On this page, look on the top for a folder icon in the blue bar. Click on it and a list of files will appear. Now copy the code below and paste it in the editor on the right-hand side. Again click on folder icon and then click on automation.yaml file. Copy and paste the code below in the editor on the right-hand side. You can do this by adding time in seconds at the end of a template of your desired azan in automation.yaml file.

Open balenaEtcher, click on select image, and choose the installation image that you have. Next click on change under the drive icon and select your SD card and click continue. Next click Flash and wait for the process to get completed. Once you get notification Flast Complete, close the balenaEtcher and look for a drive in your PC with name hassos-boot.
Adhan Automation. Prayer calls using Home Assistant and Google Home Mini
Open new browser page, type in your raspberry-Pi IP address along with 8213 as you did previously. HomeAssistant page will appear. Key in your credentials and you will see a dashboard with an automation card. If your google home mini is not already connected to the internet, now set it up before proceeding further.
Find out about the latest update to the Google Home platform and the totally redesigned, more personalized Google Home app. Reaspberry pi version is ready. I would need someone to test it. Let me know if you are interested. Clone with Git or checkout with SVN using the repository’s web address.
About this app
Again open this folder and create a file in it with name my-network. Open this file with notepad and paste the following code in it. After this, save and close the file. This information will help your raspberry-Pi to connect to the internet via WiFi. Don’t forget to replace SSID and password in the code below with correct values of your WiFi.

Don't forget to replace SSID and password in the code below with correct values of your WiFi. At this point, you will be presented with the home assistant homepage with information that it will be ready in 20 minutes. In my case, it took more than 60 minutes to get ready. The homepage refreshes itself and it will ask you to set your name, username and password.
Can you please share your final configuration and automation file details. I am having difficulty to automate these triggers. Now set up your Google Home Speaker before proceeding if your google home mini is not already connected to your network.

Having a service option which runs in background would be ideal. You can still have the UI to update the settings which Service will pick it up. It isn't really working but worked once I switched wifi networks even tho google home is on the 5ghz but my phone was on the 2.4ghz . When they were on the same network 5ghz it didn't work. I would like to ask for a trigger in the app so that we can test if azan will work or not without waiting for the azan time. This will allow to proactively trouble shoot.
No comments:
Post a Comment