Each person sees only the devices assigned to them; an admin sees and manages everything.
On a brand-new install, the first person to sign in becomes the admin.
Add a device
Devices
Seen connecting, not yet added
These devices are connected to this server right now but aren't in the list yet. Press "+ Add" to give one a name and an owner.
Add my device
At the device: go to the SYSTEM page, press OK, choose Pair with account. Or on the device's own
dashboard: Settings → Central relay → Get pairing code. Type the 6 digits it shows here.
My Telegram
Get your devices' alerts in Telegram: a device losing its connection or coming back, trips, limits reached.
Only you, and the people you add below, get the alerts for your devices: one bot for all of you.
1. In Telegram, open @BotFather, send /newbot, and follow its questions. It gives you a bot token. 2. Paste the token below. 3. Open your new bot in Telegram and press Start (or send it any message), then press Find chat IDs. 4. Anyone else who should get the alerts does step 3 too (they open the same bot and press Start); press Find chat IDs again and add them.
One chat ID per person, separated by commas; a name before a colon is optional. A group works too (its ID starts with -).
Firmware updates
Upload EVLimiter.ino.bin (from build.cmd, or Sketch → Export Compiled Binary). Units download it from this
server by themselves, so it works from anywhere. A unit that is charging refuses and says so, rather than cutting the charge;
a unit that fails to install keeps running its old firmware.
Alert timing
How long this server waits before it reports a unit as offline. Changes apply at once to disconnects from then on.
The first is how long a unit must stay disconnected before the Telegram message goes out (0.1 to 1440 minutes; a Wi-Fi blip or a server restart shorter than this is not reported).
The second is how long a dropped unit still counts as online, so a slow link does not flip the site to the offline copy (0 to 600 seconds; 0 turns it off).
People
A new person sees nothing until you assign a device to them (above, or with "Owner" on a device card).
Needs SUPABASE_SERVICE_ROLE_KEY set on this server.