Starting to lose the will to live on trying to get this to work, I have followed the guides and peoples comments when helpful info is given
I am going to try an be as comprehensive as I can, to act as a full guide for someone else and to cover all my bases, so that someone can help
I have all of these that I need to set up with Broadlink
But I have been trying 6-8 hours a day for the last 3 days to set one of these up (it is 6am in the morning as I write this, and I have been going strong since 9pm and I have work in 3 hours!
And just tried one of these
I have installed HACs and the following programs
I have unlocked the S3 hub in the broadlink app
In AppDaemon
I have added the package
I think this looks fine
2024-07-23 06:21:25.338868 INFO AppDaemon: AppDaemon is stopped.
[05:21:28] INFO: Service AppDaemon exited with code 0 (by signal 0)
s6-rc: info: service appdaemon successfully stopped
s6-rc: info: service init-appdaemon: stopping
s6-rc: info: service init-appdaemon successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------
Add-on: AppDaemon
Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
-----------------------------------------------------------
Add-on version: 0.16.6
You are running the latest version of this add-on.
System: Home Assistant OS 12.4 (aarch64 / raspberrypi3-64)
Home Assistant Core: 2024.7.3
Home Assistant Supervisor: 2024.06.2
-----------------------------------------------------------
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
Looking in indexes: https://pypi.org/simple, https://wheels.home-assistant.io/musllinux-index/
Collecting cryptography
Downloading https://wheels.home-assistant.io/musllinux-index/cryptography-43.0.0-cp39-abi3-musllinux_1_2_aarch64.whl (3.9 MB)
ββββββββββββββββββββββββββββββββββββββββ 3.9/3.9 MB 9.8 MB/s eta 0:00:00
Collecting cffi>=1.12 (from cryptography)
Downloading https://wheels.home-assistant.io/musllinux-index/cffi-1.16.0-cp311-cp311-musllinux_1_2_aarch64.whl (214 kB)
ββββββββββββββββββββββββββββββββββββββ 214.1/214.1 kB 10.6 MB/s eta 0:00:00
Collecting pycparser (from cffi>=1.12->cryptography)
Downloading https://wheels.home-assistant.io/musllinux-index/pycparser-2.22-py3-none-any.whl (117 kB)
ββββββββββββββββββββββββββββββββββββββ 117.6/117.6 kB 11.2 MB/s eta 0:00:00
Installing collected packages: pycparser, cffi, cryptography
Successfully installed cffi-1.16.0 cryptography-43.0.0 pycparser-2.22
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[05:22:28] INFO: Starting AppDaemon...
2024-07-23 06:22:41.603728 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2024-07-23 06:22:41.604550 INFO AppDaemon: Python version is 3.11.9
2024-07-23 06:22:41.605565 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2024-07-23 06:22:41.606635 INFO AppDaemon: Added log: AppDaemon
2024-07-23 06:22:41.607703 INFO AppDaemon: Added log: Error
2024-07-23 06:22:41.608518 INFO AppDaemon: Added log: Access
2024-07-23 06:22:41.609445 INFO AppDaemon: Added log: Diag
2024-07-23 06:22:42.391738 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2024-07-23 06:22:43.162808 INFO HASS: HASS Plugin Initializing
2024-07-23 06:22:43.163592 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2024-07-23 06:22:43.164528 INFO HASS: HASS Plugin initialization complete
2024-07-23 06:22:43.166601 INFO AppDaemon: Initializing HTTP
2024-07-23 06:22:43.168126 INFO AppDaemon: Using 'ws' for event stream
2024-07-23 06:22:43.184327 INFO AppDaemon: Starting API
2024-07-23 06:22:43.193420 INFO AppDaemon: Starting Admin Interface
2024-07-23 06:22:43.194986 INFO AppDaemon: Starting Dashboards
2024-07-23 06:22:43.584504 INFO HASS: Connected to Home Assistant 2024.7.3
2024-07-23 06:22:43.611255 INFO AppDaemon: App 'hello_world' added
2024-07-23 06:22:43.649084 INFO AppDaemon: App 'entryway_switch' added
2024-07-23 06:22:43.656139 INFO AppDaemon: App 'cinema_switch' added
2024-07-23 06:22:43.660470 INFO AppDaemon: Found 3 active apps
2024-07-23 06:22:43.661710 INFO AppDaemon: Found 0 inactive apps
2024-07-23 06:22:43.662642 INFO AppDaemon: Found 0 global libraries
2024-07-23 06:22:43.664084 INFO AppDaemon: Starting Apps with 3 workers and 3 pins
2024-07-23 06:22:43.669290 INFO AppDaemon: Running on port 5050
2024-07-23 06:22:43.811721 INFO HASS: Evaluating startup conditions
2024-07-23 06:22:43.846574 INFO HASS: Startup condition met: hass state=RUNNING
2024-07-23 06:22:43.848588 INFO HASS: All startup conditions met
2024-07-23 06:22:43.894789 INFO AppDaemon: Got initial state from namespace default
2024-07-23 06:22:44.476379 INFO AppDaemon: New client Admin Client connected
2024-07-23 06:22:45.685121 INFO AppDaemon: Scheduler running in realtime
2024-07-23 06:22:45.712140 INFO AppDaemon: Adding /config/apps to module import path
2024-07-23 06:22:45.719361 INFO AppDaemon: Loading App Module: /config/apps/hello.py
2024-07-23 06:22:45.901070 INFO AppDaemon: Loading app hello_world using class HelloWorld from module hello
2024-07-23 06:22:45.910661 INFO AppDaemon: Calling initialize() for hello_world
2024-07-23 06:22:46.518611 INFO hello_world: Hello from AppDaemon
2024-07-23 06:22:46.524994 INFO hello_world: You are now ready to run Apps!
2024-07-23 06:22:46.531484 INFO AppDaemon: App initialization complete
2024-07-23 06:23:38.628239 INFO AppDaemon: New client Admin Client connected
2024-07-23 06:23:45.339846 INFO AppDaemon: Client disconnection from Admin Client
2024-07-23 06:42:48.171556 WARNING AppDaemon: Excessive time spent in utility loop: 3009.0ms, 9.0ms in check_app_updates(), 3000.0ms in other
2024-07-23 06:42:53.666120 INFO AppDaemon: Client disconnection from Admin Client
This looks fine
I have stored the 14 files where they should be and the broadlink S3 hub in a folder above it called broadlink
ONE ODD THING,
I installed via HACS and for some reason I did not have a apps.yaml file, so I did create it
But I also have this file which is another apps.yaml
So I duplicated the file above here
Conbee stick is in play and has been autenticated
for this to work
for my Aqara sensors to work
As essentially I have the Aqara sensors/presence sensor/vibration and door sensors controlling the Broadlink light switches / govee lights / govee LEDs. Tapo lights / Lepro lights / Meross/Amazon/Gosund plugs and Switchbot various
Basically since lockdown, I got watching Paul Hibbert and bought so much smart tech and everything works perfectly in the Amazon ecosystem, but wanted to advance it a little with HA
I have noticed that in some other posts people have posted this, not sure it helps here for the appdaemon.yami