Zigbee2mqtt: Feature request: ICTC-G-1(round Ikea dimmer) Add Action to the MQTT message

Created on 5 Mar 2019  路  4Comments  路  Source: Koenkk/zigbee2mqtt

For better integrating into HomeAssistant i would realy appriciate a action in the payload.
like rotate_left ,rotate_right ,quick_rotate_left ,quick_rotate_right that we can better work with templates and set lights more dynamic.

Most helpful comment

Implemented in the dev branch.

Possible actions are:

  • rotate_left
  • rotate_right
  • rotate_stop (published after rotate_left or rotate_right)
  • rotate_left_quick
  • rotate_right_quick

All 4 comments

Therefore the request - I would change the brightness of an room, But with diffrent levels on each light.
Would open the possibility of using it as "button".

like in
https://github.com/Koenkk/zigbee2mqtt/issues/542
movemode":0 for left and movemode":1 for right.

just found
https://github.com/Koenkk/zigbee2mqtt/issues/690
is this tecnical is an duplicate?

@WagnerBeccard would you manage to update the code here: https://github.com/Koenkk/zigbee-shepherd-converters/blob/master/converters/fromZigbee.js#L84 (should be the only thing that requires changing).

Would love to - Just poking around on my instance here - But do not get on the green track.
(any coding expirience )

Implemented in the dev branch.

Possible actions are:

  • rotate_left
  • rotate_right
  • rotate_stop (published after rotate_left or rotate_right)
  • rotate_left_quick
  • rotate_right_quick
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Courty40 picture Courty40  路  4Comments

tb-killa picture tb-killa  路  3Comments

rm2kdev picture rm2kdev  路  3Comments

alwashe picture alwashe  路  4Comments

jeroenterheerdt picture jeroenterheerdt  路  3Comments