Add Plus battery devices into Home Assistant

Add Plus battery devices into Home Assistant

Shelly Plus battery devices can be auto-discovered in Home Assistant, but they may be missing some entities.

To enable them, you need to do some settings in the device’s web server.

In this example, I use the Shelly Plus H&T.

You can make the settings from the “Shelly Smart Control” app, from control.shelly.cloud
and from the device’s web server.

Step 1: Enable Websocket

From App or control.shelly.cloud

From device webserver

  1. Go to the device settings -> Network Setting
  2. Select Outbound websocket
  3. Enable SSL connectivity
  4. Select ca.perm
  5. Type: ws://ip of homeassistant:port number/api/shelly/ws

    Example: ws://192.168.1.100:8123/api/shelly/ws


    Note:
    If You run Home Assistant with HTTPS You may ned to use wss://
  6. Click Save

  1. Go to the device web server by entering its IP-address in a browser
  2. Select Settings
  3. Select Outbound websocket

  1. Enable Outbound Websocket
  2. Select Default TLS in CONNECTION TYPE
  3. Type: ws://ip of homeassistant:port number/api/shelly/ws

    Example: ws://192.168.1.100:8123/api/shelly/ws

    Note:
     If You run Home Assistant with HTTPS You may need to use wss://
  4. Click Save

Step 2: Done

You are now done and your Shelly device should be auto discovered by Home Assistant. You may need to reboot the Shelly device or your Home Assistant.