Privacy policy

Last updated

This notice explains what personal data backyard.energy collects when you use the service, why we process it, who else receives it, how long we keep it, and the rights you have under the EU General Data Protection Regulation (GDPR). It describes only what the service actually does.

Terms of service

Who is responsible

The controller of your personal data is Backyard Energy Management OÜ, registry code 16055664, Tallinn, Estonia.

For any privacy question or to exercise your rights, write to my@backyard.energy.

What we collect

  • Account: your first and last name, e-mail address, username and password (stored only as a bcrypt hash), and, if you sign in with Google, your Google account identifier.
  • Personal identification code (isikukood), optional: only if you enter it, to identify you on invoices and e-invoices.
  • Preferences: language, country, time zone, display theme, date format and the alert settings you switch on.
  • Your sites: their names, addresses and map coordinates, their meters and devices, contracts, prices and the other inputs you enter, and meter readings at hourly or 15-minute resolution. Readings can show when a household is at home, so we treat them as personal data.
  • Files: contract documents you upload, and readings files you import (how long each is kept is said below).
  • Companies: when you create or join a company, your membership, your role in it (owner, admin, member or viewer) and the access to its sites you are given. An invitation stores the invitee's e-mail address, the role offered and who invited. The company's owners and admins see its members' names, e-mail addresses, roles and site access. A person you invite sees your name and the names of the company's owners.
  • Sharing: when you share a site with someone by e-mail and an account exists for that address, we store their access to the site (view, edit or admin) and its period. If no account exists, nothing is stored. The person you share with sees your name as the site's owner. A site you share into a company can be seen by that company's owners and admins.
  • Keys: API keys you create are stored only as a hash, with their name, their first characters, expiry and last use. Estfeed keys you add are stored encrypted (AES-256-GCM), because we use them to fetch your readings.
  • Agent sign-in: when an AI tool starts a sign-in, we store the IP address and user-agent of that request, even if nobody approves it. When you approve it, we store a session record (a client label taken from that user-agent, the company or personal scope, read-only or write mode, creation, last use and how it ended), the IP address each of its credentials was issued to, and a log of each call it makes (method, route without its parameters, status and time). Credentials are stored only as hashes.
  • Sessions and security: for each sign-in, a hash of the session token with the IP address and browser user-agent, and audit-log records of security-relevant actions (sign-ins, profile changes, account deletion), including IP address and user-agent.
  • Product-usage counters: a per-day count of how many times you opened each screen of the application, stored against your account. No page-by-page event log is kept, so an individual session cannot be reconstructed from it. Nothing is sent to a third party, and no tracking cookie or device fingerprint is involved.

Why we process it

  • To provide the service: computing your sites' energy and money flows, costs, forecasts and reports.
  • To authenticate you and keep your account secure.
  • To send the e-mail the service needs: e-mail verification, password reset, company invitations, the notice that you approved an agent sign-in (it names the client, its IP address and the read-only or write mode), the notice that an agent session was stopped, and the alerts you switch on.
  • To place a site on the map and fetch its weather and solar forecasts.
  • To recognise the columns of a readings file, when you ask for it.
  • To meet legal and accounting obligations where they apply.
  • To learn which parts of the application are actually used, so that unused ones can be removed rather than guessed about. Only aggregates are ever displayed (a view count and a count of distinct users), never who opened what.

Legal basis

We process account and site data to provide the service you asked for (contract). Security logging, abuse prevention and product-usage counting rely on our legitimate interest. The optional personal identification code relies on your consent, which you can withdraw at any time by removing it.

How long we keep it

  • Account and site data: for as long as your account exists.
  • When you delete your account: your name, e-mail address, username, personal identification code and Google identifier are erased at once (what remains of the account is an anonymous placeholder), and so are your preferences, keys, sessions, agent sign-ins, company memberships, notifications and import records. Sites that someone else has access to, or that are shared into a company, are kept. Your other sites are archived now and deleted, with their readings, after 30 days (the clean-up runs once a month). Sites that belong to a company stay with the company. If you are the only owner of a company, add another owner first.
  • Readings files: the file you import is kept only while you import it and deleted about half an hour after your last step. The readings it brought in stay with the meter. A record of the import (file name, row counts and period) is kept until you undo the import or delete the meter.
  • Contract documents: until you delete the document or its contract.
  • Session records: deleted 7 to 30 days after the session expires (a session lasts at most 24 hours).
  • Audit logs: about 12 months, then deleted automatically. Your identifiers in them are removed when your account is erased.
  • Product-usage counters: about 13 months, then deleted automatically. They are also deleted immediately when your account is erased.
  • Agent sign-in: a daily job deletes a sign-in request, with its IP address and user-agent, 1 day after it expires (a request expires after 5 minutes). It deletes the call log after 90 days. It deletes the IP address of a credential 30 days after that credential expires while the session is in use. It deletes a session that was revoked or has no usable credential left, with its credentials and client label, 90 days after it was revoked or its last credential expired. What is linked to your account is deleted immediately when your account is erased.

Who else receives data

  • Hosting: the service, its database and its operational logs run on a server we administer. Errors are logged on that server only. No error-tracking service receives them.
  • E-mail delivery: an SMTP e-mail provider delivers our e-mails to your address.
  • Google: only if you sign in with Google, to confirm who you are.
  • Estfeed, the Estonian energy data exchange: only if you connect it, to import your metering data with your Estfeed key.
  • Anthropic: only when you ask for automatic column recognition while importing a readings file, or press Send after uploading an electricity bill. For a readings file, the file name and the first 15 rows are sent to Anthropic's Claude API to find the date and energy columns. For a bill, its text is sent to read the energy price terms, after we replace names and addresses where the bill shows them, e-mail addresses, phone numbers, bank accounts, personal codes, contract and customer numbers, metering-point codes and the bill's number. A name written inside other text may remain. You see the text before you send it. The bill file is not stored. We keep the values you confirm and the bill's number.
  • OpenStreetMap Nominatim: the street address, postal code and country of a site are sent to find its coordinates, and the point you choose on the map is sent to find its address.
  • OpenStreetMap map tiles: when a page shows a map, your browser loads the map images from tile.openstreetmap.org, which therefore sees your browser's IP address.
  • Open-Meteo: weather is fetched by sending a site's coordinates, nothing else.
  • Forecast.Solar: a solar production forecast is fetched by sending a site's coordinates and its panels' size, tilt and direction.
  • Market prices are fetched from Elering and ENTSO-E. No personal data is sent to them.
  • Your own AI tool: a tool you approve through agent sign-in, or a program using your API key, receives what it reads with that approval, read-only or with write access if you allowed it.
  • Fonts are served from our own server. Your browser does not contact Google Fonts.

Outside the European Union

Two of the recipients above are based in the United States, so what is sent to them leaves the European Union: Google, only if you sign in with Google, and Anthropic, only if you ask for automatic column recognition while importing a readings file or press Send to read an electricity bill. Nothing else is sent to them. Ask us at my@backyard.energy which safeguards apply to these transfers.

Your rights

  • Access: download a machine-readable export of your personal data from your profile. Your sites' readings and figures can also be read through the API with your own API key or agent.
  • Rectification: correct your details in your profile, or write to us.
  • Erasure: delete your account from your profile. What is kept, and why, is said under How long we keep it.
  • Portability: the export is structured, machine-readable JSON.
  • Restriction and objection: ask us to limit certain processing, or object to it.
  • Consent: withdraw it at any time. This does not affect processing before the withdrawal.
  • Complaint: you can lodge a complaint with the Estonian Data Protection Inspectorate (Andmekaitse Inspektsioon).

Cookies and browser storage

  • Every cookie we set is strictly necessary or remembers a choice you made. We use no advertising, analytics or third-party tracking cookies.
  • authjs.session-token: keeps you signed in on the website (httpOnly, 24 hours).
  • bem-token: the same sign-in for the API (httpOnly, at most 24 hours).
  • bem-csrf: protects your changes against forged requests (24 hours).
  • While you sign in, the sign-in library (Auth.js) also sets short-lived helper cookies of its own (csrf-token, callback-url).
  • NEXT_LOCALE: the language you chose (1 year).
  • An AI tool that signs in through agent sign-in holds three httpOnly cookies of its own: bem_agent_pending for the sign-in in progress (5 minutes), and bem_agent_access and bem_agent_refresh for its session (30 days).
  • Your browser's own storage, which stays on your device, remembers the company you are working in (bem-active-company), whether the agent guide is open (bem-thin-guide), an unfinished add-a-site form (bem-thin-add-site), how you read the front page (bem.landing.view), the page to return to after signing in (bem-thin-callback), and in Classic display choices such as the theme.

Contact

For privacy questions or to exercise any of the rights above, write to my@backyard.energy.