Skip to main content

Enasis Network Homie Automate

Project description

Enasis Network Homie Automate

:children_crossing: This project has not released its first major version.

Define desired scenes for groups using flexible conditional plugins.


codecov


Configuration example

Some basic configuration examples. See next section for more documentation.

Documentation

Documentation is on Read the Docs. Should you venture into the sections below you will be able to use the sphinx recipe to build documention in the docs/html directory.

Short-term future goals

  • Encrypting the values in the configuration files.
  • Deploying enhomie via the sdmt project.
  • Ability to send email when scene change is made.
    • Requires enconnect.stmp.Compose class.
    • Requires scene_set to be idempotent.

Long-term future goals

  • CRUD for groups and scenes in Philips Hue bridges.
  • Listener that can perform some basic actions.
  • Plugin using light level from Philips Hue devices.
  • Plugin checks current scene active for groups.

Additional scripts

  • dumper.py is useful for setting desired scenes.
  • dumper.py is useful for dumping configuration.
  • scener.py is useful for setting scene on groups.

Useful and related links

Installing the package

Installing stable from the PyPi repository

pip install enhomie

Installing latest from GitHub repository

pip install git+https://github.com/enasisnetwork/enhomie

Quick start for local development

Start by cloning the repository to your local machine.

git clone https://github.com/enasisnetwork/enhomie.git

Set up the Python virtual environments expected by the Makefile.

make -s venv-create

Execute the linters and tests

The comprehensive approach is to use the check recipe. This will stop on any failure that is encountered.

make -s check

However you can run the linters in a non-blocking mode.

make -s linters-pass

And finally run the various tests to validate the code and produce coverage information found in the htmlcov folder in the root of the project.

make -s pytest

Build and upload to PyPi

Build the package.

make -s pypackage

Upload to the test PyPi.

make -s pypi-upload-test

Upload to the prod PyPi.

make -s pypi-upload-prod

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enhomie-0.2.1.tar.gz (29.5 kB view hashes)

Uploaded Source

Built Distribution

enhomie-0.2.1-py3-none-any.whl (49.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page