Skip to content

Commit 3476043

Browse files
xander2fabaff
authored andcommitted
Various spelling, wording and grammar fixes (home-assistant#4659)
Corrections to enhance readability of documentation.
1 parent 9a14892 commit 3476043

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/hassio/run_local.markdown

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ sharing: true
99
footer: true
1010
---
1111

12-
Hass.io is a managed environment, which means that you can't install applications that can be embedded into Home Assistant using the `command_line` sensor/switch.
12+
Hass.io is a managed environment, which means you can't install applications that can be embedded into Home Assistant using the `command_line` sensor/switch.
1313

14-
There are three options if you need to run a script to read data from a sensor or send commands to other devices on Hass.io.
14+
There are three options if you need to run a script which reads data from a sensor or sends commands to other devices on Hass.io.
1515

16-
The first option is to write a custom component for Home Assistant. Using Python, you can communicate with your device. For more information about developing a custom component, take a look at the [developer documentation][custom-component].
16+
The first option is to write a custom component for Home Assistant. This implies that you can communicate with your device using Python. For more information about developing a custom component, take a look at [custom-component development][custom-component].
1717

18-
The second option is to use STDIN inside add-on and use the service `hassio.addon_stdin` to send data. More about this options look into [developer documentation][communication] for internal add-on communication. There is also describe how do you can easy access to Home-Assistant Rest API.
18+
The second option is to use STDIN inside an add-on and use the service `hassio.addon_stdin` to send data. For more information, have a look at [internal add-on communication][communication]. Here you will also find how you can easily access the Home Assistant Rest API.
1919

20-
The third option is to make a local add-on for Hass.io that sends the data to Home Assistant via MQTT. Before we dive into this, read up on [Hass.io add-on development][addons-tutorial] first.
20+
The third option is to create a local add-on for Hass.io that sends the data to Home Assistant via MQTT. Before we dive into this, read up on [Hass.io add-on development][addons-tutorial] first.
2121

2222
For security and speed, Hass.io does not provide a way for containers to communicate directly. So the first step is to set up a communication channel. We're going to use MQTT for this using the [MQTT broker add-on][mqtt-addon].
2323

2424
### {% linkable_title Sensors %}
2525

2626
We loop in our script to fetch data and push it to MQTT and wait until the next process is ready. Here is a basic example and structure for that process.
2727

28-
Our Dockerfile need to install:
28+
In our Dockerfile we need to install:
2929

3030
```
3131
RUN apk --no-cache add jq mosquitto-clients
@@ -65,7 +65,7 @@ done
6565

6666
We wait for incoming data from the MQTT broker. We can also use an `input_boolean` that triggers an automation to publish a custom command to MQTT topic that can process multiple things in one add-on.
6767

68-
Our Dockerfile need to install:
68+
In our Dockerfile we need to install:
6969

7070
```
7171
RUN apk --no-cache add jq mosquitto-clients

0 commit comments

Comments
 (0)