Skip to content

Home Assistant integration for myGekko using the myGekko Query API.

License

Notifications You must be signed in to change notification settings

StephanU/MyGekko

Repository files navigation

MyGekko

MyGekko integration for HomeAssistant using the PyMyGekko library.

GitHub Release GitHub Activity License

Project Maintenance BuyMeCoffee

hacs Discord Community Forum

This component will set up the following platforms.

Platform Description
button For light groups in MyGekko
climate Thermostats (called roomtemps in MyGekko)
cover Covers (called blinds in MyGekko)
light Lights
switch Switches (called loads in MyGekko)
water_heater Water Heater (called hotwater_systems in MyGekko)
sensor MyGekko energy_cost metrics and alarms_logics are added as sensors
scene MyGekko actions are added as scenes

Dashboard Screenshot

Installation

Via HACS

  1. Install HACS
  2. Add 'https://github.com/StephanU/MyGekko' as a Custom Repository
  3. Restart Home Assistant
  4. In the HA UI go to "Configuration" -> "Integrations" click "+" and search for "MyGekko"

Manually

  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 mygekko.
  4. Download all the files from the custom_components/mygekko/ 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 "MyGekko"

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

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

Configuration is done in the UI

The integration supports access via the MyGekko Query Api (you need a MyGekko Plus subscription) or by connecting to your MyGekko locally.

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