From 46f33dbdca167da761f040ae25352bf1fd94aeea Mon Sep 17 00:00:00 2001 From: dimitripb <31191267+dimitripb@users.noreply.github.com> Date: Mon, 20 Aug 2018 19:02:48 +0200 Subject: [PATCH] Update device_tracker.ubus.markdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- source/_components/device_tracker.ubus.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_components/device_tracker.ubus.markdown b/source/_components/device_tracker.ubus.markdown index ba38f2f1b64..d87102a0bbc 100644 --- a/source/_components/device_tracker.ubus.markdown +++ b/source/_components/device_tracker.ubus.markdown @@ -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