You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a manual installation you can then run hapush from the commandline as follows:
64
+
For a manual installation you can then run `hapush` from the command-line as follows:
65
65
66
66
```bash
67
67
$ ./hapush.py hapush.cfg
68
68
```
69
69
70
-
For docker installs, hapush will be started automatically when you run the startup command.
70
+
For Docker installs, hapush will be started automatically when you run the startup command.
71
71
72
72
If all is well, you should start to see `hapush` responding to events as they occur. For a docker installation you should see these messages in `hapush/hapush.log`.
Installation can be performed using Docker (Contributed by [marijngiesen](https://github.com/marijngiesen)) or manually if Docker doesn't work for you. We also have a Raspberry PI version of Docker contributed by [snizzleorg](https://community.home-assistant.io/users/snizzleorg/activity)
13
+
Installation can be performed using Docker (Contributed by [marijngiesen](https://github.com/marijngiesen)) or manually if Docker doesn't work for you. We also have a Raspberry Pi version of Docker contributed by [snizzleorg](https://community.home-assistant.io/users/snizzleorg/activity).
14
14
15
15
## {% linkable_title Using Docker (Non Raspian) %}
16
16
17
17
Assuming you already have Docker installed, installation is fairly easy.
18
18
19
19
### {% linkable_title Clone the Repository %}
20
+
20
21
Clone the **hadashboard** repository to the current local directory on your machine.
21
22
22
23
```bash
@@ -57,15 +58,13 @@ By default, the docker instance should pick up your timezone but if you want to
57
58
58
59
### {% linkable_title Docker on Raspberry Pi %}
59
60
60
-
Raspberry pi needs to use a different docker build file so the build command is slightly different:
61
+
Raspberry Pi needs to use a different Docker build file so the build command is slightly different:
*Note - this is pretty slow even on a PI3, be prepared for it to take an hour or two to build all of the extensions and install everything*
67
+
Apart from that the other steps are identical. Running Docker is pretty slow even on a PI3, be prepared for it to take an hour or two to build all of the extensions and install everything*
69
68
70
69
## {% linkable_title Manual Installation %}
71
70
@@ -82,7 +81,7 @@ Change your working directory to the repository root. Moving forward, we will be
82
81
$ cd hadashboard
83
82
```
84
83
85
-
### {% linkable_title 2. Install Dashing and prereqs %}
84
+
### {% linkable_title 2. Install Dashing and prerequirments %}
86
85
87
86
Essentially, you want to make sure that you have Ruby installed on your local machine.
88
87
@@ -98,9 +97,7 @@ Then, install the Dashing gem:
98
97
$ gem install dashing
99
98
```
100
99
101
-
From your repository root, make sure that all dependencies are available.
102
-
103
-
Note: on some systems you may also need to install bundler:
100
+
From your repository root, make sure that all dependencies are available. On some systems you may also need to install `bundler`:
104
101
105
102
```bash
106
103
$ gem install bundler
@@ -112,9 +109,7 @@ When installed run it:
112
109
$ bundle
113
110
```
114
111
115
-
Bundle will now install all the ruby prereqs for running dashing.
116
-
117
-
Note: Prereqs will vary across different machines. So far users have reported requirements for some additional installs to allow the bundle to complete succesfully:
112
+
Bundle will now install all the ruby prerequirements for running dashing. Prerequirements will vary across different machines. So far users have reported requirements for some additional installs to allow the bundle to complete succesfully:
118
113
119
114
- ruby-dev - `sudo apt-get install ruby-dev`
120
115
- node-js - `sudo apt-get install nodejs`
@@ -123,18 +118,18 @@ Note: Prereqs will vary across different machines. So far users have reported re
123
118
124
119
You will need to research what works on your particular architecture and also bear in mind that version numbers may change over time.
125
120
126
-
Note: This is currently running on various versions of Ruby and there are no strong dependencies however your mileage may vary.
121
+
This is currently running on various versions of Ruby and there are no strong dependencies however your mileage may vary.
127
122
128
123
## {% linkable_title Updating configuration (Manual and Docker) %}
129
124
130
-
Next, in the `./lib` directory, copy the ha_conf.rb.example file to ha_conf.rb and edit its settings to reflect your installation, pointing to the machine Home Assistant is running on and adding your api_key.
125
+
Next, in the `./lib` directory, copy the `ha_conf.rb.example` file to `ha_conf.rb` and edit its settings to reflect your installation, pointing to the machine Home Assistant is running on and adding your API key.
131
126
132
127
```ruby
133
128
$ha_url="http://192.168.1.10:8123"
134
129
$ha_apikey="your key"
135
130
```
136
131
137
-
-`$ha_url` is a reference to your home assistant installation and must include the correct port number and scheme (`http://` or `https://` as appropriate)
132
+
-`$ha_url` is a reference to your Home Assistant installation and must include the correct port number and scheme (`http://` or `https://` as appropriate)
138
133
-`$ha_apikey` should be set to your key if you have one, otherwise it can remain blank.
139
134
140
135
The file also contains example newsfeeds for the News widget:
Copy file name to clipboardExpand all lines: source/_docs/ecosystem/hadashboard/reboot.markdown
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ footer: true
10
10
redirect_from: /ecosystem/hadashboard/reboot/
11
11
---
12
12
13
-
To run Dashing and `hapush` at reboot, I have provided sample init scripts in the `./init` directory. These have been tested on a Raspberry Pi - your mileage may vary on other systems.
13
+
To run Dashing and `hapush` at reboot, checkout out the sample init scripts in the `./init` directory. These have been tested on a Raspberry Pi - your mileage may vary on other systems.
14
14
15
-
Instructions for automatically starting a docker install can be found [here](https://docs.docker.com/engine/admin/host_integration/).
15
+
Instructions for automatically starting a Docker installation can be found [here](https://docs.docker.com/engine/admin/host_integration/).
16
16
17
-
For docker you may also want to use docker-compose - there is a sample compose file in the `./init` directory.
17
+
For Docker you may also want to use `docker-compose` - there is a sample compose file in the `./init` directory.
0 commit comments