Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get ControllerX to run at all. App not detected by Appdaemon #716

Open
juanrusch opened this issue Feb 17, 2023 · 1 comment
Open
Assignees
Labels
question Further information is requested

Comments

@juanrusch
Copy link

juanrusch commented Feb 17, 2023

Question

I love this project and the idea behind it. I am trying to get controllerx to work as a way to restore the behavior or my Ikea lights using a E1743 trådfri switch. I have scanned the internet for help on this, but haven't found much.

Running HA and Appdaemon in docker, with AppDaemon successfully connecting to the HA instance.
But... have had no luck getting controllerx to be detected by AppDaemon, or getting anything at all to run.

AppDaemon runs, HA runs no issues, both connect to each other.
Have installed ControllerX through HACS, but have also tried the manual install. No luck.

Additional information

  • Devices involved:
    • Model: IKEA E1743
    • ...
  • Integration: ZHA
  • AppDaemon version: 4.2.1
  • ControllerX version: 4.25.0
  • HACS version (if installed from there): 1.30.1
  • Home Assistant Core version: 2023.2.0

AppDaemon app configuration

/conf # cat appdaemon.yaml
appdaemon:
  latitude: 0
  longitude: 0
  elevation: 30
  time_zone: Europe/Stockholm
  plugins:
    HASS:
      type: hass
      ha_url: http://192.168.50.200:8123
      token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI3ZjczZTY5ODE4ZjI0MzgwODU5MzI4NDJkMDdlOWNiMCIsImlhdCI6MTY3NjY0MDEwNiwiZXhwIjoxOTkyMDAwMTA2fQ.7s61zpn5VqV8stxIzdhPmlcr-c8ZSSRG2Z-Xq5d6EVY
http:
  url: http://192.168.50.200:5050
admin:
api:
hadashboard:



```apps.yaml
/usr/src/app/conf/apps # cat apps.yaml
control_kitchen_backdrop:
  module: controllerx
  class: E1743Controller
  integration: zha
  controller: 84:ba:20:ff:fe:fc:e4:e9
  light: light.kitchen_backdrop_lights

Additional Context

have also tried:
Chmod +x all controllerx files
Restarting both HA and Appdaemon containers
Putting ControllerX directly in Appdaemon container

At a complete loss here, any help would be appreciated

@juanrusch juanrusch added the question Further information is requested label Feb 17, 2023
@juanrusch
Copy link
Author

Seem to have solved it.
Appdaemon had apparenltly 2 identical config folders in my install.
Looking at the logs in detail, I could see it was loading app from the second path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants