Thanks. I now am able to see QolsysGateway in the UI of AppDaemon
My Qolsys only has one door/window sensor (at the moment) Should I be seeing this in HA somewhere?
Thanks. I now am able to see QolsysGateway in the UI of AppDaemon
My Qolsys only has one door/window sensor (at the moment) Should I be seeing this in HA somewhere?
If you have the MQTT integration setup, then yes. You should have a device for the panel with entities for the panel status along with any sensors.
The MQTT config is done in appdaemon.yaml.
Do you have the qolsys folder in your App daemon folder? Your logs do not show it starting up.
OK, I have updated the appdaemon.yaml
I do not have a qolsysgw folder in appdaemon/apps. It appears to be in homeassistant/appdaemon/apps
how do I go about correcting/moving this folder?
Well, I was going to say just move it with File Editor, but trying to download the folder gives me a 502 error. Not sure if you’ve tried or what you’ll see. I use the samba add-on so I have network folder access and just move it that way. You could move the folder with SSH since you have access. You can also tell AppDaemon to use the existing folder. I haven’t tried this but looks like you can just add:
app_dir: /homeassistant/appdaemon/apps
to appdaemon.yaml. Like this:
You have the MQTT add-on installed? Is the user list clear?
The account you added to appdaemon.yaml is added to the user list for HA, correct?
I’m not sure then. I would try restarting the broker add-on and then restarting the AppDaemon add-on. You could also check the MQTT add-on logs to see what it’s showing when AppDaemon tries connecting.
I have decided to re-install the OS, and start from scratch. I will update you tomorrow.
started with a fresh OS. Now, AppDaemon will not start. Error loading /config/secrets.yaml. I believe this file is formatted correct. I see that I have a 2nd secrets.yaml file located at /homeassistant/secrets.yaml. which one is correct, and it there an issue having both?
Set that first line in your MQTT config and use that file.
AppDaemon is started, QolsysGateway shows up in the UI. Log file has connection errors…
after a bit, log file will contain this errors
What is your network setup? See some posts about having dual connectivity (Ethernet and WiFi) causing issues.
Home Assistant green is ethernet, Qolsys is wireless.
Both Appdaemon and Mosquito broker are on the Home Assistant, so all communication should be internal, right?
I feel that most of my issues are related to the installation location of Appdaemon, my ability (or lack of) to mover proper folder structures, and correctly identify app_dir: and secrets: in appdaemon.yaml.
There’s no issue with the panel being on WiFi. The dual connectivity problem would be having the HAOS installation on both Ethernet and WiFi.
The communication is internal but it’s not as simple as AppDaemon talking directly to MQTT. They go through a virtualized switch that is tied back to the physical network interface.
The folder move is because of HACS installing the Qolsys app in an old location used by AppDaemon. That was a change on the AppDaemon side some time back.
Can you post your current AppDaemon.yaml?
Qolsys is now communicating with Home Assistant - YAY and thanks.
Will the sensors only show as entities in HA? is there a way add them as a device?
can you reccomend any articles/examples that I should become familiar with? Do you have any reccomendations on using MQTT triggers or Entity events?
There’s an integration called “Device Tools” available in HACS that lets you create your own devices from the entities but I don’t believe there’s any real benefit to it. Here’s a sample automation I have for locking the exterior doors when the alarm is set:
alias: Locks with Alarm Arm
description: ""
trigger:
- platform: state
entity_id:
- alarm_control_panel.house
to: armed_home
- platform: state
entity_id:
- alarm_control_panel.house
to: armed_away
condition: []
action:
- data: {}
target:
entity_id:
- lock.back_door_lock
- lock.front_door_lock_frontdoor
- lock.garage_side_lock
action: lock.lock
mode: single