This project provides a bridge between Xcel Energy iTron Riva Gen 5 smart meters and Home Assistant. It uses zaknye/xcel_itron2mqtt for this functionalitiy but wraps it into a Home Assistant addon.
- Go to Meters and Devices in your Xcel account to enroll in Launchpad on your account. This allows you to enroll your smart meter in the program. This could take a few days.
- Once your meter is enrolled, use the above page to "Manage" your enrollment. You should see your meter labeled as "Ready to Go"
- Use the "Edit" button to add your wifi credentials to the meter. I have found this to be somewhat finicky. You'll want to use your router to verify whether the meter is on your network.
- Use your router to give your meter a static IP address on your network (using something like a DHCP reservation)
- Go here and fill out that form to get access to the SDK. You should get an email/invite from Github to join the org once you are enrollled. This could take a few days. These repos contain example code from Xcel regarding communicating with the meter.
- You must have the MQTT integration installed and configured in Home Assistant before this addon will work. MQTT information is loaded into this addon via the Home Assistant Supervisor
- You can use an external broker other than the Mosquitto addon by configuring the MQTT integration with that broker's details
-
Add this repository to Home Assistant as a source for third-party addons (click here or use the button at the top of the README). See the Home Assistant documentation if you have questions.
-
Install Xcel Itron MQTT from the
Add-On Store
at the bottom right of theSettings
->Add-ons
window. -
Certificates and LDFI are generated for you automatically on first start. The certs are placed into the
addon_configs
directory which is parallel to your Home Assistant configuration directory. You will need to SSH into your HASS instance to see this as the VSCode addon defaults to using your config directory as its project root.- The addon will also populate an
ldfi
configuration option by reading theldfi
from the cert/key in that directory. This is for your information only. Changing this setting will not change yourldfi
as that is calculated from the certificates themselves.
- The addon will also populate an
-
Take the generated LDFI over to the Meters and Devices and add a new device. Fill out the form with your LDFI and wait for Xcel to send you an email that a new device was successfully added.
-
Restart the addon and you should hopefully see a new device show up under Home Assistant's MQTT integration
-
Head over to the Energy dashboard config and choose the right devices for Home Assistant to use for its electrical tracking. See DOCS.md or the documentation tab in the addon for more details
- Integrate something to track TOU rates and expose those
Check the current version of hassio-addons/addon-base-python
currently being used in build.yaml
. You can then cd
to the xcel-itron-mqtt
directory and run the following to build the container locally: docker build --build-arg BUILD_FROM="ghcr.io/hassio-addons/base-python:<base-python-version-here>" -t local/hassio-xcel-itron-mqtt .