The sun's path is arithmetic — your latitude and the date fix it exactly. Only the obstructions need a photo. Together they give real hours, not a guess.
Stand where the plant will go and shoot the sky it can see. Two or three shots, turning as you go, beat one.
Hold the phone flat and point it the way you shot. Railings and magnets pull the reading — if it looks wrong, tap a direction instead.