-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Core: capital command names parsing #217
Comments
Fixed in eae4618 |
Wow, that was a really quick fix!!! Seems to work:
Capital |
EDIT: sorry, found the issue, again problems with comments. I had the commented out Rule:
~~
Same rule as above. Could it be, that it returns a non-zero value if curl had to try more than once to connect and send the data? As there are time-outs on the data sending. Sometimes my server seems to be too slow in answering (have the same issue in ESPEasy, which also tries a number of times to get rid of its payload). |
This may be the response by your comment: 23:03:01 CMD: as everything behind // is deleted, resulted as an empty line, which is really an unknown command. :)
Yes sendtohttp has 1 second timeout. It can be raised if needed. |
;) Ok, understood... At some time it would probably be nice to have empty lines in rules, just for reasy eading purposes... |
Not knowing how the rules are being parsed in R'piEasy, but maybe it is helpful knowing how it is being parsed in current ESPEasy builds.
|
empty lines now silently skipped from commit 634394e |
Thanks!
'// ' now also replaced as ' //' until newline with empty string.
Yep, strings are trimmed also. |
What happens if a line starts with a comment? |
Than the line is a comment. I understand that some kind of foolprof approach is necessery, but i hope that users will find out, if they comments without spaces raises errors. |
Capital command names parsing fixed, issue closed |
No description provided.
The text was updated successfully, but these errors were encountered: