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

PTM 215 ZE does not show action in HA #22578

Open
tluethi71 opened this issue May 10, 2024 · 4 comments
Open

PTM 215 ZE does not show action in HA #22578

tluethi71 opened this issue May 10, 2024 · 4 comments
Labels
problem Something isn't working

Comments

@tluethi71
Copy link

tluethi71 commented May 10, 2024

What happened?

Hello
I have paired 2 PTM 215 ZE to zigbee2mqtt successfully. It shows the the linkquality and the status of the action (when pressing a button) in zigbee2mqtt but in Home Assistant it only shows the linkquality and no sensor called action. Somehow the action does not come through zigbee2mqtt to HA. Is this a known bug?
Thanks for any help
Br Tom

What did you expect to happen?

When pressing a button (e.g. press_1, release_1) it should be shown in the according mqtt-device in HomeAssistant. The action is shown in zigbee2mqtt but not in HA. I can not trigger any button clicks in HA

How to reproduce it (minimal and precise)

Click a button on the PTM 215 ZE and check what happens in zigbee2mqtt (status, see pic) and then check in HA the according device (see pic). It does not show the action "press_1" or "release_1" and there is no action sensor.
Bildschirmfoto 2024-05-10 um 11 03 49
Bildschirmfoto 2024-05-10 um 11 03 33

Zigbee2MQTT version

1.37.1

Adapter firmware version

0x26720700

Adapter

ConBee2/RaspBee2

Setup

Intel NUC 11

Debug log

{
"home_assistant": {
"installation_type": "Home Assistant OS",
"version": "2024.5.2",
"dev": false,
"hassio": true,
"virtualenv": false,
"python_version": "3.12.2",
"docker": true,
"arch": "x86_64",
"timezone": "Europe/Zurich",
"os_name": "Linux",
"os_version": "6.6.29-haos",
"supervisor": "2024.05.1",
"host_os": "Home Assistant OS 12.3",
"docker_version": "25.0.5",
"chassis": "embedded",
"run_as_root": true
},
"custom_components": {
"daily_min_max": {
"documentation": "https://github.com/philsson/HomeAssistantCustomComponents",
"version": "1.0",
"requirements": []
},
"proconip_pool_controller": {
"documentation": "https://github.com/ylabonte/proconip-hass",
"version": "v1.2.0",
"requirements": [
"proconip>=1.3.0"
]
},
"swisscom_internetbox": {
"documentation": "https://github.com/schmidtfx/swisscom-internetbox-hass",
"version": "0.1.1",
"requirements": [
"sc_inetbox_adapter==0.1.2"
]
},
"meteoswiss": {
"documentation": "https://github.com/Rudd-O/homeassistant-meteoswiss",
"version": "1.3.1",
"requirements": [
"hamsclientfork==0.2.8",
"geopy>=2.0"
]
},
"hacs": {
"documentation": "https://hacs.xyz/docs/configuration/start",
"version": "1.34.0",
"requirements": [
"aiogithubapi>=22.10.1"
]
},
"homematicip_local": {
"documentation": "https://github.com/danielperna84/custom_homematic",
"version": "1.61.0",
"requirements": [
"hahomematic==2024.5.0"
]
},
"gardena_smart_system": {
"documentation": "https://github.com/py-smart-gardena/hass-gardena-smart-system",
"version": "1.0.0",
"requirements": [
"py-smart-gardena==1.3.8"
]
},
"aarlo": {
"documentation": "https://github.com/twrecked/hass-aarlo/blob/master/README.md",
"version": "0.8.1.2",
"requirements": [
"unidecode",
"pyaarlo>=0.8.0.7"
]
}
},
"integration_manifest": {
"domain": "mqtt",
"name": "MQTT",
"codeowners": [
"@emontnemery",
"@jbouwh",
"@bdraco"
],
"config_flow": true,
"dependencies": [
"file_upload",
"http"
],
"documentation": "https://www.home-assistant.io/integrations/mqtt",
"iot_class": "local_push",
"quality_scale": "platinum",
"requirements": [
"paho-mqtt==1.6.1"
],
"is_built_in": true
},
"data": {
"connected": true,
"mqtt_config": {
"broker": "core-mosquitto",
"port": 1883,
"username": "REDACTED",
"password": "REDACTED",
"advanced_options": false,
"discovery": true,
"discovery_prefix": "homeassistant",
"birth_message": {
"topic": "homeassistant/status",
"payload": "online",
"qos": 0,
"retain": false
},
"will_message": {
"topic": "homeassistant/status",
"payload": "offline",
"qos": 0,
"retain": false
}
},
"device": {
"id": "670cb5e49af3a5eb2687d90eec4f6f2a",
"name": "zb2m_taster_pendelleuchte",
"name_by_user": null,
"disabled": false,
"disabled_by": null,
"entities": [
{
"device_class": null,
"disabled_by": null,
"disabled": false,
"entity_category": "diagnostic",
"entity_id": "sensor.0x0000000001567624_linkquality",
"icon": null,
"original_device_class": null,
"original_icon": "mdi:signal",
"state": {
"entity_id": "sensor.0x0000000001567624_linkquality",
"state": "127",
"attributes": {
"state_class": "measurement",
"unit_of_measurement": "lqi",
"icon": "mdi:signal",
"friendly_name": "zb2m_taster_pendelleuchte Linkquality"
},
"last_changed": "2024-05-09T21:54:02.742608+00:00",
"last_reported": "2024-05-09T21:54:02.742608+00:00",
"last_updated": "2024-05-09T21:54:02.742608+00:00"
},
"unit_of_measurement": "lqi"
}
]
},
"mqtt_debug_info": {
"entities": [
{
"entity_id": "sensor.0x0000000001567624_linkquality",
"subscriptions": [
{
"topic": "zigbee2mqtt/bridge/state",
"messages": [
{
"payload": "{"state":"online"}",
"qos": 0,
"retain": 1,
"time": "2024-05-09T21:53:27.599445+00:00",
"topic": "zigbee2mqtt/bridge/state"
}
]
},
{
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte",
"messages": [
{
"payload": "{"action":"press_2","elapsed":56172,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T08:53:48.667354+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"release_2","elapsed":306,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T08:53:48.973130+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"press_1","elapsed":3173,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T08:53:52.146138+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"release_1","elapsed":229,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T08:53:52.375326+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"release_2","elapsed":618,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T08:53:52.993212+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"release_1","elapsed":442653,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T09:01:15.646574+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"press_2","elapsed":380,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T09:01:16.026716+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"release_2","elapsed":182,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T09:01:16.208490+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"press_2","elapsed":960,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T09:01:17.172376+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
},
{
"payload": "{"action":"release_2","elapsed":243,"linkquality":127}",
"qos": 0,
"retain": 0,
"time": "2024-05-10T09:01:17.411584+00:00",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte"
}
]
}
],
"discovery_data": {
"topic": "homeassistant/sensor/0x0000000001567624/linkquality/config",
"payload": {
"availability": [
{
"topic": "zigbee2mqtt/bridge/state",
"value_template": "{{ value_json.state }}"
}
],
"device": {
"identifiers": [
"zigbee2mqtt_0x0000000001567624"
],
"manufacturer": "EnOcean",
"model": "Pushbutton transmitter module (PTM 215ZE)",
"name": "zb2m_taster_pendelleuchte",
"via_device": "zigbee2mqtt_bridge_0x00212effff0985cb"
},
"enabled_by_default": false,
"entity_category": "diagnostic",
"icon": "mdi:signal",
"name": "Linkquality",
"object_id": "zb2m_taster_pendelleuchte_linkquality",
"origin": {
"name": "Zigbee2MQTT",
"sw_version": "1.37.1",
"support_url": "https://www.zigbee2mqtt.io"
},
"state_class": "measurement",
"state_topic": "zigbee2mqtt/zb2m_taster_pendelleuchte",
"unique_id": "0x0000000001567624_linkquality_zigbee2mqtt",
"unit_of_measurement": "lqi",
"value_template": "{{ value_json.linkquality }}",
"platform": "mqtt"
}
},
"transmitted": []
}
],
"triggers": [
{
"discovery_data": {
"topic": "homeassistant/device_automation/0x0000000001567624/action_press_2/config",
"payload": {
"automation_type": "trigger",
"device": {
"identifiers": [
"zigbee2mqtt_0x0000000001567624"
],
"manufacturer": "EnOcean",
"model": "Pushbutton transmitter module (PTM 215ZE)",
"name": "zb2m_taster_pendelleuchte",
"via_device": "zigbee2mqtt_bridge_0x00212effff0985cb"
},
"origin": {
"name": "Zigbee2MQTT",
"sw_version": "1.37.0",
"support_url": "https://www.zigbee2mqtt.io"
},
"payload": "press_2",
"subtype": "press_2",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte/action",
"type": "action",
"platform": "mqtt"
}
},
"trigger_key": [
"device_automation",
"0x0000000001567624 action_press_2"
]
},
{
"discovery_data": {
"topic": "homeassistant/device_automation/0x0000000001567624/action_release_2/config",
"payload": {
"automation_type": "trigger",
"device": {
"identifiers": [
"zigbee2mqtt_0x0000000001567624"
],
"manufacturer": "EnOcean",
"model": "Pushbutton transmitter module (PTM 215ZE)",
"name": "zb2m_taster_pendelleuchte",
"via_device": "zigbee2mqtt_bridge_0x00212effff0985cb"
},
"origin": {
"name": "Zigbee2MQTT",
"sw_version": "1.37.0",
"support_url": "https://www.zigbee2mqtt.io"
},
"payload": "release_2",
"subtype": "release_2",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte/action",
"type": "action",
"platform": "mqtt"
}
},
"trigger_key": [
"device_automation",
"0x0000000001567624 action_release_2"
]
},
{
"discovery_data": {
"topic": "homeassistant/device_automation/0x0000000001567624/action_press_1/config",
"payload": {
"automation_type": "trigger",
"device": {
"identifiers": [
"zigbee2mqtt_0x0000000001567624"
],
"manufacturer": "EnOcean",
"model": "Pushbutton transmitter module (PTM 215ZE)",
"name": "zb2m_taster_pendelleuchte",
"via_device": "zigbee2mqtt_bridge_0x00212effff0985cb"
},
"origin": {
"name": "Zigbee2MQTT",
"sw_version": "1.37.0",
"support_url": "https://www.zigbee2mqtt.io"
},
"payload": "press_1",
"subtype": "press_1",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte/action",
"type": "action",
"platform": "mqtt"
}
},
"trigger_key": [
"device_automation",
"0x0000000001567624 action_press_1"
]
},
{
"discovery_data": {
"topic": "homeassistant/device_automation/0x0000000001567624/action_release_1/config",
"payload": {
"automation_type": "trigger",
"device": {
"identifiers": [
"zigbee2mqtt_0x0000000001567624"
],
"manufacturer": "EnOcean",
"model": "Pushbutton transmitter module (PTM 215ZE)",
"name": "zb2m_taster_pendelleuchte",
"via_device": "zigbee2mqtt_bridge_0x00212effff0985cb"
},
"origin": {
"name": "Zigbee2MQTT",
"sw_version": "1.37.0",
"support_url": "https://www.zigbee2mqtt.io"
},
"payload": "release_1",
"subtype": "release_1",
"topic": "zigbee2mqtt/zb2m_taster_pendelleuchte/action",
"type": "action",
"platform": "mqtt"
}
},
"trigger_key": [
"device_automation",
"0x0000000001567624 action_release_1"
]
}
]
}
}
}

@tluethi71 tluethi71 added the problem Something isn't working label May 10, 2024
@AlexandreKueny
Copy link

How did you manage to pair it ? I've been trying for several hours without any success :/

@tluethi71
Copy link
Author

tluethi71 commented May 10, 2024

It is very tricky, I needed a couple of try.

it is important that you follow exactly the instruction on how to pair on zigbee2mqtt.io.

  1. press a button
  2. Press another button
  3. Press a buton for 7s
  4. Press the same for less than 2 sec
  5. Press the same for another 7s
  6. Press the same button again if you operate on channel 11 (if other channel see manu
  7. press another button

you have to enable Elapsed in the settings of zigbee2mqtt. Very important.

does it help?

@extreme4u
Copy link

Hello, I've been having issues with the PTM 215 ZE switches since the update as well. They either don't respond at all anymore or only very sporadically. A factory reset and repairing is no longer possible. I'm using the SkyConnect Zigbee dongle from Homeassistant. Fortunately, I had a Zigbee dongle from Deconz available. Relearning with it worked without any problems. So, I assume the update has somehow caused damage here.

@tluethi71
Copy link
Author

does anyone has a clue about this topic? it is still not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants