Skip to content

Commit 82709d7

Browse files
authored
Minor changes
1 parent b0ad040 commit 82709d7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/_docs/z-wave/device-specific.markdown

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ $ echo -e -n "\x01\x08\x00\xF2\x51\x01\x01\x05\x01\x50" > /dev/serial/by-id/usb-
4949

5050
You need to disable the on-board Bluetooth since the board requires the use of the hardware UART (and there's only one on the Pi3). You do this by adding the following to the end of `/boot/config.txt`:
5151

52-
```
52+
```text
5353
dtoverlay=pi3-disable-bt
5454
```
5555

@@ -61,19 +61,19 @@ $ sudo systemctl disable hciuart
6161

6262
Once Bluetooth is off, enable the serial interface via the `raspi-config` tool. After reboot run:
6363

64-
```
65-
sudo systemctl mask serial-getty@ttyAMA0.service
64+
```bash
65+
$ sudo systemctl mask serial-getty@ttyAMA0.service
6666
```
6767

6868
so that your serial interface looks like:
6969

70-
```
70+
```text
7171
crw-rw---- 1 root dialout 204, 64 Sep 2 14:38 /dev/ttyAMA0
7272
```
7373
at this point simply add your user (homeassistant) to the dialout group:
7474

75-
```
76-
sudo usermod -a -G dialout homeassistant
75+
```bash
76+
$ sudo usermod -a -G dialout homeassistant
7777
```
7878

7979
Finally, reboot again to make those changes active. It's has been tested on hassbian and has been reported that this is also required on the Pi2.

0 commit comments

Comments
 (0)