Hi @xaviml
Thanks, this is working.
Keep up to good work.
Regards,
Guido
Ive been using Symfonisk remote directly linked to the lights it been controlling, but now linked the symfonisk controller with ControllerX and its very nice and smooth, but the amount of steps when turning it is alot less now, meaning i have to rotate it 2-3 times to get the same result i just had to spin one time beforā¦ ive seen i can adjust steps / clicks for other controller, but havent found how i do that with the Symfonisk controller? anyone can help?
Hi @joachi,
You can use automatic_steps
(default: 10) and delay
(default: 500ms). I recommend you lower them down until it works to your like and the network allows it.
Read more about those attributes here.
Regards,
Xavi M.
Great! worked like charm! thank you!
Hi all,
ControllerX is affected by the breaking changes of AppDaemon 4.2.0
I use the AppDaemon addon which is still in 4.1.0, but I imagine it will be released with the new AppDaemon version soon.
My recommendation is not to yet upgrade your AppDaemon addon or version until I review and fix the changes. I will do this once the addon is released with the new AppDaemon version.
Breaking changes only apply for people using the templete render from what I understand from the post, but I will make sure everything is still working as expected.
I will keep you all posted.
Regards,
Xavi M.
?-) I have installed here AppDaemon 4 Addon which has a version number 0.7.2.
I can not find this version number 4.2.0 anywhere on the page of AppDaemon: https://github.com/hassio-addons/addon-appdaemon.
Hi @carsten_h,
One thing is the AppDaemon addon, and the other thing is the AppDaemon project. The AppDaemon addon is a Home Assistant addon that boots AppDaemon for you, so you do not need to install AppDaemon in your machine.
AppDaemon addon last version as of now is 0.7.2 and uses AppDaemon 4.1.0. However, AppDaemon is now releasing 4.2.0 (with the breaking changes beforementioned), so the AppDaemon addon will need to bump the AppDaemon version from 4.1.0 to 4.2.0, and it will probably release the AppDaemon addon 0.8.0.
Hope this clarifies your confusion. So my recommendation is not to upgrade the AppDaemon addon (there will be a new release soon) until I test it myself, and I make sure everything works as expected.
Regards,
Xavi M.
Sure will do so.
Hi Xavi,
Thanks for a great tool - Iāve recently stumpled over a challenge:
Iām trying to have a couple of lights controlled by two controllers (located in different end of the room), however when I implement both controllers I cannot always turn off the lights (neither of the controllers will let me do this)
The two controllers (different IKEAās) are configured simple as follows
The new one - round IKEA
kaeldergang_kontakt2_app:
module: controllerx
class: ICTCG1Controller
controller: kaeldergang_kontakt
integration: deconz
light: light.kaeldergang_2
The old one 5-button IKEA
kaeldergang_kontakt_app:
module: controllerx
class: E1810Controller
controller: kaeldergang_kontakt
integration: deconz
light: light.kaeldergang_2
Is there something I should note in order to get this to work?
Kind regards
Hi @motionist,
Configuration looks good to me. I would need 5o see the AppDaemon logs to see qhat is happening. Please open a ticket in GitHub issue with the āQuestionā form and add rhe logs in there as well as what you are experiencing.
Regards,
Xavi M.
thx
I will do a log over the weekend.
regards
Morten
Itās here I think, Iāll await your findings before I update.
I am only using standard functions in ControllerX and I forgot to switch off the auto update, so I got the new version tonight. So far everything is working fine!
Hi everyone,
I have checked the compatibilities of the new AppDaemon version and everything worked except for configurations that imply template rendering. So you can safely upgrade if you are not using template rendering (using the double curly braces {{ }}).
I will push a new release either today or tomorrow for the fix for the template rendering.
If you find any other problems with the new AppDaemon version, please let me know.
Regards,
Xavi M.
Hi all,
I just released ControllerX v4.18.1 with the fix for the incompatibility for AppDaemon 4.2.0. This just fix the problem with the template rendering, the rest was working as expected.
Note that ControllerX 4.18.1 is also compatible with AppDaemon 4.1.0.
Regards,
Xavi M.
Would like to start off by saying thank you very much for this integration! Itās saved a lot of time and energy for creating the automations for the various devices I have!
I am however struggling to get the SmartThings Button - IM6001-BTP01 to work correctly.
For some reason, it just doesnāt respond. I can setup automations to act when I single click
, double click
or hold
and that works fine, but it doesnāt work with the template.
Hereās the app.yaml
config (without actions
):
lounge_light_button:
module: controllerx
class: SmartThingsButtonLightController
controller: sensor.lounge_button_action
integration: z2m
light: light.lounge_lamp
Hereās the app.yaml
config (with actions
):
lounge_light_button:
module: controllerx
class: SmartThingsButtonLightController
controller: sensor.lounge_button_action
integration: z2m
light: light.lounge_lamp
actions:
- "single"
- "double"
- "hold"
In the logs I can see this:
Logger: homeassistant.helpers.template
Source: helpers/template.py:1706
First occurred: 10:27:38 (31 occurrences)
Last logged: 10:28:30
Template variable warning: ādict objectā has no attribute āclickā when rendering ā{{ value_json.click }}ā
Template variable warning: ādict objectā has no attribute āactionā when rendering ā{{ value_json.action }}ā
Template variable warning: ādict objectā has no attribute ābatteryā when rendering ā{{ value_json.battery }}ā
Template variable warning: ādict objectā has no attribute ātemperatureā when rendering ā{{ value_json.temperature }}ā
Which Iām not sure if itās related to the issue or not.
Hi
The log is as follows - same issue when I try to turn on - then off on the IKEA 5 buttom - followed by some rotation of the dimmer.
I will submit in Github
Kind regards
Morten
2022-01-12 14:13:23.661014 WARNING AppDaemon: Excessive time spent in utility loop: 4001.0000000000005ms, 3999.0ms in check_app_updates(), 2.0000000000004547ms in other
2022-01-12 14:13:25.446509 INFO events: [āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:25.457616 INFO events: sensor.personer_hjemme: 4, attributes={āandā: āGange, Kļæ½ļæ½ldergang, Morten, og gļæ½ļæ½sterā, āorā: āGange, Kļæ½ļæ½ldergang, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 4}
2022-01-12 14:13:26.322069 INFO events: [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:26.335511 INFO events: sensor.personer_hjemme: 5, attributes={āandā: āGange, Gruppe, Kļæ½ļæ½ldergang, Morten, og gļæ½ļæ½sterā, āorā: āGange, Gruppe, Kļæ½ļæ½ldergang, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 5}
2022-01-12 14:13:27.806887 WARNING AppDaemon: Excessive time spent in utility loop: 3129.0ms, 3127.0ms in check_app_updates(), 2.0ms in other
2022-01-12 14:13:27.823413 INFO events: [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā]
2022-01-12 14:13:27.827070 INFO events: sensor.personer_hjemme: 4, attributes={āandā: āGange, Gruppe, Kļæ½ļæ½ldergang, og Mortenā, āorā: āGange, Gruppe, Kļæ½ļæ½ldergang, eller Mortenā, āpeopleā: [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā], āiconā: āmdi:account-groupā, ācountā: 4}
2022-01-12 14:13:28.922258 INFO events: [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā] ā [āGangeā, āGruppeā, āMortenā]
2022-01-12 14:13:28.927505 INFO events: sensor.personer_hjemme: 3, attributes={āandā: āGange, Gruppe, og Mortenā, āorā: āGange, Gruppe, eller Mortenā, āpeopleā: [āGangeā, āGruppeā, āMortenā], āiconā: āmdi:account-groupā, ācountā: 3}
2022-01-12 14:13:32.600271 INFO events: [āGangeā, āGruppeā, āMortenā] ā [āGruppeā, āMortenā]
2022-01-12 14:13:32.609068 INFO events: sensor.personer_hjemme: 2, attributes={āandā: āGruppe og Mortenā, āorā: āGruppe eller Mortenā, āpeopleā: [āGruppeā, āMortenā], āiconā: āmdi:account-multipleā, ācountā: 2}
2022-01-12 14:13:32.641608 WARNING AppDaemon: Excessive time spent in utility loop: 3744.0ms, 3742.0ms in check_app_updates(), 2.0ms in other
2022-01-12 14:13:33.498439 INFO events: [āGruppeā, āMortenā] ā [āMortenā]
2022-01-12 14:13:33.514353 INFO events: sensor.personer_hjemme: 1, attributes={āandā: āMortenā, āorā: āMortenā, āpeopleā: [āMortenā], āiconā: āmdi:accountā, ācountā: 1}
2022-01-12 14:13:34.477971 INFO events: [āMortenā] ā [āKļæ½ļæ½ldergangā, āMortenā]
2022-01-12 14:13:34.486975 INFO events: sensor.personer_hjemme: 2, attributes={āandā: āKļæ½ļæ½ldergang og Mortenā, āorā: āKļæ½ļæ½ldergang eller Mortenā, āpeopleā: [āKļæ½ļæ½ldergangā, āMortenā], āiconā: āmdi:account-multipleā, ācountā: 2}
2022-01-12 14:13:35.197366 INFO events: [āKļæ½ļæ½ldergangā, āMortenā] ā [āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:35.210218 INFO events: sensor.personer_hjemme: 3, attributes={āandā: āKļæ½ļæ½ldergang, Morten, og gļæ½ļæ½sterā, āorā: āKļæ½ļæ½ldergang, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 3}
2022-01-12 14:13:37.721305 WARNING AppDaemon: Excessive time spent in utility loop: 3884.0ms, 3881.0ms in check_app_updates(), 3.0ms in other
2022-01-12 14:13:38.143248 INFO events: [āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:38.146384 INFO events: sensor.personer_hjemme: 4, attributes={āandā: āGange, Kļæ½ļæ½ldergang, Morten, og gļæ½ļæ½sterā, āorā: āGange, Kļæ½ļæ½ldergang, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 4}
2022-01-12 14:13:39.060317 INFO events: [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:39.064441 INFO events: sensor.personer_hjemme: 5, attributes={āandā: āGange, Gruppe, Kļæ½ļæ½ldergang, Morten, og gļæ½ļæ½sterā, āorā: āGange, Gruppe, Kļæ½ļæ½ldergang, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 5}
2022-01-12 14:13:39.977092 INFO events: [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āGruppeā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:39.980115 INFO events: sensor.personer_hjemme: 4, attributes={āandā: āGange, Gruppe, Morten, og gļæ½ļæ½sterā, āorā: āGange, Gruppe, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āGangeā, āGruppeā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 4}
2022-01-12 14:13:40.796359 INFO events: [āGangeā, āGruppeā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āGruppeā, āMortenā]
2022-01-12 14:13:40.798991 INFO events: sensor.personer_hjemme: 3, attributes={āandā: āGange, Gruppe, og Mortenā, āorā: āGange, Gruppe, eller Mortenā, āpeopleā: [āGangeā, āGruppeā, āMortenā], āiconā: āmdi:account-groupā, ācountā: 3}
2022-01-12 14:13:42.115612 WARNING AppDaemon: Excessive time spent in utility loop: 3361.0ms, 3359.0ms in check_app_updates(), 2.0ms in other
2022-01-12 14:13:43.532504 INFO events: [āGangeā, āGruppeā, āMortenā] ā [āGruppeā, āMortenā]
2022-01-12 14:13:43.535211 INFO events: sensor.personer_hjemme: 2, attributes={āandā: āGruppe og Mortenā, āorā: āGruppe eller Mortenā, āpeopleā: [āGruppeā, āMortenā], āiconā: āmdi:account-multipleā, ācountā: 2}
2022-01-12 14:13:44.370476 INFO events: [āGruppeā, āMortenā] ā [āMortenā]
2022-01-12 14:13:44.373393 INFO events: sensor.personer_hjemme: 1, attributes={āandā: āMortenā, āorā: āMortenā, āpeopleā: [āMortenā], āiconā: āmdi:accountā, ācountā: 1}
2022-01-12 14:13:46.605771 WARNING AppDaemon: Excessive time spent in utility loop: 3487.0ms, 3486.0ms in check_app_updates(), 1.0ms in other
2022-01-12 14:13:51.410091 INFO events: [āMortenā] ā [āKļæ½ļæ½ldergangā, āMortenā]
2022-01-12 14:13:51.417692 INFO events: sensor.personer_hjemme: 2, attributes={āandā: āKļæ½ļæ½ldergang og Mortenā, āorā: āKļæ½ļæ½ldergang eller Mortenā, āpeopleā: [āKļæ½ļæ½ldergangā, āMortenā], āiconā: āmdi:account-multipleā, ācountā: 2}
2022-01-12 14:13:51.933004 WARNING AppDaemon: Excessive time spent in utility loop: 4218.0ms, 4216.0ms in check_app_updates(), 2.0ms in other
2022-01-12 14:13:52.133419 INFO events: [āKļæ½ļæ½ldergangā, āMortenā] ā [āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:52.140004 INFO events: sensor.personer_hjemme: 3, attributes={āandā: āKļæ½ļæ½ldergang, Morten, og gļæ½ļæ½sterā, āorā: āKļæ½ļæ½ldergang, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 3}
2022-01-12 14:13:53.170591 INFO events: [āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:53.174279 INFO events: sensor.personer_hjemme: 4, attributes={āandā: āGange, Kļæ½ļæ½ldergang, Morten, og gļæ½ļæ½sterā, āorā: āGange, Kļæ½ļæ½ldergang, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 4}
2022-01-12 14:13:54.181205 INFO events: [āGangeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā] ā [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā]
2022-01-12 14:13:54.183969 INFO events: sensor.personer_hjemme: 5, attributes={āandā: āGange, Gruppe, Kļæ½ļæ½ldergang, Morten, og gļæ½ļæ½sterā, āorā: āGange, Gruppe, Kļæ½ļæ½ldergang, Morten, eller gļæ½ļæ½sterā, āpeopleā: [āGangeā, āGruppeā, āKļæ½ļæ½ldergangā, āMortenā, āgļæ½ļæ½sterā], āiconā: āmdi:account-groupā, ācountā: 5}
2022-01-12 14:13:55.459745 INFO kaeldergang_kontakt_app: Button event triggered: 1002
2022-01-12 14:13:55.470709 INFO kaeldergang_kontakt2_app: Button event triggered: 1002
2022-01-12 14:13:55.481666 INFO kaeldergang_kontakt_app: Running Predefined (toggle)
now
2022-01-12 14:13:55.496390 INFO kaeldergang_kontakt_app:
Service: light.toggle
Predefined (rotate_right_quick)
nowI have this working nicely with my Ecosmart zigbee remotes (aka MLI404002) but the color temp doesnāt work at all and I donāt think the documentation is reflecting what the appropriate actions are to put in apps.yaml for these button pushes. Iām replying to your post where you reference putting them in for MLI404011, but I canāt seem to get this to work with 002 even though I know it does when connected to the pre-linked bulbs.
Here is one of the definitions I have. This works save color temp and the double light definition, which I was playing around with. (Iād love to get double taps working for this as well)
mb_rm_j_j:
module: controllerx
class: MLI404002LightController
controller: cc:cc:cc:ff:fe:e5:eb:3a
integration: zha
light: light.master_lamp_jared
light: light.master_lamp_chair
actions:
- āonā
- āoffā
- move_up
- move_down
- stop
- step_up
- step_down
- recall
constrain_input_select: input_boolean.master_lamp_lock_jared,off
I have a couple other questions non-relatedā¦can I reference 2 lights in a remote definition? For reasons I donāt want to really get into depth on, I cannot use a light group in this instance. Itsā¦a spousal use issue with specific lamps. This is a pretty complicated setup where I am using constraints to stop certain lamps from turning on/off sometimes depending on some input booleansā¦but I have a 3rd light that I want to always turn on/off regardless. I expect I can just go ahead and add yet another definition to the apps.yaml for the button pushes, but Iād rather keep this as simple as possible.
Next questionā¦can I override a button definition to run something else?
Next questionā¦I see some references to multi-tap button usage here. Is this something that has to be defined in apps.yaml or is it tied to only certain controllers?
Thanks
For the WXCJKG13LMLightController
with ZHA, the long press is 1_hold
and not "1_long press"
(small error in the documentation)
Here is the simplest way to manage 3 bottons, but it would be easier if each row was visible individually with cover functionsā¦
# A Q A R A O P P L E 2
volets:
module: controllerx
class: WXCJKG13LMLightController
controller: 54:ef:44:40:40:4c:48:fd
integration: zha
light: light.off
mapping:
1_single:
service: cover.stop_cover
entity_id: cover.vr_baie
1_double:
service: cover.close_cover
entity_id: cover.vr_baie
1_hold:
service: cover.close_cover
entity_id: cover.vr_baie
1_release:
service: cover.stop_cover
entity_id: cover.vr_baie
2_single:
service: cover.stop_cover
entity_id: cover.vr_baie
2_double:
service: cover.open_cover
entity_id: cover.vr_baie
2_hold:
service: cover.open_cover
entity_id: cover.vr_baie
2_release:
service: cover.stop_cover
entity_id: cover.vr_baie
Hi @eitel13,
What do you mean by ābut it doesnāt work with the templateā? Also, the configuration with actions
is not well indented:
lounge_light_button:
module: controllerx
class: SmartThingsButtonLightController
controller: sensor.lounge_button_action
integration: z2m
light: light.lounge_lamp
actions:
- "single"
- "double"
- "hold"
Regards,
Xavi M.