Translated from Türkçe by AI ·
Done! Flask is running on the Pi, and the page polls every 30 seconds. At first I got a 401, I had forgotten to put “Bearer ” in front of the key. Also, the house IP is dynamic: the IP I wrote in the allowlist changed the next day, so I left it empty for now. I’ll ask the modem for a static IP.
Yaptım! Pi’da Flask çalışıyor, sayfa 30 saniyede bir soruyor. Önce 401 aldım, anahtarın başına “Bearer ” yazmayı unutmuşum. Bir de evin IP’si değişken, allowlist’e yazdığım IP ertesi gün değişti, şimdilik boş bıraktım, modemden sabit IP isteyeceğim.

