Skip to content

A custom integration for home assistant for generac and honeywell generators

License

Notifications You must be signed in to change notification settings

bentekkie/ha-generac

Repository files navigation

generac

hacs

This component will set up the following platforms.

Platform Entities created for each generator
binary_sensor is_connected, is_connecting, has_maintenance_alert, has_warning
sensor status, run_time, protection_time, activation_date, last_seen, connection_time, battery_voltage

example

Installation

Installation via HACS

  1. Open HACS in your Home Assistant interface.
  2. Add this repository as a "Custom Repository" (https://github.com/bentekkie/ha-generac).
  3. On the HACs home screen, search for "Generac" and select it.
  4. Click the "Download" in bottom right of the page.
  5. Restart Home Assistant to apply the changes.
  6. Navigate to Configuration > Integrations.
  7. Click on the "+ Add Integration" button.
  8. Search for "Generac" and select it.
  9. Follow the on-screen instructions to complete the setup.

Manual Installation

  1. Using the tool of choice open the directory (folder) for your HA configuration (where you find configuration.yaml).
  2. If you do not have a custom_components directory (folder) there, you need to create it.
  3. In the custom_components directory (folder) create a new folder called generac.
  4. Download all the files from the custom_components/generac/ directory (folder) in this repository.
  5. Place the files you downloaded in the new directory (folder) you created.
  6. Restart Home Assistant
  7. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "generac"

Using your HA configuration directory (folder) as a starting point you should now also have this:

custom_components/generac/translations/en.json
custom_components/generac/translations/fr.json
custom_components/generac/translations/nb.json
custom_components/generac/translations/sensor.en.json
custom_components/generac/translations/sensor.fr.json
custom_components/generac/translations/sensor.nb.json
custom_components/generac/translations/sensor.nb.json
custom_components/generac/__init__.py
custom_components/generac/api.py
custom_components/generac/binary_sensor.py
custom_components/generac/config_flow.py
custom_components/generac/const.py
custom_components/generac/manifest.json
custom_components/generac/sensor.py
custom_components/generac/switch.py

Configuration

Configuration is done in the UI.

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines

Credits

This project was generated from @oncleben31's Home Assistant Custom Component Cookiecutter template.

Code template was mainly taken from @Ludeeus's integration_blueprint template