Maintain your focus; use boring solutions.
The local dim sensor failed to provide proper readings; there was no way to calibrate it or fix it otherwise.
Since that was a stationary installation, I used the following workaround:
1️⃣ For those specific GPS coordinates, I created a lookup file containing sunrise and sunset timestamps for every day of the year.
2️⃣ I used UTC timestamps to avoid issues with daylight saving time updates.
3️⃣ When an event was detected, a simple script calculated the day/night-time value and enriched the AI agent’s input.







