🏡 Open source home automation that puts local control and privacy first.
Go to file
Antonio Larrosa 2d6d6ba90e Forget auth token when going offline so we can reconnect (#26630)
When an amcrest camera was unplugged and then plugged again
it was impossible to reconnect to it, since the old
auth token was reused while we need to use a new one.

In fact, the method that is called every minute to check
the camera availability is going to fail always since we're
reusing an old token.

By forgetting the token (setting it to None) when going offline,
we ensure that we'll regenerate it in the next commands thus allowing
to reconnect to the camera when it comes back online.
2019-10-17 11:29:08 +02:00
.devcontainer Update devcontainer.json 2019-09-30 11:01:08 +02:00
.github Update documentation link URL for integrations (part2) (#27117) 2019-10-02 09:34:07 -07:00
.vscode Improve startup of devcontainer (#26572) 2019-09-11 11:20:21 +02:00
docs fixed minor typo in docs/source/api/helpers.rst (#27282) 2019-10-07 10:25:36 -07:00
homeassistant Forget auth token when going offline so we can reconnect (#26630) 2019-10-17 11:29:08 +02:00
script Typing misc fixes (#27543) 2019-10-14 13:03:37 -07:00
tests Add device action support to the alarm_control_panel integration (#27616) 2019-10-16 21:34:56 -07:00
.codecov.yml Only comment with changed coverage on release PRs [skip-ci] (#23224) 2019-04-18 20:58:35 -07:00
.coveragerc Add sensor platform to Airly integration (#27717) 2019-10-16 12:06:52 +02:00
.dockerignore Docker cleanup. (#8226) 2017-06-30 08:07:33 -07:00
.gitattributes Fix line endings [skipci] (#12333) 2018-02-11 23:07:28 -08:00
.gitignore Ignore test output 2019-09-11 08:28:57 +02:00
.hound.yml Add .hound.yml 2016-11-13 11:34:09 -08:00
.ignore Include .ignore file for search utilities (#5290) 2017-01-16 22:52:53 -08:00
.pre-commit-config.yaml Run mypy in pre-commit without args to match CI (#27741) 2019-10-16 21:36:43 -07:00
.readthedocs.yml Rename readthedocs file (#17718) 2018-10-23 17:39:17 +02:00
.travis.yml Bump Travis timeout to 50 minutes (#26978) 2019-09-27 14:20:00 -07:00
CLA.md Update LICENSE.md and CLA.md to reflect the new Apache 2.0 license 2017-01-28 12:12:34 -08:00
CODEOWNERS Bump ndms2-client to 0.0.10 (#27734) 2019-10-16 20:28:12 +02:00
CODE_OF_CONDUCT.md Add organization docs 2017-01-22 16:21:20 -08:00
CONTRIBUTING.md Update developer doc links to developers.home-assistant.io (#16622) 2018-09-15 13:27:37 +02:00
Dockerfile.dev Improve startup of devcontainer (#26572) 2019-09-11 11:20:21 +02:00
LICENSE.md Update license to official GitHub template (#16470) 2018-09-07 10:11:51 +02:00
MANIFEST.in Consolidate frontend (#9915) 2017-10-24 19:36:27 -07:00
README.rst Update documentation link URL for integrations (part2) (#27117) 2019-10-02 09:34:07 -07:00
azure-pipelines-ci.yml Add cache for mypy (#27745) 2019-10-16 17:37:24 +02:00
azure-pipelines-release.yml Update azure-pipelines-release.yml for Azure Pipelines 2019-09-30 14:49:08 +02:00
azure-pipelines-translation.yml Update azure-pipelines-translation.yml for Azure Pipelines 2019-09-05 12:09:21 +02:00
azure-pipelines-wheels.yml Update azure-pipelines-wheels.yml for Azure Pipelines 2019-10-14 14:30:08 +02:00
pylintrc Upgrade pylint (#27279) 2019-10-07 08:17:39 -07:00
pyproject.toml Add Black 2019-07-31 12:23:23 -07:00
requirements_all.txt Upgrade youtube_dl to 2019.10.16 (#27737) 2019-10-16 20:28:59 +02:00
requirements_docs.txt Upgrade Sphinx to 2.1.2 (#24693) 2019-06-23 07:49:40 +02:00
requirements_test.txt Upgrade to flake8-docstrings 1.5.0, pytest 5.2.1, and pytest-cov 2.8.1 (#27588) 2019-10-13 22:27:42 +02:00
requirements_test_all.txt Add Apprise notification integration (#26868) 2019-10-15 00:53:59 +02:00
setup.cfg Run mypy in pre-commit (#27339) 2019-10-08 14:45:24 -07:00
setup.py Bump python-slugify to 3.0.6 (#27430) 2019-10-11 00:27:07 -07:00
tox.ini Run mypy in pre-commit (#27339) 2019-10-08 14:45:24 -07:00

README.rst

Home Assistant |Chat Status|
=================================================================================

Home Assistant is a home automation platform running on Python 3. It is able to track and control all devices at home and offer a platform for automating control.

To get started:

.. code:: bash

    python3 -m pip install homeassistant
    hass --open-ui

Check out `home-assistant.io <https://home-assistant.io>`__ for `a
demo <https://home-assistant.io/demo/>`__, `installation instructions <https://home-assistant.io/getting-started/>`__,
`tutorials <https://home-assistant.io/getting-started/automation-2/>`__ and `documentation <https://home-assistant.io/docs/>`__.

|screenshot-states|

Featured integrations
---------------------

|screenshot-components|

The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/en/architecture_index.html>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/en/creating_component_index.html>`__.

If you run into issues while using Home Assistant or during development
of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information.

.. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg
   :target: https://discord.gg/c5DvZ4e
.. |screenshot-states| image:: https://raw.github.com/home-assistant/home-assistant/master/docs/screenshots.png
   :target: https://home-assistant.io/demo/
.. |screenshot-components| image:: https://raw.github.com/home-assistant/home-assistant/dev/docs/screenshot-components.png
   :target: https://home-assistant.io/integrations/