Setup and options

This page assumes the integration is installed, see Energy Node Companion.

Set up

  1. Settings → Devices & Services → Add Integration → “Energy Node Companion”.
  2. Check the address. It is pre-filled from the node’s device link in Home Assistant, for example http://energy-node.tail1234.ts.net:8080.
  3. Submit. The integration checks that the dashboard answers and speaks the same exchange version, then connects.

The setup dialog with the dashboard address

Use the dashboard’s own port (8080 by default), not port 80. The reverse proxy on port 80 overwrites headers the integration relies on. If the dashboard runs on another port, change it in the address field.

Leave Verify certificate on unless the address uses https:// with a self-signed certificate.

To change the address later, open the integration and choose Reconfigure.

The address is only suggested when Home Assistant knows the MQTT device “Energy Node” and the node has a Tailscale name. Otherwise the field is empty and you enter the address by hand.

Pair with the dashboard

Pairing is needed for the sidebar page to sign in with Home Assistant accounts (see Dashboard in the sidebar). Without pairing the integration still delivers its values, and the sidebar page uses a guest session. Pairing also gives the Home Assistant accounts their presets, as described in Dashboard in the sidebar.

  1. In the dashboard open Settings, Users, section Home Assistant, and choose Create pairing code. The code has 12 characters and is valid for 10 minutes. It works once.
  2. In Home Assistant open the integration and choose Configure. Enter the code in the field Pairing code and save.

The integration connects to port 8081 of the node, the companion port. The node serves HTTPS there with its own certificate, which it creates once. Home Assistant must be able to reach port 8081 as well as the dashboard’s port. The installer opens it in the firewall. Pairing fails with “Is port 8081 of the node reachable?” when it cannot be reached.

The code never leaves the two systems. Both sides prove that they know it, and the proof is bound to the certificate of port 8081. The code therefore only works with this node.

Pair again at any time. The new pairing replaces the old one, and the old token stops working at once. To end the pairing from the dashboard, choose Unpair in the same section. All sessions of Home Assistant accounts end then. Local accounts stay signed in.

If the dashboard stops accepting the pairing, the integration logs a warning, removes the token and continues as a guest, as if it had never been paired. Pair again to restore the sign-in.

Options

Open the integration and choose Configure to change what it does. Saving reloads the integration.

The options dialog

Option What it does Default
Supply history Fills gaps in the dashboard’s history charts from the recorder. See History backfill. On
Sidebar Shows the dashboard in the Home Assistant sidebar, for all users, only for administrators, or not at all. See Dashboard in the sidebar. All users
Name in the sidebar The label of the sidebar entry. Energy Node
Icon in the sidebar The icon of the sidebar entry. mdi:solar-power-variant

Clear the name or the icon to go back to the default.

History or the sidebar must stay on. With both off the integration would do nothing, so the form refuses to save.

Written for Energy Node v0.11.0 (Home Assistant Energy Node Companion v0.4.0).

Edit on GitHub