Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IKEA TRADFRI remote control switch is not recognized as trigger #461

Closed
lubosz opened this issue Dec 31, 2018 · 2 comments
Closed

IKEA TRADFRI remote control switch is not recognized as trigger #461

lubosz opened this issue Dec 31, 2018 · 2 comments

Comments

@lubosz
Copy link

lubosz commented Dec 31, 2018

I am on OpenHAB 2.4.0 Release Build.
So I guess I should have this related smarthome patch.

I don't have an Ikea gateway, I want to use the remote with my ZigBee controller.

To get the remote into paring mode you need to press the pair button 4 times relatively quickly. The red LED blinks red shortly if you are successful. This was the case for me on firmware 11115720.

After that my Qivicon ZigBee controller lists the device as IKEA of Sweden TRADFRI remote control.
It shows it first as a generic ZigBee device, but if I wait a bit, I get the proper name.

The remote shows 4 channels in PaperUI. 3 for battery info and a switch.

The problem is that the switch is recognized as Actor, not Sensor. So I can set a switch value, which does not do anything, and there are no triggers.
The battery sensors don't output anything though, but the thing is showed as online.
The four secondary buttons are apparently not recognized either.

Nothing shows up in the event log when I press the buttons.

The guy from this video made it work with pimatic. Their implementation is documented here.

This is how it looks in org.eclipse.smarthome.core.thing.Thing.json. I guess there should be a "kind": "TRIGGER" in there.

  "zigbee:device:000002D1:000b57fffe4aebd4": {
    "class": "org.eclipse.smarthome.core.thing.internal.ThingImpl",
    "value": {
      "label": "IKEA of Sweden TRADFRI remote control",
      "bridgeUID": {
        "segments": [
          "zigbee",
          "coordinator_telegesis",
          "000002D1"
        ]
      },
      "channels": [
        {
          "acceptedItemType": "Number",
          "kind": "STATE",
          "uid": {
            "segments": [
              "zigbee",
              "device",
              "000002D1",
              "000b57fffe4aebd4",
              "000B57FFFE4AEBD4_1_batterylevel"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "system",
              "battery-level"
            ]
          },
          "label": "Battery Level",
          "configuration": {
            "properties": {}
          },
          "properties": {
            "zigbee_endpoint": "1"
          },
          "defaultTags": []
        },
        {
          "acceptedItemType": "String",
          "kind": "STATE",
          "uid": {
            "segments": [
              "zigbee",
              "device",
              "000002D1",
              "000b57fffe4aebd4",
              "000B57FFFE4AEBD4_1_batteryalarm"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "zigbee",
              "battery_alarm"
            ]
          },
          "label": "Battery Alarm",
          "configuration": {
            "properties": {}
          },
          "properties": {
            "zigbee_endpoint": "1"
          },
          "defaultTags": []
        },
        {
          "acceptedItemType": "Number",
          "kind": "STATE",
          "uid": {
            "segments": [
              "zigbee",
              "device",
              "000002D1",
              "000b57fffe4aebd4",
              "000B57FFFE4AEBD4_1_batteryvoltage"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "zigbee",
              "battery_voltage"
            ]
          },
          "label": "Battery Voltage",
          "configuration": {
            "properties": {}
          },
          "properties": {
            "zigbee_endpoint": "1"
          },
          "defaultTags": []
        },
        {
          "acceptedItemType": "Switch",
          "kind": "STATE",
          "uid": {
            "segments": [
              "zigbee",
              "device",
              "000002D1",
              "000b57fffe4aebd4",
              "000B57FFFE4AEBD4_1_switch"
            ]
          },
          "channelTypeUID": {
            "segments": [
              "zigbee",
              "switch_onoff"
            ]
          },
          "label": "Switch",
          "configuration": {
            "properties": {}
          },
          "properties": {
            "zigbee_endpoint": "1"
          },
          "defaultTags": []
        }
      ],
      "configuration": {
        "properties": {
          "zigbee_macaddress": "000B57FFFE4AEBD4"
        }
      },
      "properties": {
        "zigbee_logicaltype": "END_DEVICE",
        "zigbee_powerlevel": "FULL",
        "modelId": "TRADFRI remote control",
        "zigbee_networkaddress": "62892",
        "zigbee_powersource": "MAINS",
        "zigbee_stkversion": "87",
        "zigbee_datecode": "20161011",
        "zigbee_zclversion": "1",
        "zigbee_routes": "[]",
        "zigbee_lastupdate": "",
        "zigbee_stkcompliance": "0",
        "vendor": "IKEA of Sweden",
        "zigbee_powermode": "RECEIVER_ON_IDLE",
        "zigbee_powersources": "[MAINS]",
        "hardwareVersion": "1",
        "firmwareVersion": "11115720",
        "zigbee_neighbors": "[]",
        "zigbee_devices": "[]"
      },
      "uid": {
        "segments": [
          "zigbee",
          "device",
          "000002D1",
          "000b57fffe4aebd4"
        ]
      },
      "thingTypeUID": {
        "segments": [
          "zigbee",
          "device"
        ]
      }
    }
  },

Can I make this work through configuration or needs anything to be implemented besides PaperUI wizzardry?

This is also discussed in the forums.

@wborn
Copy link
Member

wborn commented Jan 5, 2019

If some functionality is missing for this please create an issue for this in the openHAB Zigbee project issue tracker. That's the repository where all openHAB Zigbee (including Telegesis) related code is maintained.

@wborn wborn closed this as completed Jan 5, 2019
@lubosz
Copy link
Author

lubosz commented Jan 12, 2019

For reference, I have opened a new issue in the zigbee binding here:
openhab/org.openhab.binding.zigbee#357

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants