-
Notifications
You must be signed in to change notification settings - Fork 530
Various enhancements and fixes #4041
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
Conversation
- Expose RStateValve, RConfigLocked and RConfigMode via API - Automatically configure corresponding attribute reporting
It is beneficial to also output cluster, endpoint, command and payload to better spot potential errors in the button maps.
de_web_plugin.cpp
Outdated
| QTime time = QTime::currentTime(); | ||
| #if QT_VERSION < 0x050000 | ||
| etag = QString(QCryptographicHash::hash(time.toString().toAscii(), QCryptographicHash::Md5).toHex()); | ||
| etag = QString(QCryptographicHash::hash(time.toString("hh:mm:ss.zzz").toAscii(), QCryptographicHash::Md5).toHex()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do you use only time for etag hash, why not ad date too ?
and why not add measurement values and/or other stuff too ?
the md5 hash is much longer than the raw time string (12 vs. 32 chars), I don't get it what here a md5 hash can be good for ?!?
manup
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a few comments.
Uh oh!
There was an error while loading. Please reload this page.