-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Comments
How did you manage to pair it ? I've been trying for several hours without any success :/ |
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.
you have to enable Elapsed in the settings of zigbee2mqtt. Very important. does it help? |
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. |
does anyone has a clue about this topic? it is still not working. |
I'm also confused. I plan to integrate a second zigbee network in my setup and bought a new adapter (UZG-01, zstack, CC2652P7). My legacy network runs on Channel 11, my new is planned to run on channel 20. But i'm not able to pair my PTM 215Z to the new network. The reset-and-switch-channel procedure is a bit of a hassle, so at first I thought i failed at the button sequence. But after setting the switch to channel 20 and seeing nothing at all in the logs i switched the switch back to channel 11 and could re-pair it without problems to the old instance. Versions: |
There is another way to do this if you want to use one of 4 predefined channels (11, 15, 20 or 25) and have the possibility to press more than one button at once:
There should be a log message for commissioning after the second step. The third step seems to store the new channel in the switch. These steps are taken from the manual for the PTM 216 Z, but this worked for me on my PTM 215 Z. I'm unable to find a manual for the PTM 215 Z. |
still have the problem. In the zigbee2mqtt I can see the status the following: { But it does not come through HA... I only see the linkquality 127 in the device.. |
I also have successfully paired an PTM 215 Z, and I can see the button presses under Exposes -> Action in the ZigbeeqMQTT web UI, but it looks like Zigbee2MQTT doesn't export the My device is a Senic Smart Switch. Support was added in this PR by @fredericseiler and merged by @Koenkk: Koenkk/zigbee-herdsman-converters#2885 Here is the database.db for my device: {
"id": 35,
"type": "GreenPower",
"ieeeAddr": "0x0000000001771892",
"nwkAddr": 6290,
"manufId": null,
"modelId": "GreenPower_2",
"epList": [
242
],
"endpoints": {
"242": {
"epId": 242,
"inClusterList": [],
"outClusterList": [],
"clusters": {},
"binds": [],
"configuredReportings": [],
"meta": {}
}
},
"interviewCompleted": true,
"meta": {},
"lastSeen": 1716027601583
} The logs say it's publishing button presses:
Could this be related to #18088 ? From the inclusion logs, it publishes the action configuration under action_unknown_104. I can also see this configuration using MQTT Explorere under the topic Here is the inclusion log lines:
|
Starting from version When I press and release any button in version
When downgrading to version Does anyone know what is changed in version |
@robertjanquist seems to me you have the same issue I have: #23814 |
@coendaar I did not have the time to dive into this issue. So currently I did not upgrade to version |
Let's continue in #23814 |
Solved:
|
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.
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"
]
}
]
}
}
}
The text was updated successfully, but these errors were encountered: