Oh, sorry. I assumed it was the remote with dimming buttons.
All remotes are represented by an event in HASS. Check the documentation for examples.
Motion sensors and other detectors are represented as either binary sensors or ordinary sensors
Thanks!
Do you possibly have any references to the documentation that you are referring to? I have so far only been able to see my dimmer showing up as a light component.
A little follow up here, it seems the remote directly address an end device (or several) and cannot address a bridge. And therefore it doesn’t seems possible to use the dimmer function with a bridge.
Except your bridge can pretend being a lamp…
For those understanding French, there is an article explaining that from the creator of the Zigate:
Mais alors ? comment fonctionne ces télécommandes et pourquoi ne sont-elles pas interprétées par la ZiGate ?
La première chose à remarquer est que l’action, sur le bouton de la télécommande, est envoyée à un groupe et non pas à un endpoint (device).
A quick translation:
But then ? how do these remote work and why are they not interpreted by the ZiGate?
The first thing to notice is that the signal, when pressing the button of the remote control, is sent to a group and not to an endpoint (device).
The Tradfri dimmer does not trigger any deconz_event. At least not in my logs, did you check yours?
I’ve moved to another machine and haven’t gotten it up and running yet
Ok keep me posted please
I’m using @marthocoo deCONZ addon for Hass.io, found here hassio-addons/deconz at master · marthoc/hassio-addons · GitHub
I can add Ikea trådfri lights no problem and they show up and I can control them in HA. I also added the Ikea wireless dimmer to deconz (show up as a switch/group) and i added lights to the “group”. The dimmer also show up in HA as a light and i can control it. But turning the physical dimmer switch has no effect on the lamps. When i turn the dimmer i get the below result in the deCONZ addon log. Any idea how tho get the physical dimmer switch to work?
14:38:21:604 no button handler for: TRADFRI wireless dimmer cl: 0x0001 cmd: 0x0A pl[0]: 021
14:38:21:604 ZCL attribute report 0x000B57FFFE2EB9C2 for cluster 0x0001, ep 0x01
14:38:21:677 button 2002 Move up (with on/off)
14:38:21:681 discard sensor state push for state/lastupdated (already pushed)
14:38:21:697 button 2002 Move up (with on/off)
14:38:21:701 discard sensor state push for state/lastupdated (already pushed)
14:38:21:822 no button handler for: TRADFRI wireless dimmer cl: 0x0008 cmd: 0x07 pl[0]: 000
14:38:21:904 no button handler for: TRADFRI wireless dimmer cl: 0x0008 cmd: 0x07 pl[0]: 000
Did you also physically pair the dimmer with the bulb afterwards?
I had not. I’ve tried it now and I get the confirmation blinking from the bulb but it still won’t turn on/off or dim.
I previously did a physically pair of the dimmer with the bulb after have added only the bulb to deconz. The dimmer then worked but the bulb went “gray” in deconz and lost connection with HA. I had to reset the bulb and re-add it to deconz. I’ve tried with two different bulbs and dimmers to:
-add bulb in deconz (phoscon App)
-add dimmer in deconz (phoscon App)
-add bulb to “dimmer switch group” in deconz (phoscon App)
-physically pair the dimmer with the bulb (pressing pair button for 10s till the bulb blinks)
Both the bulbs and the dimmers show up in HA but the physical switches won’t work.
Supposedly some issues with dimmer should be improved with the latest version of deconz
That sounds geat! I’m on version 2.05.15
@marthocoo is there an update being pushed to your addon soon?
the docker is on the latest version.
@ulfson - refresh the Add-on Store and the updated version of my deCONZ Add-on will be available. Sorry about the delay, this is my last thing to automate bumping when a new version of the underlying image is built.
Thank You!
Updated and got it working!!
Hi,
I’ve got the round turntable dimmer from ikea, i see the battery item in HASS. Does anyone have a snip of code to create the automation to use the dimmer value?
Thx.
Adjusting an input number that you then can use to control other things. The entity template is not needed below. It’s just there because i copied it from a setup with the IKEA remote:
- alias: 'Change dimmer value from IKEA dimmer for cabinet lights using the ikea dimmer'
initial_state: 'on'
trigger:
platform: event
event_type: deconz_event
event_data:
id: dimmer_1
action:
service: input_number.set_value
data_template:
entity_id: >
{% elif (trigger.event.data.event|int > 2000) %} {# lång upp #}
{{ 'input_number.dimmer_kitchen_cabinet' }}
{% endif %}
value: >
{% if (trigger.event.data.event|int == 2002) %} {# upp #}
{{ [(float(states.input_number.dimmer_kitchen_cabinet.state) + 20), 255]|min }}
{% elif (trigger.event.data.event|int == 3002) %} {# ner #}
{{ [(float(states.input_number.dimmer_kitchen_cabinet.state) - 20), 0]|max }}
{% endif %}