To use your Rainforest Automation EMU-2™ Energy Monitoring Unit in Home Assistant follow the Installation
and Configuration
instructions.
Place the following files in config\custom_components\rainforest\
:
Add the following to your configuration.yaml
file:
# Example configuration.yaml entry
sensor:
- platform: rainforest
port: '/dev/ttyACM0'
- description: The comm port which the meter is connected to.
- required: true
- type: string
- description: The name to use when displaying this sensor.
- required: false
- type: string
- If the emu2 fails to initialize serial (e.g. pi not recognizing it, try different USB cables)
- If not running HASSIO (e.g. Ubuntu), make sure to have pyserial (via pip3 install pyserial)