RTC without WLAN-Connection


I have a Photon, thats conected to my WLAN at home and the RTC-Clock is syncing. The display shows the right time - everything is perfect. A battery is connected to Vin for the RTC.

Now I want to disconect the clock from power, move it to a place without WLAN, repower it and want to see the time from the RTC. But my Photon does nothing, because it waits for a WLAN. Is there a way to check if WLAN is available and connect to it, or work offline when no WLAN is near?

Thanks for your help,

Similar questions were asked tons of times

These doc keywords will also help