43 Commits

Author SHA1 Message Date
Ganesh Hegde
2a89ec8573
update macos autostart doc with a footnote (#13006)
* update macos autostart doc with a footnote

Related to #12947

* add missing code language flag
2020-04-16 22:29:42 +02:00
punch
0f4435baeb
remove $ marks from code lines for copy/pasting (#12268)
* remove $ marks from code lines for copy/pasting

* ✏️ Fix standards

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-03-10 15:47:14 +01:00
Franck Nijhof
6ead12efbc
Extends textlint Terminology list; part 5 (#12072)
* Extends textlint Terminology list; part 5

* Remove walkthrough from textlint

* Improve Default Configuration page links
2020-02-13 13:39:06 +01:00
Franck Nijhof
669c974bd1
Extends textlint Terminology list; part 4 (#12070) 2020-02-12 23:17:01 +01:00
Franck Nijhof
bbdefa833e
Extends textlint Terminology list; part 3 (#12069)
* Extends textlint Terminology list; part 3

* Fix apcupsd
2020-02-12 22:24:59 +01:00
Franck Nijhof
04712c4628
Spelling and Markdown fixes: Part 4 2020-01-29 11:57:44 +01:00
Jon Travis
482c79c0ac Add location of installed macos configs (#11148) 2019-11-11 05:34:45 +01:00
Franck Nijhof
79206dd3f4
No dollar signs in shell code (#10477) 2019-09-29 20:24:23 +02:00
Andrew Simmons
72b3278bbc Specify text language on some code blocks (#10031)
* Specify text language on some code blocks

* ✏️ Tweak

* ✏️ Tweaks
2019-08-02 12:12:30 +02:00
Franck Nijhof
1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00
Franck Nijhof
ebca3218c7
🔥Removes linkable_title everywhere (#9772)
* Automatically create linkable headers

* Visually improve position of linkable header chain icon

* Do not auto link  headers on homepage

* Remove linkable_title everywhere

* 🚑 Re-instante linkable_title plugin as NOOP
2019-07-04 19:08:27 +02:00
Andrew Wong
94157b55ae Fix daemon script (#9741)
* Fix start command execution (trailing semicolon causing an 'unrecognised argument' error)
* Fixed process ID functionality
2019-07-01 20:14:49 +02:00
Ben Spoon
cb420bd7cb Fix typo in autostart directions (#9634)
"scrip" -> "script"
2019-06-15 10:35:27 +02:00
PoofyTeddy
6bf7d8fa15 Use user variable in systemd venv service (#9257)
Tiny doc update

Since we are using systemd template, and that the user is already used as the variable, i think it is easier to manage like that.
2019-04-20 20:42:28 +02:00
akloeckner
b9e7f41b76 Add hint on how to restart on crash (#8610)
I was experiencing crashes, when I requested too many data points for plotting. So, this configuration makes my system come back automatically.
2019-02-17 11:29:22 +01:00
Mike Kormendy
6f9c7131e5 Changes specifics on how the daemon is started. (#8083) 2019-01-06 21:20:42 +01:00
Thomas
2e984c4c93 Update systemd.markdown (#7897)
The quotation marks must be left off for the container name. Otherwise you will get the message
```/usr/bin/docker: Error response from daemon: Invalid container name ("home-assistant-pi"), only [a-zA-Z0-9][a-zA-Z0-9_.-] are allowed.```
After I removed the quotation marks from my systemd service file, everything worked fine.
2018-12-18 22:26:09 +01:00
qqgg231
8454ba5b34 [your user] to YOUR_USER (#7724)
please check, I am not sure if it is the same variable!
2018-12-04 09:54:24 +01:00
dimitripb
3227ff1884 The current text assumes your user is always "homeassistant" (#7642)
* The current text assumes your user is always "homeassistant"

If you follow the advanced guide to setup a virtual environment a user named "homeassistant" or whatever you want will be created. See:
https://www.home-assistant.io/docs/installation/raspberry-pi/
If you follow this guide the "homeassistant" user won't be created:
https://www.home-assistant.io/docs/installation/virtualenv
This page actually refers to the Autostart page on which is assumed that you created a user named "homeassistant". It's better to refer to the user which runs HA in general.

* All occurences of [your user] replaced by YOUR_USER

* Update systemd.markdown
2018-11-26 12:26:57 +01:00
DubhAd
bb68802e9b Making title linkable (#6198) 2018-09-05 07:50:50 +02:00
Paulus Schoutsen
41955dc31a
Remove url prefix pt 2 (#5014)
* Migrate the non blog posts to use no domain

* Update demo links

* Remove Zanzito references from owntracks docs
2018-03-24 22:14:34 -07:00
Alok Saboo
1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00
CV
970acbb40b Make init script raspi-proof (#4459)
Raspbian does not keep files in /run. Therefor the pid directory needs to be created every time after boot. The easies is to put this into the start function.

Sorry, I did not test the patch with all my legacy systems.
2018-01-25 19:28:29 +01:00
Franck Nijhof
6224c71c08 Various markdown, spelling, and grammar fixes #3 (#4510)
*  Various markdown, spelling, and grammar fixes

*  Various markdown, spelling, and grammar fixes

*  Various markdown, spelling, and grammar fixes
2018-01-25 18:21:05 +01:00
itineric
b9be5b2790 Update init.d.markdown (#4512)
Added missing PID_DIR declaration, service install generates errors since this variable is used during install / uninstall.
2018-01-25 18:19:03 +01:00
CV
3453399df6 Changed wording and init scripts (#4455)
I  changed the init scripts to be more reliable.

hass executable supports the option --log-file. Using this is much safer and does not lead to problems with permission and overwriting old logfiles. Also I added creating the directory and ownership in the install function. To prevent log file groth I added a logrotate rule.

I moved the update-rc.d command you had in your manual into the install function since you already ad it in the uninstall function. This prevents more copy&paste errors.

I changed the PID file to be located in an extra directory. This way you do not have to to this hack with writing a fake PID file in the install function. Also, I read many users having problems that hass daemon is not starting (see eg. https://community.home-assistant.io/t/autostart-virtualenv-ubuntu-14-04/2120/37) without showing any errors. This is due to a missing PID file or its wrong permissions. By changing as stated and adding a test this problem should not arise any more.

I changes some wording in the manual to make it more understandable.
2018-01-18 23:45:19 +01:00
Jeremy
d40dd5e6bb Update systemd.markdown (#4185)
Correct spelling of Home Assistant on line 131.
2017-12-11 10:04:38 +01:00
Questler
33640d18af Update init.d.markdown (#4147)
* Update init.d.markdown

Added code for Python virtual environment

* Update init.d.markdown

* Update init.d.markdown
2017-12-06 22:41:27 +01:00
caz0075
2da586c0b4
Update systemd.markdown
I found that After=network.target was not robust enough for Auto-discovery to work correctly and find devices on the network. I changed this to After=network-online.target to wait until the network was completely "up" before starting.
2017-11-21 09:53:26 +10:00
Devon Peet
39b30f6582 Added restart && journal, which I use all the time (#3795) 2017-10-27 07:34:29 +02:00
Devon Peet
081d0d4dd9 Clarity Edits (#3794) 2017-10-27 07:33:15 +02:00
Kevin Delaney
13c6d6befd Fix incorrect file name in autostart symlink and chmod (#3727) 2017-10-23 09:57:49 +02:00
Fermulator
f2ec8c291f update init.d daemon script to specify HASS_BIN (#3700)
* update init.d daemon script to specify HASS_BIN

As per:
 * https://home-assistant.io/docs/autostart/init.d/
, coupled with:
 * https://home-assistant.io/docs/installation/virtualenv/

It's obvious that the user needs to replace "RUN_AS" with the correct user.
What can be made more clear is to include a "HASS_BIN" shell variable, with a similar instruction to update that if needed.

Note that I opted NOT to change the HASS_BIN to the full path /usr/bin/hass, as the previous revision presumably assumes that the `hass` binary is in the $PATH env for whatever user is running it ... (didn't want to change that).

* Fix name
2017-10-21 17:35:57 +02:00
NeLLyMerC
fa1149cde1 Update systemd.markdown (#3560)
- Cleaned up bullet points for clarity and readibility
- Added header for "Next Steps" after templates
- Removed redundant sentence
2017-10-08 23:43:58 +02:00
Ashton Campbell
9e6b9cb658 Fixed common spelling mistakes (#3544)
* fix spelling errors

* Update binary_sensor.xiaomi_aqara.markdown

Reverts to previous revision before spell check.

* Update tellstick.markdown

Reverts to previous revision before spell check.

* Update owntracks_two_mqtt_broker.markdown

Reverts to previous revision before spell check.

* Update cla_sign.html

Reverts to previous revision before spell check.

* Update credits.markdown

Reverts to previous revision before spell check.

* Update api.markdown

Fixed spell checker changing noone to no one.
2017-10-08 00:39:32 +02:00
guygma
e2d68f265f Create systemd.markdown (#2790) 2017-06-09 17:42:16 +02:00
vrs01
5c35282fa3 Update systemd.markdown (#2776) 2017-06-06 07:39:00 +02:00
Fabian Affolter
dc641be860
Remove whitespace 2017-04-07 10:30:38 +02:00
Fabian Affolter
60b81147a2
Add sections 2017-04-07 10:30:38 +02:00
cgtobi
3512b476b4 Remove unnecessary environment variable setup from systemd service (#2223)
* Remove unnecessary environment variable setup 

The environment variables are not needed and are actually overriding the system PATH variable and were causing trouble in certain circumstances.

* Make the user for the service dynamic

* Cleans up leftover comment

* Refine text to reflect the changes in the service

* Revert change of the users home path
2017-03-18 22:08:17 +01:00
Brahma Fear
7de7d3eacb Updated docs based on user suggestions (#2196)
* Updated docs based on user suggestions

Thanks to @NeLLyMerC for the suggestions.  Removed the EOF syntax for creating a file.  Cleaned up the description of the systemctl commands.  Added 'sudo' to the journalctl commands as it will not show the logs if running as an unprived user.

* Update systemd.markdown
2017-03-07 19:40:22 +01:00
johnappletree
943c8863d3 added lines of code for ubuntu 16.04 installation (#2189) 2017-03-04 13:51:12 +01:00
Fabian Affolter
481320128f Re-organisation Documentation and Getting started (#2055)
* Split MQTT documentation

* Add more details

* Move content to /docs

* Enable sidebar

* Move content to /docs

* Enable sidebar

* Move content

* Update links

* Remove wizard stuff

* Enable sidebar

* Minor changes

* Move MQTT parts to /docs

* update links

* Update links and sync content

* Fix link

* Enable sidebar

* Remove navigation

* Remove navigation and other minor updates

* Update links

* Add overview page

* Make title linkable

* Update

* Plit content

* Update links

* Rearrange content

* New getting-started section

* Add icons for docs

* Update for new structure

* Update for new structure

* Add docs navigation

* Add docs overview page

* Remove ecosystem navigation

* Add docs and remove other collections

* Move ecosystem to docs

* Remove duplicate files

* Re-add ecosystem overview

* Move to ecosystem

* Fix permission

* Update navigation

* Remove collection

* Move overview to right folder

* Move mqtt to upper level

* Move notebook to ecosystem

* Remove un-used files

* Add one more rectangle for iOS

* Move two parts back from docs and rename Run step

* Remove colon

* update getting-started section

* Add redirect

* Update

* Update navigation
2017-02-23 11:09:41 +01:00