The Sensorbox integration allows you to integrate your Sensorbox 1.5 with Home Assistant. This integration provides real-time power consumption data for your home or specific circuits, enabling you to monitor and analyze your energy usage effectively.
- Real-time power monitoring for up to three phases (L1, L2, L3)
- Hourly power consumption calculation
- Customizable update interval
- Easy integration with Home Assistant's Energy Dashboard
- Calibration option for improved accuracy
- Sensorbox 1.5 connected to your local network
- Ensure that HACS is installed.
- In the HACS panel, go to "Integrations".
- Click on the three dots in the top right corner and select "Custom repositories".
- Add the URL of this repository:
git@github.com:kasperiio/sensorbox-15-custom-component
. - Select "Integration" as the category.
- Click "ADD".
- Close the custom repositories window.
- Click the "+ EXPLORE & DOWNLOAD REPOSITORIES" button.
- Search for "Sensorbox 1.5" and select it.
- Click "Download" in the bottom right corner.
- Restart Home Assistant.
- Download the
sensorbox15
folder from this repository. - Copy the folder to your
config/custom_components
directory. - Restart Home Assistant.
- In Home Assistant, go to Configuration > Integrations.
- Click the "+ ADD INTEGRATION" button.
- Search for "Sensorbox" and select it.
- Follow the configuration steps:
- Enter the IP address of your Sensorbox.
- Enter the Modbus port (default is 502).
- Set the calibration value (default is 1.0, adjust if needed for accuracy).
- Configure the update interval (optional).
After setting up the integration, you'll have access to the following sensors:
sensor.sensorbox15_l1_power
: Power consumption on L1 phasesensor.sensorbox15_l2_power
: Power consumption on L2 phasesensor.sensorbox15_l3_power
: Power consumption on L3 phasesensor.sensorbox15_total_power
: Total power consumption across all phasessensor.sensorbox15_hourly_consumption
: Hourly consumption calculation
You can use these sensors in your automations, scripts, or add them to your Energy Dashboard for comprehensive energy monitoring.
To add the Sensorbox data to your Energy Dashboard:
- Go to Configuration > Energy.
- In the "Electricity grid" section, click "Add consumption".
- Select the
sensor.sensorbox15_hourly_consumption
entity. - Click "Save".
Now your Sensorbox data will be included in your Energy Dashboard visualizations.
If you encounter any issues:
- Ensure your Sensorbox is connected to your network.
- Check that the IP address and port are correct in the configuration.
- Verify that your Home Assistant instance can reach the Sensorbox on your network.
- Check the Home Assistant logs for any error messages related to the Sensorbox integration.
- If you're experiencing accuracy issues, try adjusting the calibration value in the integration settings.
Contributions to improve the Sensorbox integration are welcome! Please submit pull requests or open issues on the GitHub repository.
This integration is released under the MIT License.
This integration is not officially associated with or endorsed by the Sensorbox manufacturer SmartEVSE. Use at your own risk.