ReeFI Dashboard — Setup
======================

1. Back up lighting settings and aquarium groups using the original interface.
2. Extract the ZIP. Keep the filename exactly: ReeFi-dashboard.html
   The /dash shortcut depends on that filename, including capitalization.
3. Connect to the same LAN as the light. Find its actual IPv4 address.
4. REQUIRED: Open ReeFi-dashboard.html in a plain-text editor. Near the top:
     window.REEFI_LIGHT_IP = "";
   Replace the empty quotes with your light's IP. For example ONLY:
     window.REEFI_LIGHT_IP = "192.168.1.50";
   Use your own address, not the example. Do not include http://, https://,
   /dash or any other path. Save as plain text, retaining the .html extension.
   Do not leave this setting blank, even when hosting the file on the light.
5. Open http://YOUR_LIGHT_IP/custom_UI.html (or HTTPS if supported).
6. Upload the edited ReeFi-dashboard.html, not the ZIP.
7. Open https://YOUR_LIGHT_IP/dash, or http://YOUR_LIGHT_IP/dash for HTTP-only
   devices. Replace YOUR_LIGHT_IP; do not type it literally.
8. If /dash is unsupported, update to the latest firmware.

Missing or invalid IP
---------------------
The dashboard displays Setup required and does not connect until a valid
IPv4 address is configured. If the light's IP changes, edit the setting and
re-upload the file. A valid IP does not bypass browser restrictions on local
file access; using the installed page is recommended.

First use
---------
Check the selected aquarium/light and confirm live readings appear.
Opening the dashboard does not save a lighting schedule. Edits stay in the
browser until you choose a save action. Applying a quick mode is a real,
temporary lighting change, not a preview animation.

The smooth-event option converts existing ramps/holds and removes event
seasonal shifts as explained in its confirmation. Review before saving.
Editing a shared spectrum profile affects other uses of that profile.

Troubleshooting
---------------
* Connecting: use the installed URL, confirm the IP and the same network.
* Shortcut not found: check the exact filename, then try the direct URL.
* Empty/broken page: an upload can be incomplete even if a response is shown.
  Re-download the installed HTML and compare its size/content with your copy.
  Re-upload if incomplete; don't change lighting settings to fix a UI upload.
* Some lights unavailable: group readings require each listed IP to be reachable.
* Slow readings: overlapping requests are skipped rather than stacked.
* Browser update needed: this single-file package uses browser gzip decoding;
  use a current browser supporting DecompressionStream.

Compatibility and testing
-------------------------
Community dashboard, not an official firmware update. Custom UI was introduced
in firmware 4.01. Readings were checked on 5.47/5.52/5.53 and Custom UI upload on
5.47. Not every write operation or firmware version has been tested.
The /dash filename convention requires ReeFi-dashboard.html. The shortcut
was not part of the installation checks described here; a direct Custom UI
URL is included above as a fallback.

Files
-----
ReeFi-dashboard.html      Upload this file.
ReeFi-dashboard-setup.txt These instructions.