notherealmarco / ha-tradfri-remote Goto Github PK
View Code? Open in Web Editor NEWControl multiple Home Assistant devices with a single zigbee2mqtt connected IKEA TRÅDFRI remote.
License: MIT License
Control multiple Home Assistant devices with a single zigbee2mqtt connected IKEA TRÅDFRI remote.
License: MIT License
Thanks for this, works well and just what I needed, saves me doing scripts and automations to achieve something similar but much more convoluted.
Currently brightness_up/down_hold
does nothing (for me at least), I was toying with the idea before using this as way to change the color_temp
.
Would that be viable possibility?
Hi,
I'm trying to use this app with
https://github.com/notherealmarco/appdaemon-light-dimmer plugin (having 1 zigbee and 2 yeelight bulbs, wifi version)
but dimming seems not working with yeelight lights.
When I press some of the dim buttons, got
2021-01-27 19:13:19.996299 WARNING remote_1: ------------------------------------------------------------
2021-01-27 19:13:19.995169 WARNING remote_1: Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/appdaemon/threading.py", line 900, in worker
funcref(
File "/config/appdaemon/apps/real_tradfri_remote/real_tradfri_remote.py", line 194, in button_pressed
self.log(self.args['zigbee_names'])
KeyError: 'zigbee_names'
2021-01-27 19:13:19.990441 WARNING remote_1: ------------------------------------------------------------
2021-01-27 19:13:19.989473 WARNING remote_1: Worker Ags: {'id': '3cf2fabf82d44b0bbd9d284a803fb18d', 'name': 'remote_1', 'objectid': '04a06c03c7544deb9364eae38e2fdc11', 'type': 'state', 'function': >, 'attribute': 'state', 'entity': 'sensor.tradfri_remote_control_action', 'new_state': 'brightness_down_hold', 'old_state': '', 'pin_app': True, 'pin_thread': 0, 'kwargs': {'__thread_id': 'thread-0'}}
2021-01-27 19:13:19.988400 WARNING remote_1: Unexpected error in worker for App remote_1:
2021-01-27 19:13:19.983907 WARNING remote_1: ------------------------------------------------------------
appdaemon version 4.0.5
my config:
remote_1:
module: real_tradfri_remote
class: TradfriRemote
groups:
group_1:
- light.kitchen_light
group_2:
- light.ceiling_light
group_3:
- light.bedroom_light
right_arrow_mode: scenes
scenes:
- scene.kitchen_warm_white
- scene.kitchen_cold_white
hold_group: 1
left_hold_device: 2
right_hold_device: 3
reset_after: 10
remote: sensor.tradfri_remote_control_action
light_dimmer:
module: light_dimmer
class: NoTheDimmer
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.