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

Added Zigbee2MQTT EnOcean PTM 215Z #107

Merged
merged 4 commits into from
Mar 2, 2023
Merged

Conversation

Llewe
Copy link
Contributor

@Llewe Llewe commented Feb 26, 2023

Blueprint Checklist

  • You viewed the README and conformed to the naming conventions
  • You ordered the actions as stated in the README action order
  • All filenames are lowercase and uses '-' for spaces and not '_' while using {service-name}-{switch-name-or-type}.yaml format
  • Images are png
  • Image backgrounds are transparent and is cropped to the device boundries
  • Images has a maximum width of 800px and maximum height of 500px
  • There are no missing buttons or actions
  • Your integration/service is running on the latest version
  • You have tested your blueprints and made sure each button and action works

Zigbee2MQTT

  • (older devices) You have ensured legacy is off/false for the device in the Z2M devices Settings (specific) page and that your actions matches those with legacy off?

Additional info

Missing action: press_energy_bar

I didn't add this action because I have no idea how to trigger it. It is not visible from the outside. But its listed in zigbee2mqtt

Buttons

The switch buttons of this device are in this order

1 3
2 4

Since there is an action for pressing/releasing 1&3 and 2&4 I decided to add two additional buttons in the GUI.
1&3 above and 2&4 below the individual buttons.

This model doesn't support an hold action but is has a press and a release action. I'm not sure if i got the naming conventions of this project right.

@platini76
Copy link

platini76 commented Mar 1, 2023

#104 (comment)
your is better than mine

@Llewe
Copy link
Contributor Author

Llewe commented Mar 1, 2023

sorry i had only seen that your issue was closed not that you are working on it.

If you have any suggestions for improvement, please feel free to submit them. Most of the changes should be quite easy to implement in the yml

@Sian-Lee-SA
Copy link
Owner

Initial press should be init and post press would be a normal press so the actions should go init->press. Also a space before the ( in the title makes it cleaner to read. Other than that, looks fine to me.

@Sian-Lee-SA
Copy link
Owner

Also take a look at Zigbee2MQTT / Xiaomi Double Key (WXKG07LM). If you can get the multiple press to look similiar with a circle art instead then that would be great too.

@Llewe
Copy link
Contributor Author

Llewe commented Mar 2, 2023

Oh i missed the part with the double btns in the readme.

I also changed the coordinates of the button boxes a little bit so that there is no gap between them.
Looks like this now:

image

@Sian-Lee-SA
Copy link
Owner

Thank You! looks good

@Sian-Lee-SA Sian-Lee-SA changed the title Support for EnOcean PTM 215Z (Gira/Senic Friends of Hue Switch) Added Zigbee2MQTT EnOcean PTM 215Z Mar 2, 2023
@Sian-Lee-SA Sian-Lee-SA merged commit f56e897 into Sian-Lee-SA:master Mar 2, 2023
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

Successfully merging this pull request may close these issues.

3 participants