wernerhp / ha.appdaemon.wasp

An AppDaemon app for detecting occupancy using door and motions sensors.
MIT License
43 stars 0 forks source link

Installation Instruction Needs Clarification #7

Open KruseLuds opened 1 year ago

KruseLuds commented 1 year ago

I'd love to use your Wasp In a Box but have some questions and possibly you could just beef up the installation description from this:

"Download the wasp directory from inside the apps directory to your local apps directory, then configure the wasp module in apps.yaml".

Currently under HA I have two "apps" directories and was unsure of a few things before I start, and there is not a single "apps.yaml" files on my system...

pi@kruse-pi:/usr/share/hassio$ sudo find . -name "apps.yaml" pi@kruse-pi:/usr/share/hassio$

so here are my specific numbered questions (once I have those answered I can just run with the ball so to speak). Below is a snapshot of my directories on the RPI using WinSCP (I know many people have their own directory structures, so I am laying out mine here)As I have done nothing more than download your repository to the deault directory suppplied at this point:

image

I only have two app directories under homeassistant as shown by WinSCP:

image

So following your instructions,

"Download the wasp directory from inside the apps directory to your local apps directory, then configure the wasp module in apps.yaml".

  1. As i have already downloaded the repository, I guess the "apps directory is "/usr/share/hassio/homesassistant/appdaemon/apps/ha.appdaemon.wasp/, so what is the proper local apps directory, or was this already it? -

  2. then following the instruction: "...then configure the wasp module in apps.yaml". There is no "apps.yaml" file on my systems anywhere, should I just create one and if wo what is the best location for it?

  3. I'd like to crate more than one of these as there are multiple bathrooms, where Would I put the second instance? Or would the system be able to understand there is more than one as long as each has a duplicated entry but with a different name such as the below example in the same apps.yaml file?

`bathroom1_wasp: module: wasp class: Wasp device_class: occupancy name: Bathroom1 Occupancy delay: 5 box_sensors:

bathroom2_wasp: module: wasp class: Wasp device_class: occupancy name: Bathroom2 Occupancy delay: 5 box_sensors:

Here is my current setup:

System Information

version core-2023.4.4
installation_type Home Assistant Supervised
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.10
os_name Linux
os_version 5.10.0-21-arm64
arch aarch64
timezone America/New_York
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4986 Installed Version | 1.32.1 Stage | running Available Repositories | 1334 Downloaded Repositories | 24
AccuWeather can_reach_server | ok -- | -- remaining_requests | 23
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Debian GNU/Linux 11 (bullseye) -- | -- update_channel | stable supervisor_version | supervisor-2023.04.0 agent_version | 1.4.1 docker_version | 23.0.3 disk_total | 915.4 GB disk_used | 15.8 GB healthy | true supported | true supervisor_api | ok version_api | ok installed_addons | AppDaemon (0.12.0), Core DNS Override (0.1.1), Duck DNS (1.15.0), File editor (5.5.0), Home Assistant Google Drive Backup (0.110.3), Log Viewer (0.15.0), Mosquitto broker (6.2.0), Samba share (10.0.0), Terminal & SSH (9.6.1), AdGuard Home (4.8.5)
Dashboards dashboards | 5 -- | -- resources | 15 views | 29 mode | storage
Recorder oldest_recorder_run | March 17, 2023 at 9:45 AM -- | -- current_recorder_run | April 14, 2023 at 8:13 AM estimated_db_size | 1108.12 MiB database_engine | sqlite database_version | 3.38.5
stilltli commented 10 months ago

This still need clarification, wasp is not installed by HACS in the location stated in the readme.md and also there is no /config/appdaemon/apps/apps.yaml