I have an EMU2 and have been wanting to get the readings imported into HASS for some time now.
Looking at lots of existing examples/components/whatnot I managed to make a custom component (more information/references at github location)
Hope this lets anyone else with an EMU2 get readings into HASS!
- 1-2 times at startup it did not initialize correctly (and would not update sensor values until restart).
- 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)
# Example configuration.yaml entry sensor: - platform: rainforest port: '/dev/ttyACM0'