Skip to content

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

Open
g-kiss wants to merge 12 commits into
StyraHem:masterfrom
g-kiss:master
Open

Handling complex click events on Shelly1, Shelly2.5, Shelly dimmer and Shelly dimmer2 with fw 1.8.x and above#42
g-kiss wants to merge 12 commits into
StyraHem:masterfrom
g-kiss:master

Conversation

@g-kiss

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

Copy link
Copy Markdown

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

@hakana

hakana commented Sep 18, 2020

Copy link
Copy Markdown
Contributor

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

For example, what is LSTART meaning?

@g-kiss

g-kiss commented Sep 19, 2020

Copy link
Copy Markdown
Author

@hakana

This is the time diagram of events:
kép

@gerard33

gerard33 commented Sep 26, 2020

Copy link
Copy Markdown

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
Copy Markdown

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

g-kiss commented Dec 7, 2020

Copy link
Copy Markdown
Author

@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
Copy Markdown

@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