In my case. I’m getting an error starting the module. I can say my hub is categorically UNLOCKED in the Broadlink app. Here is my log output:
2022-05-16 22:58:35.470320 INFO AppDaemon: Added log: Error
2022-05-16 22:58:35.470857 INFO AppDaemon: Added log: Access
2022-05-16 22:58:35.472032 INFO AppDaemon: Added log: Diag
2022-05-16 22:58:35.528158 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2022-05-16 22:58:35.633813 INFO HASS: HASS Plugin Initializing
2022-05-16 22:58:35.635175 INFO HASS: HASS Plugin initialization complete
2022-05-16 22:58:35.637084 INFO AppDaemon: Initializing HTTP
2022-05-16 22:58:35.638651 INFO AppDaemon: Using ‘ws’ for event stream
2022-05-16 22:58:35.648674 INFO AppDaemon: Starting API
2022-05-16 22:58:35.656892 INFO AppDaemon: Starting Admin Interface
2022-05-16 22:58:35.658309 INFO AppDaemon: Starting Dashboards
2022-05-16 22:58:35.699897 INFO HASS: Connected to Home Assistant 2022.5.4
2022-05-16 22:58:35.747323 INFO AppDaemon: App ‘hello_world’ added
2022-05-16 22:58:35.751184 INFO AppDaemon: App ‘broadlink_s3_hub’ added
2022-05-16 22:58:35.754378 INFO AppDaemon: Found 2 total apps
2022-05-16 22:58:35.756212 INFO AppDaemon: Starting Apps with 2 workers and 2 pins
2022-05-16 22:58:35.760446 INFO AppDaemon: Running on port 5050
2022-05-16 22:58:35.946554 INFO HASS: Evaluating startup conditions
2022-05-16 22:58:35.973512 INFO HASS: Startup condition met: hass state=RUNNING
2022-05-16 22:58:35.974477 INFO HASS: All startup conditions met
2022-05-16 22:58:36.027473 INFO AppDaemon: Got initial state from namespace default
2022-05-16 22:58:37.320413 INFO AppDaemon: New client Admin Client connected
2022-05-16 22:58:37.776556 INFO AppDaemon: Scheduler running in realtime
2022-05-16 22:58:37.791825 INFO AppDaemon: Adding /config/appdaemon/apps to module import path
2022-05-16 22:58:37.793496 INFO AppDaemon: Adding /config/appdaemon/apps/broadlink-s3-hub-app-daemon to module import path
2022-05-16 22:58:37.831390 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/broadlink_s3_hub.py
2022-05-16 22:58:37.849427 WARNING Error: ------------------------------------------------------------
2022-05-16 22:58:37.850737 WARNING Error: Unexpected error loading module: /config/appdaemon/apps/broadlink_s3_hub.py:
2022-05-16 22:58:37.851508 WARNING Error: ------------------------------------------------------------
2022-05-16 22:58:37.857720 WARNING Error: Traceback (most recent call last):
File “/usr/lib/python3.9/site-packages/appdaemon/app_management.py”, line 993, in check_app_updates
await utils.run_in_executor(self, self.read_app, mod[“name”], mod[“reload”])
File “/usr/lib/python3.9/site-packages/appdaemon/utils.py”, line 337, in run_in_executor
response = future.result()
File “/usr/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.9/site-packages/appdaemon/app_management.py”, line 784, in read_app
self.modules[module_name] = importlib.import_module(module_name)
File “/usr/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 986, in _find_and_load_unlocked
File “”, line 680, in _load_unlocked
File “”, line 850, in exec_module
File “”, line 228, in _call_with_frames_removed
File “/config/appdaemon/apps/broadlink-s3-hub-app-daemon/broadlink_s3_hub.py”, line 2, in
import broadlink
ModuleNotFoundError: No module named ‘broadlink’
2022-05-16 22:58:37.858599 WARNING Error: ------------------------------------------------------------
2022-05-16 22:58:37.860026 WARNING AppDaemon: Removing associated apps:
2022-05-16 22:58:37.860944 WARNING AppDaemon: broadlink_s3_hub
2022-05-16 22:58:37.868254 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/hello.py
2022-05-16 22:58:37.876173 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/helpers.py - ignoring
2022-05-16 22:58:37.879903 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/const.py - ignoring
2022-05-16 22:58:37.883319 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/remote.py - ignoring
2022-05-16 22:58:37.886926 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/exceptions.py - ignoring
2022-05-16 22:58:37.890113 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/alarm.py - ignoring
2022-05-16 22:58:37.893902 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/light.py - ignoring
2022-05-16 22:58:37.897363 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/cover.py - ignoring
2022-05-16 22:58:37.900920 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/climate.py - ignoring
2022-05-16 22:58:37.904568 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/sensor.py - ignoring
2022-05-16 22:58:37.909579 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/init.py - ignoring
2022-05-16 22:58:37.913830 INFO AppDaemon: Loading App Module: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/broadlink_s3_hub.py
2022-05-16 22:58:37.921417 INFO Error: Previous message repeated 1 times
2022-05-16 22:58:37.922768 WARNING Error: Unexpected error loading module: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/broadlink_s3_hub.py:
2022-05-16 22:58:37.923895 WARNING Error: ------------------------------------------------------------
2022-05-16 22:58:37.926207 WARNING Error: Traceback (most recent call last):
File “/usr/lib/python3.9/site-packages/appdaemon/app_management.py”, line 993, in check_app_updates
await utils.run_in_executor(self, self.read_app, mod[“name”], mod[“reload”])
File “/usr/lib/python3.9/site-packages/appdaemon/utils.py”, line 337, in run_in_executor
response = future.result()
File “/usr/lib/python3.9/concurrent/futures/thread.py”, line 52, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/lib/python3.9/site-packages/appdaemon/app_management.py”, line 784, in read_app
self.modules[module_name] = importlib.import_module(module_name)
File “/usr/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 986, in _find_and_load_unlocked
File “”, line 680, in _load_unlocked
File “”, line 850, in exec_module
File “”, line 228, in _call_with_frames_removed
File “/config/appdaemon/apps/broadlink-s3-hub-app-daemon/broadlink_s3_hub.py”, line 2, in
import broadlink
ModuleNotFoundError: No module named ‘broadlink’
2022-05-16 22:58:37.927436 WARNING Error: ------------------------------------------------------------
2022-05-16 22:58:37.928859 WARNING AppDaemon: Removing associated apps:
2022-05-16 22:58:37.934131 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/device.py - ignoring
2022-05-16 22:58:37.940143 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/hub.py - ignoring
2022-05-16 22:58:37.944537 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/protocol.py - ignoring
2022-05-16 22:58:37.948550 WARNING AppDaemon: No app description found for: /config/appdaemon/apps/broadlink-s3-hub-app-daemon/switch.py - ignoring
2022-05-16 22:58:37.951564 INFO AppDaemon: Initializing app hello_world using class HelloWorld from module hello
2022-05-16 22:58:38.146845 INFO hello_world: Hello from AppDaemon
2022-05-16 22:58:38.149425 INFO hello_world: You are now ready to run Apps!
2022-05-16 22:58:38.153420 INFO AppDaemon: App initialization complete
2022-05-16 22:58:42.320700 INFO AppDaemon: New client Admin Client connected
Any help greatly appreciated.