Powersensor
The Powersensor integrationIntegrations connect and integrate Home Assistant with your devices, services, and more. [Learn more] integrates Powersensor devices into Home Assistant. The integration lets you view data from Powersensor plugs and sensors and use them in automations.
Supported devices
The following devices are known to be supported by the integration:
- Powersensor Plugs with firmware >=8129
- Powersensor Sensors with firmware >=8129
Unsupported devices
Devices running firmware <8129 are not supported and should be upgraded, though devices with firmware >=8100 may have partial functionality within Home Assistant.
Prerequisites
Before setting up this integration, make sure that the following criteria are met:
- Your Powersensor plugs are powered on and connected to Wi-Fi, on the same network as Home Assistant
- Your Powersensor sensors are within range of at least one plug
- Sensors don’t send their data over your local network. They send it over Bluetooth to a nearby plug, which relays it to Home Assistant.
- Your plugs and sensors are set up in the Powersensor mobile app
- The app guides you through installing your plugs and sensors. Home Assistant doesn’t use the app, so the integration keeps working even if you delete it afterwards. You still need the app to make changes to your installation, such as adding a sensor or reinstalling one to measure something else.
- Your devices are running firmware 8129 or later (check via the Powersensor mobile app)
- UDP and multicast traffic are allowed between Home Assistant and your Powersensor plugs
- Home Assistant finds your plugs using mDNS, which relies on multicast. If your network blocks multicast, for example between separate VLANs, Home Assistant can’t discover your plugs.
Configuration
To add the Powersensor hub to your Home Assistant instance, use this My button:
Powersensor can be auto-discovered by Home Assistant. If an instance was found, it will be shown as Discovered. You can then set it up right away.
Manual configuration steps
If it wasn’t discovered automatically, don’t worry! You can set up a manual integration entry:
-
Browse to your Home Assistant instance.
-
In the bottom right corner, select the
Add Integration button. -
From the list, select Powersensor.
-
Follow the instructions on screen to complete the setup.
Reconfiguration
Each Powersensor sensor has a role that describes what it measures: your home’s mains supply, your solar panels, water, or a single appliance. The role decides which entities the sensor has, and which sensors the household view uses. Sensors normally report their role themselves, based on how you set them up in the Powersensor app.
Some older sensors (revision 6) can lose their role, for example when their battery runs flat, and don’t report it again. You can set the role of these sensors in Home Assistant:
- Go to Settings > Devices & services.
- On the Powersensor integration, select the three-dot
menu and then select Reconfigure. - Select the Role of the sensor shown, then select Next to move to the next sensor.
- For the last sensor, select Submit. Home Assistant reloads the integration to apply the new roles.
A role that a sensor reports always takes priority. If a sensor reports a different role, it replaces the one you set here. To change the role of a sensor that reports its own, remove the sensor from your installation in the Powersensor app, then install it again with the new role.
You can reconfigure the integration once it has found at least one sensor.
Supported functionality
The Powersensor integration provides the following entities.
Sensors
Which entities a sensor has depends on its role.
-
Battery
- Description: The battery level of the sensor. This is an estimate, see Known limitations.
- Available for: All sensors
-
Power
- Description: The power measured by the sensor.
- Available for: Sensors with the mains, solar, or appliance role
-
Energy
- Description: The total energy measured by the sensor. The sensor measures energy flowing in both directions, so this value can go down as well as up.
- Available for: Sensors with the mains, solar, or appliance role
-
Volume flow rate
- Description: The rate of water flow measured by the sensor.
- Available for: Sensors with the water role
- Remarks: If it stays unavailable, see Troubleshooting.
-
Water
- Description: The total amount of water measured by the sensor.
- Available for: Sensors with the water role
- Remarks: If it stays unavailable, see Troubleshooting.
-
Device role
- Description: The sensor’s current role. Shows Unknown if the sensor has no role yet, see Reconfiguration. Shows Unsupported if the sensor reports a role that Home Assistant doesn’t support.
- Available for: All sensors
- Remarks: Diagnostic entity
-
Signal strength (Bluetooth)
- Description: The strength of the Bluetooth signal between the sensor and the plug that relays its data.
- Available for: All sensors
- Remarks: Diagnostic entity
Plugs
Every plug has the following entities.
-
Power
- Description: The power used by the appliance connected to the plug.
-
Voltage
- Description: The mains voltage at the plug.
- Remarks: This entity is disabled by default
-
Apparent current
- Description: The total current drawn by the appliance connected to the plug.
- Remarks: This entity is disabled by default
-
Active current
- Description: The part of the current that is in phase with the voltage and delivers power to the appliance.
- Remarks: This entity is disabled by default
-
Reactive current
- Description: The part of the current that is out of phase with the voltage and does not deliver power to the appliance.
- Remarks: This entity is disabled by default
-
Energy
- Description: The total energy used by the appliance connected to the plug.
-
Device role
- Description: The plug’s role, which is always Appliance.
- Remarks: Diagnostic entity
Household view
The integration adds a Household view device that combines the readings from your mains and solar sensors into figures for your whole home. Its entities appear once Home Assistant has found a mains sensor. The solar entities appear once it has also found a solar sensor.
-
Power - home use
- Description: The power your home is using.
- Available for: Homes with a mains sensor
-
Power - from grid
- Description: The power your home is drawing from the grid.
- Available for: Homes with a mains sensor
-
Energy - home usage
- Description: The total energy your home has used.
- Available for: Homes with a mains sensor
-
Energy - from grid
- Description: The total energy your home has drawn from the grid.
- Available for: Homes with a mains sensor
-
Power - to grid
- Description: The power your home is sending to the grid.
- Available for: Homes with a mains sensor and a solar sensor
-
Power - solar generation
- Description: The power your solar panels are generating.
- Available for: Homes with a mains sensor and a solar sensor
-
Energy - to grid
- Description: The total energy your home has sent to the grid.
- Available for: Homes with a mains sensor and a solar sensor
-
Energy - solar generation
- Description: The total energy your solar panels have generated.
- Available for: Homes with a mains sensor and a solar sensor
Actions
This integration does not provide any custom actions.
Known limitations
- The household view only calculates figures while all of its sensors are reporting. If your mains or solar sensor stops reporting, the household view entities keep their last values and stop updating until it reports again. If your home no longer has solar, for example after you move, set up your plugs and sensors again in the Powersensor app, then remove the integration and add it again.
- The integration supports one Powersensor installation per network. An installation has one mains sensor and at most one solar sensor, and Home Assistant can’t tell which installation a plug or sensor belongs to. If your network has more than one mains or solar sensor, because it has more than one installation or an installation isn’t set up correctly, the household view combines readings from the wrong sensors and shows incorrect figures. Each sensor’s own entities still show correct values. To fix this, factory reset the installation and set it up again in the Powersensor app.
- Changing a sensor’s role doesn’t remove the entities that belonged to its previous role. Role changes are often temporary, and removing those entities would also remove their recorded history. After Home Assistant restarts, entities that no longer match the sensor’s role show as unavailable, and you can delete the ones you no longer need.
- A role you set in Home Assistant is replaced as soon as the sensor reports a role itself. To change the role of a sensor that reports its own, remove the sensor from your installation in the Powersensor app, then install it again with the new role.
- Sensors aren’t linked to a specific plug in Home Assistant. Any plug within range can relay a sensor’s data, and a sensor moves to another plug when it can’t reach its current one. If you remove a plug, its sensors can take a few hours to find another plug, and their entities are unavailable until they do.
- The battery level is estimated from the battery’s voltage, so it’s approximate.
Troubleshooting
Water sensor entities stay unavailable
Symptom: Volume flow rate and Water show as unavailable
The Volume flow rate and Water entities of a water sensor show as unavailable and don’t update.
Resolution
The water sensor may be missing its water meter scale. To set it:
- In the Powersensor app, open the water sensor’s device screen.
- Set the Water meter scale.
Removing a device
To remove a plug or sensor you no longer use from Home Assistant:
- Unplug the plug, or switch off the sensor.
- Wait about 5 minutes, until Home Assistant stops receiving data from it.
- Go to Settings > Devices & services, select Powersensor, and select the device.
- Select the three dots
menu and then select Delete.
A device that’s still on your network can’t be deleted, because it would come back with its next reading. The household view can’t be deleted.
Removing the integration
This integration follows standard integration removal.
To remove an integration instance from Home Assistant
- Go to Settings > Devices & services and select the integration card.
- Next to the entry you want to remove, select the three dots
menu. Then, select Delete. - Depending on the integration, the entries are listed under one of the following headings:
- Devices
- Hubs
- Services
- Integration entries
- Depending on the integration, the entries are listed under one of the following headings:
- To confirm, select Delete.
- Home Assistant also deletes the devices and entities of the entry.
- If Home Assistant asks you to restart, restart Home Assistant.
- If Home Assistant asks whether to also delete the application credentials, select Remove or Keep.
- If you keep them, Home Assistant uses them automatically when you add the integration again.
- To delete them later, refer to Deleting application credentials.