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

[FIX] Enhance Button status reporting with ‘UNKNOWN’ #154

Open
johannrichard opened this issue Nov 30, 2020 · 2 comments
Open

[FIX] Enhance Button status reporting with ‘UNKNOWN’ #154

johannrichard opened this issue Nov 30, 2020 · 2 comments
Assignees

Comments

@johannrichard
Copy link
Owner

How does the ALIVE check for the MyStrom buttons work?

They're undead. ☺️ Right now, the call to getDeviceStateUpdate() always resolves the promise and thus they're ALIVE. I have plans to change that to UNKNOWN at some point as we just don't know their state, but it was not highest priority anyway (since it's merely a heartbeat and status indicator in the logs).

Good observation though. ☺️😊

Originally posted by @qx54 @johannrichard in #139 (comment)

@qx54
Copy link

qx54 commented Dec 2, 2020

Didn't want to open a new issue, so I'm putting it here:

MyStrom buttons are now super slow, from the time of the press until the execution of the action it takes several seconds. This must have been introduced recently. Short press already used to be very slow compared to double press and long press, but now everthing is even way slower.

@johannrichard, do you think this could be because of something introduced in your recent code changes?

If I remember correctly the firmware of the buttons got recently updated, so there's two possible causes for this.

@johannrichard
Copy link
Owner Author

If I remember correctly the firmware of the buttons got recently updated, so there's two possible causes for this.

I'm still investigating. Got myself an new button which still has an older firmware. Had the same feeling lately. What I can see from my initial investigations with the newest firmware (and also considering that dingz and PIR trigger motion quickly), there are quite quickly requests made to the myStrom Cloud servers (which also must happen). Only then I think are the local requests made.

Still needs some investigations, however considering that the firmware update contains "faster network connections", it might well be that the sequence of requests was changed with the newest firmware.

image

I will try to figure that out between the old and new.

@johannrichard johannrichard self-assigned this Dec 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants