🏡 Open source home automation that puts local control and privacy first.
Find a file
Stefan Agner 54064b4010
Increase timeout to avoid killing the core during shutdown (#45029)
Stopping the core goes through several stages, which can take up to
120s, 60s and 30s respectively. However, if shutdown is taking longer
than 60s overall, s6 isn't patient and kills the core:
Jan 10 23:56:58 homeassistant eb034fca9c7d[407]: s6-svwait: fatal: timed out
Jan 10 23:56:58 homeassistant eb034fca9c7d[407]: [s6-finish] sending all processes the TERM signal.
Jan 10 23:57:01 homeassistant eb034fca9c7d[407]: [s6-finish] sending all processes the KILL signal and exiting.

This is most of the time not a problem since shutdown is quicker than
that.

However, increasing the timeout is especialy useful to debug cases when
an event is hanging, since the core will point it out after its timeout
elapsed.

Set the timeout to 220s, which is all core timeouts plus 10s grace time.
2021-01-11 11:24:02 +01:00
.devcontainer Use !input instead of !placeholder (#43820) 2020-12-01 18:21:36 +01:00
.github Bump codecov/codecov-action from v1.2.0 to v1.2.1 (#44869) 2021-01-06 14:05:23 +01:00
.vscode Add additional debug launch methods in launch.json (#44419) 2020-12-21 17:11:53 +01:00
docs Remove Travis CI config (#44443) 2020-12-22 13:49:42 +01:00
homeassistant Shutdown asyncio http server within 10 seconds (#45033) 2021-01-11 09:36:14 +01:00
machine adding support for hardkernel odroid-c4 (#42719) 2020-11-01 20:47:20 +01:00
rootfs Disable jemalloc via specific ENV variable, see Issue#36237 (#36274) 2020-06-03 01:08:50 +02:00
script Remove script/test (#44967) 2021-01-08 23:58:39 +01:00
tests Add zwave_js integration (#45020) 2021-01-11 00:08:25 +01:00
.coveragerc Add zwave_js integration (#45020) 2021-01-11 00:08:25 +01:00
.dockerignore Integrate dockerbuild (#33168) 2020-03-23 00:39:37 +01:00
.gitattributes highlight Dockerfile.dev as Dockerfile in github ui (#36933) 2020-06-22 14:45:57 +02:00
.gitignore Fix too agressive .gitignore (#41677) 2020-10-12 16:48:42 +02:00
.hadolint.yaml Add hadolint to CI (#34758) 2020-04-27 12:09:31 +02:00
.ignore Include .ignore file for search utilities (#5290) 2017-01-16 22:52:53 -08:00
.pre-commit-config.yaml Add zwave_js integration (#45020) 2021-01-11 00:08:25 +01:00
.prettierignore Rename translations dir for integrations (#34494) 2020-04-21 16:11:05 -07:00
.readthedocs.yml Drop remaining Python < 3.8 support (#44743) 2021-01-04 11:47:29 +01:00
.yamllint Add yamllint (in pre-commit and CI) (#33676) 2020-04-05 10:33:45 +02:00
azure-pipelines-ci.yml Drop Python 3.7 support (#43805) 2021-01-01 13:47:01 +01:00
azure-pipelines-release.yml Drop remaining Python < 3.8 support (#44743) 2021-01-04 11:47:29 +01:00
azure-pipelines-translation.yml Drop remaining Python < 3.8 support (#44743) 2021-01-04 11:47:29 +01:00
azure-pipelines-wheels.yml Update azure-pipelines-wheels.yml 2020-09-13 15:38:02 +02:00
build.json Update docker base image 2021.01.0 (#44761) 2021-01-02 12:07:52 +01: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
CODE_OF_CONDUCT.md Update Code of Conduct to 2.0 (#36142) 2020-05-25 19:40:40 -04:00
codecov.yml Update Codecov.io configuration (#33783) 2020-04-07 09:01:01 -07:00
CODEOWNERS Add zwave_js integration (#45020) 2021-01-11 00:08:25 +01:00
CONTRIBUTING.md Use core GitHub URL in contributing guidelines (#41083) 2020-10-02 20:42:33 +02:00
Dockerfile Increase timeout to avoid killing the core during shutdown (#45029) 2021-01-11 11:24:02 +01:00
Dockerfile.dev Fix Dockerfile.dev for VS Code devcontainer (#37801) 2020-07-12 16:18:08 -07: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
pyproject.toml Drop remaining Python < 3.8 support (#44743) 2021-01-04 11:47:29 +01:00
README.rst Update README.rst to avoid redirects (#44519) 2020-12-26 10:05:41 +01:00
requirements.txt Upgrade requests to 2.25.1 (#44989) 2021-01-09 20:02:50 +01:00
requirements_all.txt Add zwave_js integration (#45020) 2021-01-11 00:08:25 +01:00
requirements_docs.txt Refactor API documentation (#33217) 2020-03-25 13:21:04 -07:00
requirements_test.txt Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
requirements_test_all.txt Add zwave_js integration (#45020) 2021-01-11 00:08:25 +01:00
requirements_test_pre_commit.txt Upgrade codespell to 2.0.0 (#44695) 2020-12-31 19:14:07 +01:00
setup.cfg Add zwave_js integration (#45020) 2021-01-11 00:08:25 +01:00
setup.py Upgrade requests to 2.25.1 (#44989) 2021-01-09 20:02:50 +01:00
tox.ini Drop remaining Python < 3.8 support (#44743) 2021-01-04 11:47:29 +01:00

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

Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server.

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/>`__ 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/architecture_index/>`__ and the `section on creating your own
components <https://developers.home-assistant.io/docs/creating_component_index/>`__.

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/