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

Handling complex click events on Shelly1, Shelly2.5, Shelly dimmer and Shelly dimmer2 with fw 1.8.x and above #42

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

g-kiss
Copy link

@g-kiss g-kiss commented Sep 12, 2020

This PR needs the (StyraHem/ShellyForHASS#438) PR too. The description see there.

@hakana
Copy link
Contributor

hakana commented Sep 18, 2020

Interesting you got it to work, but I don't understand what you trying to do.

For example, what is LSTART meaning?

@g-kiss
Copy link
Author

g-kiss commented Sep 19, 2020

@hakana

This is the time diagram of events:
kép

@gerard33
Copy link

gerard33 commented Sep 26, 2020

I have done some testing with this version and it is looking good.

Adding the info regarding the click_events as I see them.

click_event meaning
shortpush
SS  double shortpush
SSS  triple shortpush
LSTART  longpush
longpush release
SLSTART  short push followed by longpush
SL  short push followed by longpush release

This can be combined further as shown in the post above.

I see some info from Shelly on this here -> http://shelly-api-docs.shelly.cloud#shelly-i3-input-events

@JSteunou
Copy link

This is nice! I dont understand why this feature is not in the Shelly 1 & 2.5 microcode directly. So useful!

@g-kiss g-kiss changed the title Handling complex click events on Shelly1 and Shelly2.5 with fw 1.8.x Handling complex click events on Shelly1 and Shelly2.5 with fw 1.8.x and above Dec 4, 2020
@g-kiss
Copy link
Author

g-kiss commented Dec 7, 2020

@hakana : is there any estimation date when it will be merged to the master?

@g-kiss g-kiss changed the title Handling complex click events on Shelly1 and Shelly2.5 with fw 1.8.x and above Handling complex click events on Shelly1, Shelly2.5, Shelly dimmer and Shelly dimmer2 with fw 1.8.x and above Dec 14, 2020
@jacobhallgren
Copy link

@hakana Please add this to master

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.

5 participants