From c20e7f5a1a9080cb1eae3038cae780e3ba9220fd Mon Sep 17 00:00:00 2001 From: juanesf Date: Sun, 22 Mar 2020 23:33:39 -0300 Subject: [PATCH 1/2] Update install_openwrt.sh paho-mqtt missing in OpenWrt --- BridgeEmulator/install_openwrt.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BridgeEmulator/install_openwrt.sh b/BridgeEmulator/install_openwrt.sh index 6a3432421..9a5fe05be 100755 --- a/BridgeEmulator/install_openwrt.sh +++ b/BridgeEmulator/install_openwrt.sh @@ -15,7 +15,7 @@ echo -e "\033[32m Updating python3-pip.\033[0m" python3 -m pip install --upgrade pip wait echo -e "\033[32m Installing pip dependencies.\033[0m" -pip3 install requests ws4py +python3 -m pip install requests ws4py paho-mqtt wait cd /opt/tmp echo -e "\033[32m Downloading diyHue.\033[0m" @@ -106,4 +106,4 @@ nano /etc/lighttpd/lighttpd.conf echo -e "\033[32m Installation completed.\033[0m" wait reboot 10 -exit 0 \ No newline at end of file +exit 0 From 653b4b04f1343a9d595065fba173f5a15f829c47 Mon Sep 17 00:00:00 2001 From: juanesf Date: Sun, 22 Mar 2020 23:34:17 -0300 Subject: [PATCH 2/2] Update update_openwrt.sh paho-mqtt missing in OpenWrt --- BridgeEmulator/update_openwrt.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BridgeEmulator/update_openwrt.sh b/BridgeEmulator/update_openwrt.sh index e27d2d254..13050a661 100644 --- a/BridgeEmulator/update_openwrt.sh +++ b/BridgeEmulator/update_openwrt.sh @@ -22,6 +22,8 @@ python3 -m pip install --upgrade pytz wait python3 -m pip install --upgrade ws4py wait +python3 -m pip install --upgrade paho-mqtt +wait echo -e "\033[32m Creating directories.\033[0m" mkdir /opt mkdir /opt/tmp