Controllerx: New HueDimmerController events[BUG]

Created on 5 Aug 2020  路  4Comments  路  Source: xaviml/controllerx

Not quite sure which parts are needed, which aren't, so here is everything.

{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_long_release",
        "args": {
            "button": "off",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                4,
                3145728,
                3,
                33,
                13,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:37.813914+00:00",
    "context": {
        "id": "9ef4031734784296b6acf8ce6b4677c6",
        "parent_id": null,
        "user_id": null
    }
}
Event 18 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_hold",
        "args": {
            "button": "off",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                4,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:37.267247+00:00",
    "context": {
        "id": "a57b82b68619485daff65dfcf0bee7f5",
        "parent_id": null,
        "user_id": null
    }
}
Event 17 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_press",
        "args": {
            "button": "off",
            "press_type": "press",
            "command_id": 0,
            "args": [
                4,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:36.459871+00:00",
    "context": {
        "id": "3cc228a57b93464b8cab085e07793b2f",
        "parent_id": null,
        "user_id": null
    }
}
Event 16 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_short_release",
        "args": {
            "button": "off",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                4,
                3145728,
                2,
                33,
                1,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:35.922952+00:00",
    "context": {
        "id": "453bd5730c094936a8531eb3cc864436",
        "parent_id": null,
        "user_id": null
    }
}
Event 15 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "off_press",
        "args": {
            "button": "off",
            "press_type": "press",
            "command_id": 0,
            "args": [
                4,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:35.770966+00:00",
    "context": {
        "id": "8903f81138fa4b00a3514b92fdfed69d",
        "parent_id": null,
        "user_id": null
    }
}
Event 14 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_long_release",
        "args": {
            "button": "down",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                3,
                3145728,
                3,
                33,
                13,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:34.890531+00:00",
    "context": {
        "id": "a6430ebbb7f94e78aab327a1579b5031",
        "parent_id": null,
        "user_id": null
    }
}
Event 13 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_hold",
        "args": {
            "button": "down",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                3,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:34.310517+00:00",
    "context": {
        "id": "bdaf6c97166848f5a959a3c7ea020013",
        "parent_id": null,
        "user_id": null
    }
}
Event 12 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_press",
        "args": {
            "button": "down",
            "press_type": "press",
            "command_id": 0,
            "args": [
                3,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:33.510851+00:00",
    "context": {
        "id": "581da1f12af54779801bfb17baea74f6",
        "parent_id": null,
        "user_id": null
    }
}
Event 11 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_short_release",
        "args": {
            "button": "down",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                3,
                3145728,
                2,
                33,
                1,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:32.892996+00:00",
    "context": {
        "id": "75508367e21a4d709faedd0521e9f52a",
        "parent_id": null,
        "user_id": null
    }
}
Event 10 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "down_press",
        "args": {
            "button": "down",
            "press_type": "press",
            "command_id": 0,
            "args": [
                3,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:32.788473+00:00",
    "context": {
        "id": "a117227749204240833d5bc3c05d9fbf",
        "parent_id": null,
        "user_id": null
    }
}
Event 9 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_long_release",
        "args": {
            "button": "up",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                2,
                3145728,
                3,
                33,
                14,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:30.800524+00:00",
    "context": {
        "id": "6cd9d311ad3a4cf6907b5415e8d5ba21",
        "parent_id": null,
        "user_id": null
    }
}
Event 8 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_hold",
        "args": {
            "button": "up",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                2,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:30.151673+00:00",
    "context": {
        "id": "8477bb227c074e6bb1802821ca128706",
        "parent_id": null,
        "user_id": null
    }
}
Event 7 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_press",
        "args": {
            "button": "up",
            "press_type": "press",
            "command_id": 0,
            "args": [
                2,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:29.350381+00:00",
    "context": {
        "id": "476bfd19385444128c62b6bd9b9565bd",
        "parent_id": null,
        "user_id": null
    }
}
Event 6 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_short_release",
        "args": {
            "button": "up",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                2,
                3145728,
                2,
                33,
                1,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:28.760820+00:00",
    "context": {
        "id": "bc831fbb420547b29d41a010c1a47eab",
        "parent_id": null,
        "user_id": null
    }
}
Event 5 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "up_press",
        "args": {
            "button": "up",
            "press_type": "press",
            "command_id": 0,
            "args": [
                2,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:28.632415+00:00",
    "context": {
        "id": "01d2f8a15bac4df6a91e834774ebb26b",
        "parent_id": null,
        "user_id": null
    }
}
Event 4 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_long_release",
        "args": {
            "button": "on",
            "press_type": "long_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                3,
                33,
                13,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:11.157566+00:00",
    "context": {
        "id": "1bd5fe4197654ee499344ff990748c43",
        "parent_id": null,
        "user_id": null
    }
}
Event 3 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_hold",
        "args": {
            "button": "on",
            "press_type": "hold",
            "command_id": 0,
            "args": [
                1,
                3145728,
                1,
                33,
                8,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:10.609876+00:00",
    "context": {
        "id": "645f6ba982ae472d94f6c61dfca72b53",
        "parent_id": null,
        "user_id": null
    }
}
Event 2 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_press",
        "args": {
            "button": "on",
            "press_type": "press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:09.807792+00:00",
    "context": {
        "id": "3318b47ac96b473b891db3992c841b72",
        "parent_id": null,
        "user_id": null
    }
}
Event 1 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_short_release",
        "args": {
            "button": "on",
            "press_type": "short_release",
            "command_id": 0,
            "args": [
                1,
                3145728,
                2,
                33,
                1,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:08.839566+00:00",
    "context": {
        "id": "198b8d3ca7fd47d79b82ad1651db831b",
        "parent_id": null,
        "user_id": null
    }
}
Event 0 fired 17:16:
{
    "event_type": "zha_event",
    "data": {
        "device_ieee": "00:17:88:01:04:f1:b4:f0",
        "unique_id": "00:17:88:01:04:f1:b4:f0:2:0xfc00",
        "endpoint_id": 2,
        "cluster_id": 64512,
        "command": "on_press",
        "args": {
            "button": "on",
            "press_type": "press",
            "command_id": 0,
            "args": [
                1,
                3145728,
                0,
                33,
                0,
                0
            ]
        }
    },
    "origin": "LOCAL",
    "time_fired": "2020-08-05T16:16:08.707868+00:00",
    "context": {
        "id": "9e7c9655affb4528aa33e82bc1131d29",
        "parent_id": null,
        "user_id": null
    }
}
bug

All 4 comments

Hi @Cabalforces,

Thanks for the logs, I will keep you posted with the changes so you can try it out. I might release a beta version for you to try if that is okay for you.

Regards,
Xavi M.

Sure, im happy to help.

Hi @Cabalforces,

A beta version of the ControllerX v3.4.0 has been released. Would you mind testing this out? This is an example configuration for it:

example_app:
  module: controllerx
  class: HueDimmerController
  controller: 00:67:28:56:03:78:9b:3f
  integration: zha
  light: light.your_light

If you try this out, please let me know if all events work. Thank you :)

Everything works like a charm! Thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

D-ominik picture D-ominik  路  6Comments

EPMatt picture EPMatt  路  5Comments

mvjt picture mvjt  路  7Comments

oscfor picture oscfor  路  7Comments

fribse picture fribse  路  8Comments