Solar panel tilt finder
Lay your phone flat on the panel and it reads the angle straight off your device's sensors.
How to use it
- Tap "Start measuring" and allow motion + location access if your phone asks.
- 0° is flat, 90° is standing straight up.
- Place the phone flat against the panel's face, screen up, top edge pointing up-slope.
- Read the angle and the facing direction — both update live as the panel moves.
You'll feel a short buzz right when you tap "Start measuring" (confirms vibration works on your phone), and again once the panel settles within 2° of the ideal tilt. iOS Safari doesn't support vibration at all — that's an Apple platform limit, not a bug, so iPhones will stay silent. On Android it needs Chrome or a Chromium-based browser, the phone's vibration/haptics setting turned on, and — if this widget sits inside an iframe on your site — the iframe tag needs allow="vibrate" added to it, or the browser blocks it by default. Facing uses your phone's compass, so it's an approximation — keep it away from metal or magnets, and give it a slow figure-8 wave first if the reading looks off. Sensors need https and a real phone — this won't read anything on desktop or over a plain file:// link.