Update device_tracker.ubus.markdown

Several HA users encountered a problem after upgrading OpenWRT to version 18.06.x. UBUS did not function anymore (TypeError: ‘NoneType’ object is not subscriptable). At https://community.home-assistant.io/t/problem-with-ubus-device-tracker/46072/18     user rf3141 analyzed the problem (besides the https issue the thread was started for) and solved it by installing the additional package uhttpd-mod-ubus. Maybe this needs to be analyzed more careful but for now the addional package solves the problem.
This commit is contained in:
dimitripb 2018-08-20 19:02:48 +02:00 committed by GitHub
parent 9b9fdb4946
commit 46f33dbdca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,12 @@ Before this scanner can be used you have to install the ubus RPC package on Open
opkg install rpcd-mod-file
```
For OpenWRT version 18.06.x the package uhttpd-mod-ubus should also be installed:
```bash
opkg install uhttpd-mod-ubus
```
And create a read-only user to be used by setting up the ACL file `/usr/share/rpcd/acl.d/user.json`.
```json