How to use Prayer Time with esp32.
Asalam-U-Aliakum Brother,
I am struggling to use board ESP32.
appear on serial monitor value is zero. see below.
but will be board ESP8266 it's working. could you help me please?
Regards, Arrayan
I am sorry for the problems you are facing. I will try to have a look at weekend about this. have you tried to downgrade/upgrade the ESP32 kernal in the Arduino IDE ?
Hi Brother,
Thanks for the response. I tried on Arduino version 2.3.4 and board esp32 version 3.1.1.
I have tried it during the week end. and I can confirm it doesn't work with ESp32. I am not sure why , but it probably related to some data-type incompatibilities. it requires some effort to fix this. I will have to spare that effort during an extended period of time. So a solution will not be available soon. Sorry about that. But if anyone is willing, they can fix it and issue a Pull Request to be merged .
Arduino-Prayer-Times-20250129.zip
hi asmaklad, i have made some fix for a couple years ago (attached), i used it with esp32 and esp8266, so far it work, but i dont know how to Pull Request :), hope it work for anyone too.
Many thanks @busel7 I will test it and push it my self (with credits to you in the README) Jazak Allah khairan.
Nice, me thank you for your this great library, this library is very useful for me.
Jazak Allah khairan.
Hi @asmaklad and @busel7 ,
Thanks for the response. I tried on your file zip, still issued. My step is replacing library with file zip from @busel7 . I dont know what happaned with my board esp32? See below.
.
and I compared file PrayerTimes.h, on the left from @asmaklad and right is new file from @busel7 .
Yes I tried it too, but still doesn't work. It needs some time and attention to properly fix it and trace where the failure is taking place in the lib. I still assume it is something related to data types, int, float, double compatibility between ESP32 and ESP8266. Or maybe some kind of default function is not able to convert double to float properly.
I will try to have a look again. This not a promise. I will give it a 2nd try before Ramadan.
Dear all, I am not able to figure out why the library doesn't work for ESP32. It is above my know how for the time being. Unless the community helps out,I can not make any promises about adding this feature. Sorry for that.
A suggested workaround : is to to use an Arduino or ESp8266 module attached to the ESP32 module and communicate together via serial communication.
Regards
I use Ubuntu 24.04 OS , later I will try on Windows OS
Hi @asmaklad , Today, I has been to resolve the issued on ESP32 Board and running well on ESP 8266 board . please see my github AR Project.
Thanks to Allah SWT, @asmaklad and @busel7 .
@busel7 kalau tidak sibuk ngopi meetup mas ditangerang..hehehe