-
Notifications
You must be signed in to change notification settings - Fork 22
Cron + percent notifications #28
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
Cron + percent notifications #28
Conversation
@@ -152,6 +172,14 @@ def sent_m70(self, comm_instance, phase, cmd, cmd_type, gcode, *args, **kwargs): | |||
:param kwargs: | |||
:return: | |||
""" | |||
if gcode and gcode != "G1": |
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.
This is so we don't calculate the time difference every G1
which is send multiple times a second.
Should handle #17 now too. |
Nice work! Unfortunately I can not merge this yet. There must be some kind of mechanism that this functionality does not use the default API key. Otherwise that API key will reach his limit very quick. Very exited to merge this, and many people will enjoy it I guess. Maybe I can find some time tomorrow, too help. |
Perhaps a notification to the front end too?
|
Gives the ability for a user to get regular notifications every X minutes.
#25 (comment)