Skip to content

Commit 492c987

Browse files
pfrenssenfabaff
andauthored
Update Ubus documentation (home-assistant#15892)
* Update Ubus documentation * Move the note up * Update naming Co-authored-by: Fabian Affolter <mail@fabian-affolter.ch>
1 parent 5b67c57 commit 492c987

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

source/_integrations/ubus.markdown

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,11 @@ ha_domain: ubus
1010

1111
This is a presence detection scanner for [OpenWrt](https://openwrt.org/) using [ubus](https://wiki.openwrt.org/doc/techref/ubus). It scans for changes in `hostapd.*`, which will detect and report changes in devices connected to the access point on the router.
1212

13-
Before this scanner can be used you have to install the ubus RPC package on OpenWRT:
13+
Before this scanner can be used you have to install the ubus RPC packages on OpenWrt (versions older than 18.06.x do not require the `uhttpd-mod-ubus` package):
1414

1515
```bash
16-
opkg install rpcd-mod-file
17-
```
18-
19-
For OpenWrt version 18.06.x the package uhttpd-mod-ubus should also be installed:
20-
21-
```bash
22-
opkg install uhttpd-mod-ubus
16+
opkg update
17+
opkg install rpcd-mod-file uhttpd-mod-ubus
2318
```
2419

2520
And create on your OpenWrt device a read-only user to be used by setting up the ACL file `/usr/share/rpcd/acl.d/user.json`.

0 commit comments

Comments
 (0)