268 Commits

Author SHA1 Message Date
RockBomber
cbd38fbaea Adding definition of logfile variable to rc.d script (#11646)
With this instruction a have an error after starting service:
```
# sysrc homeassistant_enable="YES"
homeassistant_enable:  -> YES
# service homeassistant start
install: : No such file or directory
Starting homeassistant.
daemon: open: Permission denied
/usr/local/etc/rc.d/homeassistant: WARNING: failed to start homeassistant
```
There is needs to define logfile variable in rc.d script
2020-01-07 15:54:33 +01:00
Troy Prelog
a4e6ff1e7a Update Freenas docs (#11585)
* updated rc.d script

Add extra_commands

	check_config - checks config using `hass --script check_config`
	upgrade - stops HA / upgrade / checks config / starts HA (only starts if config check passes)
	test - simple test to check directories / activate venv / check version of python and homeassistant
	restart - (modified) check_config / stop HA /start HA (only restart if config check passes)

NOTE: All extra_commands REQUIRE bash to be installed
	`pkg install bash`

I also removed the check_config from the pre_start function because because it will prevent HA from starting
if the configuration is missing (Like a clean install from example). NO BUENO!

Another case to consider haveing no configuration even after initial install is troubleshooting or testing.
For instance with rc.d script createing a fresh config is simple.

Let's suppose my working config is at
	`/home/hass/homeassistant`

Now to get a clean configuration I can just do this
	service homeassistant stop
	sysrc sysrc homeassistant_config_dir="/home/hass/ha_test_config"
	service homeassistant start

That's it! Configuration wise, it's a clean install. To switch back to working config I just
	service homeassistant stop
        sysrc sysrc homeassistant_config_dir="/home/hass/homeassistant"
        service homeassistant start

Awesome right?! But that doesn't work if check_config fails during pre_start

* add pkgs

These are not required to install HA but they are quickly missed once you start to actual use it. Let's just avoid
some fustration from the start. I don't think this list should be all inclusive but these basic things seem to be
frequently needed from the start.

	autoconf |
	gmake    | - looking at you Z-Wave, Stream, IKEA Tradfri
	pkgconf  |

	bash - Give me bash or give me death! Seriously, it makes life easier. There's not alot of *BSD focus
		around HA. I only use *BSD because of FreeNAS -- Typically (with the exception of jails) FreeNAS is webui.
		I'm ok with Linux cli and it's very similiar to FreeNAS but not the same. It's not bash. I don't think it
		needs to be for the root user either. But having bash installed and used by the HA user makes it easier
		to follow along with exising documentation for other virtualenv type installs when trying to further expand
		your HA installation

* give me bash or give me death!

Most people won't notice a differene but we'll know in our hearts we did the right thing.

* fix typo

I'm lucky I can spell my name

* whitespace

* use venv

Use the built-in venv instead of virtualenv which must be installed seperate.
2020-01-05 10:29:16 +01:00
Alexander Schneider
ea749a53ba Update ZWave installation instructions (#11589) 2020-01-02 13:02:36 +01:00
Keith Bentrup
cc2cf98fc8 Remove bash prompt from shell commands to copy (#11588)
By including the prompts in the shell commands, it breaks the copy/paste functionality provided on the webpage https://www.home-assistant.io/docs/installation/raspberry-pi/. I understand it was to indicate a change for the user but that should be in the surrounding text.
2020-01-01 12:18:33 +01:00
Ville Skyttä
4567163c1f Grammar and spelling fixes (#11455) 2019-12-14 18:16:50 +01:00
uDude
45e63b0d27 Tell people they need opensslv.h and cffi.h in order to use (#10938)
* Tell people they need opensslv.h and cffi.h in order to use
pip install homeassistant (at least on armv7/armhf).

* ✏️ Tweaks


Co-authored-by: null <mfkyle@yahoo.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2019-12-13 15:09:01 +01:00
Franck Nijhof
9cfb9b69b1
Merge branch 'current' into next 2019-11-12 13:51:01 +01:00
Zotz
ef3278a73f Remove host/netsh commands from docker directives (#11133)
* Remove host/netsh commands from docker directives

Added -p 8123:8123 to the Windows docker command line.  Seems more reliable and easier for users.
Add ports to docker-compose.yaml files for easier launches..

* revert requested items.

* ✏️ Tweaks
2019-11-11 07:11:01 +01:00
Dubh Ad
0aba3a8b94 Python 3.7 again (#11070)
Hopefully last one ;)
2019-11-01 08:57:48 +01:00
Dubh Ad
808703c2d3 Python 3.7 (#11069)
Also updating the version here ;)
2019-11-01 08:57:40 +01:00
Dubh Ad
d1c663f8ff Python 3.7 (#11068)
Updating the version to 3.7
2019-11-01 08:56:49 +01:00
Franck Nijhof
09aea251aa
Merge branch 'current' into next 2019-10-30 23:19:41 +01:00
Eirik Z
6a7b7430bb Fixed two errors (#11005)
Added the group rights for the dev files, and a missing asterisk in the ls command
2019-10-27 10:09:27 +01:00
Eirik Z
eeaecd9e98 Added zwave instructions (#10965) 2019-10-26 14:29:19 +02:00
Fredrik Lindqvist
2937ca5308 Removal of Hassbian from documentation (#10934)
* R.I.P Hassbian

* Restore device tracker to glosssay

* Remove space
2019-10-26 09:53:03 +02:00
EgonMarmol
c8db0d6708 Updated URL to Bruhautomation (#10949) 2019-10-22 20:38:24 +02:00
Robin
c270342dde Add instructions for upgrading Home Assistant on FreeNAS (#10900) 2019-10-20 12:10:25 +02:00
Eirik Z
40edfd7d9d My own notes from running it was wrong (#10799)
Verified full procedure from start to finish is working, tested three times in a freenas jail
2019-10-15 19:22:40 +02:00
Hmmbob
b0998ea88b Fixing some more broken links (#10734)
* Fixing broken links in LaMetric documentation

* Fix broken links in Apache documentation

* Fix broken links in nginx documentation

* Fix broken links in Docker documentation

* Fix broken link in Synology documentation

* Fix broken link in armbian documentation

* Fix broken link in cover.rfxtrx

* Fix broken links in Installation notebooks docs
2019-10-12 12:51:57 +02:00
Hmmbob
563eea843d Fix broken links in Tellstick, Android IP Webcam, Squeezebox and Hassbian / installation documentation (#10733)
* Fixing broken links in Hassbian installation docs

* Fix broken link in Tellstick documentation

* Fix broken links

* Fix broken links

* Fix broken links
2019-10-12 12:51:51 +02:00
Brendon Baumgartner
45bb8c4e2c CentOS boot script update (#10610)
* centos

* Update source/_docs/installation/centos.markdown

Fine with me. I did like having the "venv" in there to make it more obvious as to what is going on.

Co-Authored-By: Fabian Affolter <mail@fabian-affolter.ch>

* Update source/_docs/installation/centos.markdown

Co-Authored-By: Fabian Affolter <mail@fabian-affolter.ch>
2019-10-10 12:03:06 +02:00
Fabian Affolter
0064a22f34
Update for Python 3.8 (#10665) 2019-10-08 16:55:32 +02:00
Eirik Z
5b41bb0abc Update with working instructions (#10663)
* Update with working instructions

Old instructions failed to include virtualenv, also failed to actually start HA as the config directory it default creates was wrong, and empty.

* Minor changes
2019-10-08 15:57:05 +02:00
Franck Nijhof
dcc7c10ce4
Rewrites all URLs in our website from components -> integrations 2019-10-02 00:35:28 +02:00
Franck Nijhof
79206dd3f4
No dollar signs in shell code (#10477) 2019-09-29 20:24:23 +02:00
Franck Nijhof
da5e1aad0e
Adds GitHub Action for Remark, fixes code flag on fences (#10475)
* Adds basics for adding Remark

* Adds GitHub Action for remark

* Adds GitHub Action for remark

* Ensure all fenced code blocks have a code flag
2019-09-29 00:50:28 +02:00
Pascal Vizeli
180ecac744
Update docker.markdown 2019-08-28 16:06:45 +02:00
Robin
1386728091 Remove hashes in front of commands (#10219)
On the website they look like commented lines
2019-08-25 12:25:46 +02:00
Pascal Vizeli
e4f9b60987 Remove vagrant (#10192)
* Remove vagrant

* Remove references and unused asset
2019-08-21 23:05:28 +02:00
Douglas Paz
e75a38b4dd
Add python3-dev in Raspberry Pi installation commands (#10046) 2019-08-17 10:48:34 +02:00
Pascal Vizeli
77197e6e73
Update docker.markdown 2019-08-09 08:56:38 +02:00
Pascal Vizeli
a962ed8925
Update docker.markdown 2019-08-09 08:56:12 +02:00
Pascal Vizeli
0b9fb8ed33
Update docker.markdown 2019-08-09 08:54:45 +02:00
Will Hargrave
15a8a0936e Autoconf is required for some integrations (#10056)
Autoconf is required for Ikea Tradfri and will not install without this
2019-08-06 12:00:42 +02:00
Ville Skyttä
3699bae20d Remove some no longer needed Python 3.5 info (#10039) 2019-08-02 18:20:16 +02:00
Baruch Rothkoff
9dcdcdc305 Fix title hirarchy (#10011)
It is not clear that `Restart` and the other nex titles are relevant to all installation types
2019-07-31 01:03:13 +02:00
SimonThoustrup
0315f476c2 Change sequence of commands to virtualenv before activate (#9980) 2019-07-27 23:40:57 +02:00
akasma74
b45d12a354 Fix links appearance (#9963)
* Fix links appearance

For some reason the links inside p tag are not rendered properly, but inside br tag it works properly.

* Fix links

Better fix (by adding space)
2019-07-24 10:53:30 +02:00
Franck Nijhof
64de6a001b
Removes archlinux package instructions (#9934) 2019-07-21 15:35:35 +02:00
Franck Nijhof
c464056402
Making our website faster, cleaner and prettier (#9853)
* 🔥 Removes octopress.js

* 🔥 Removes use of root_url var

* 🔥 Removes Octopress generator reference from feed

* 🔥 Removes delicious support

* 🔥 Removes support for Pinboard

* 🔥 Removes support for Disqus

* 🔥 Removes support for Google Plus

* ↩️ Migrate custom after_footer to default template

* ↩️ Migrate custom footer to default template

* ↩️ Migrate custom header to default template

* 🔥 Removes unused template files

* 🚀 Places time to read directly in post template

* 🚀 Removes unneeded capture from archive_post.html template

* 🔥 🚀 Removes unused, but heaving sorting call in component page

* 🚀 Merged javascripts into a single file

* 🔥 Removes more uses of root_url

* 🚀 Removal of unneeded captures from head

* 🔥 🚀 Removal of expensive liquid HTML compressor

* 🔥 Removes unneeded templates

* 🚀 Replaces kramdown with GitHub's CommonMark 🚀

* 💄 Adds Prism code syntax highlighting

*  Adds support for redirect in Netlify

* ↩️ 🔥 Let Netlify handle all developer doc redirects

* ✏️ Fixes typo in redirects file: Netify -> Netlify

* 🔥 Removes unused .themes folder

* 🔥 Removes unused aside.html template

* 🔥 Removes Disqus config leftover

* 🔥 Removes rouge highlighter config

* 🔥 Removes Octopress 🎉

* 💄 Adjust code block font size and adds soft wraps

* 💄 Adds styling for inline code blocks

* 💄 Improve styling of note/warning/info boxes + div support

* 🔨 Rewrites all note/warning/info boxes
2019-07-15 22:17:54 +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
Paulus Schoutsen
8faccaaaad Remove OS specific mentions from virtualenv guide (#9786)
* Remove OS specific mentions from virtualenv guide

* Tweaks for comments.

* Update virtualenv.markdown

* Tiny tweaks now we are here anyway
2019-07-06 00:57:55 +02: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
Klaas Schoute
7e9f3dff56 ✏️ Fix urls and markdown rules (#9758) 2019-07-02 19:48:16 +02:00
leytpapas
0a8be2dc1f Fixed Hassbian 404 URLs (#9755)
* Fixed URLs

.md were moved from 'hassbian-scripts/blob/master/docs' to 'hassbian-scripts/tree/dev/docs/suites'

* Fixed Hassbian 404 URLs

Also updated the list with more available scripts. Homebridge was not found in the hassbian-scripts repository so it was deleted
2019-07-02 17:55:38 +02:00
qqgg231
d91a1c08c9 added i2c group to homeassistant user (#9731)
* added i2c group to homeassistant user

this change should ease user experience

* ✏️ Tweak
2019-06-30 11:04:19 +02:00
Dubh Ad
9ece978351 Update to the macOS guide (#9662)
* Update to the macOS guide

1. Updated the Python version
2. Changed it to a venv install to avoid people breaking things by accident
3. Linked to the auto-start guide
4. Removed link to the outdated video

* Update macos.markdown

* ✏️ Tweaks

* ✏️ Tweak
2019-06-20 19:42:06 +02:00
Franck Nijhof
1e46c4fcbe
Component(s) -> Integration(s) (#9656)
Signed-off-by: Franck Nijhof <frenck@addons.community>
2019-06-19 15:12:14 +02:00
Dubh Ad
684358a14c Version bumb (#9619)
Bumping the version of Python to 3.6 minimum, and suggesting 3.7
2019-06-13 10:06:48 +02:00
Robin
bcd0c2104d Update guidance on using HA with Docker on synology (#9599)
As per issue https://github.com/home-assistant/home-assistant.io/issues/9592#issuecomment-500212790
2019-06-10 14:43:06 +02:00