Introduction:
Klik hier voor de Nederlandse versie.
With this advanced energy dashboard for Home Assistant, you can easily view all the data from your smart meter in one comprehensive overview. What’s more, you can even monitor the current and voltage per phase, providing a detailed understanding of your energy consumption patterns.
Click here for a LIVE DEMO. Username: demo – password: smartgateways
Unlike other solutions, the Smart Meter Gateway from Smart Gateways makes all the data from your Smart Meter available, which means our dashboard provides even better insight. This empowers you to be more energy conscious and make informed decisions about your energy usage. If you have a Smart Meter (DSMR P1) and want to connect it to Home Assistant you can use MQTT to benefit from all the functionality. The Smart Meter Gateway from Smart Gateways is the preferred way to connect all smart electricity meters from Europe which use the DSMR or SMR standard and have a P1 port.
The Smart Gateways Energy Dashboard for Home Assistant is the perfect complement to Home Assistant’s existing energy dashboard. Of course you can use both dashboards next to each other. Just pick the dashboard you like the most.
Please note:
- the available data depends on the brand and type of smart meter
- You will only see Water and Gas when these meters are connected to your Smart Electricity Meter
- Smart Watermeters are only available in Belgium
Pre-requirements to setup the dashboard
Setting up the dashboard can be done in a few easy steps. Complete each step one by one and verify if the step is completed before proceeding with the next step.
- First install Mosquitto MQTT Broker on Home Assistant using this manual
- Connect the Smart Meter Gateway using this manual.
- Install HACS (Home Assistant Community Store) using this manual
Install the Apexcharts-card plugin into Home Assistant
When you completed all the above steps it’s time to add the apexcharts-card repository to Home Assistant. You have to do this using HACS.
- Click HACS on the sidebar of Home Assistant
- Click Frontend
- Click EXPLORE & DOWNLOAD REPOSITORIES in the lower right corner
- Type apexcharts-card in the Search for repository box
- Click DOWNLOAD in the lower right corner
- Select the latest version and Click DOWNLOAD
- RELOAD the browser to activate the apexcharts-card plugin
Add additional MQTT Configuration for diagnostical data
*Send a copy of your order or the invoice (not the shipment information) to support@smartgateways.nl to receive the password for the configuration files.
The Advanced Energy Dashboard will show some diagnostical data from the Smart Meter Gateway. This data is sent by the gateway through MQTT. You can add this to Home Assistant by adding a mqtt file. You first have to install the File editor Add-on.
- Within your Home Assistant frontend/home navigate to the Settings menu
- Click Add-ons
- Click ADD-ON STORE in the lower right corner
- Go to the Search add-ons box
- Type File editor
- Click on File editor from the list
- Click INSTALL and wait for the File editor to be installed
- Enable Start on boot, Show in sidebar and Watchdog
- Click START to start the broker
Add the Packages directory to Home Assistant and place some configuration files
When using the packages directory for all your .yaml configuration files, you are able to sort all configuration in specific files for each integration. You have to edit the configuration.yaml file first for Home Assistant to use the packages directory.
- The file editor is shown in the sidebar. Click on the File editor icon
- Click on the configuration.yaml file
- The contents of the configuration.yaml file are shown
- Insert the following configuration into the file:
homeassistant: packages: !include_dir_named packages
- Click the save button (Floppy Disk Icon) on the upper right corner to save the configuration.yaml
- Click on the Browse File System Icon on the upper bar
- Click on the New Folder icon (second icon)
- name the new folder packages
- Click OK
- Download the following file (disable pop-up blockers)
- Enter Password to Download:
- Unpack the zip file
- Place the file smartgateways_smartmeter.yaml in the packages folder by using the Upload File button within the File editor Add-on
- Save the file
- Restart Home Assistant
Add the Advanced Energy Dashboard to Home Assistant
When you completed all the above steps it’s time to add the Advanced Energy Dashboard to Home Assistant.
- Enable Advanced Mode for your user account
- Within your Home Assistant frontend/home navigate your user profile (in the lower left corner)
- Enable Advanced Mode to unlock advanced features
- Open the file smartmeter_dashboard.txt from the downloaded zip file and copy the contents of this file to the clipboard
- Click the three dots in the upper right corner of the dashboard in Home Assistant
Click on the 3 dots again
- Click Raw configuration editor
- Scroll till the end and start a new line
- Paste the contents of the Dashboard panels file into the editor
- Click SAVE in the upper right corner
- Close the editor by clicking the cross on the upper left corner
- Notice the new Advanced Smart Meter Dashboard.