Send emails / txts notifications from gcode.
- nick.smith
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 4
26 Mar 2023 15:25 #267532
by nick.smith
Send emails / txts notifications from gcode. was created by nick.smith
Here is my article on how to send and receive email / txt notifications via M codes inline with your gcode.
tormachtips.com/m101.htm
I am open to any improvements from the experts on this board.
tormachtips.com/m101.htm
I am open to any improvements from the experts on this board.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
26 Mar 2023 18:15 #267547
by tommylight
Replied by tommylight on topic Send emails / txts notifications from gcode.
Very nice, thank you.
I have seen something similar quite a while back for LinuxCNC, but i could never find a use for it, besides sending camera pictures in intervals as progress notifications. This i use on 3D printers as i can stop or pause them remotely if something goes wrong. Uses Telegram bot, though.
Doing something similar using Signal (open source) would be nice.
I have seen something similar quite a while back for LinuxCNC, but i could never find a use for it, besides sending camera pictures in intervals as progress notifications. This i use on 3D printers as i can stop or pause them remotely if something goes wrong. Uses Telegram bot, though.
Doing something similar using Signal (open source) would be nice.
Please Log in or Create an account to join the conversation.
27 Mar 2023 06:53 #267585
by Vmax549
Replied by Vmax549 on topic Send emails / txts notifications from gcode.
There is something similar in PathPilot but it was turned off by Tormach. It used a message code to trigger the SMS message.
( TP
( TP
Please Log in or Create an account to join the conversation.
- snowgoer540
- Offline
- Moderator
Less
More
- Posts: 2388
- Thank you received: 779
27 Mar 2023 21:34 #267627
by snowgoer540
Replied by snowgoer540 on topic Send emails / txts notifications from gcode.
Write up looks nice!
I swore I saw something in their files before, so I did some digging. They have two files in the V2.x.x/python folder that may be of interest to you:
sms.py
sms_test.py
Looks like they used/experimented with twilio in the past to send messages. It might be an easy integration to skip gmail entirely, and in the words of Andy Dusfresne (Shawshenk Redemption) "if you've come this far, maybe you're wiling to come a little further".
One tip - geany exists on PathPilot machines. If you use it over gedit, you can switch line ending types without having to install anything extra. Document -> Set Line Endings -> you can choose LF (Unix). It's more geared toward coding so can make viewing a smidge easier.
I look forward to your future write ups.
I swore I saw something in their files before, so I did some digging. They have two files in the V2.x.x/python folder that may be of interest to you:
sms.py
sms_test.py
Looks like they used/experimented with twilio in the past to send messages. It might be an easy integration to skip gmail entirely, and in the words of Andy Dusfresne (Shawshenk Redemption) "if you've come this far, maybe you're wiling to come a little further".
One tip - geany exists on PathPilot machines. If you use it over gedit, you can switch line ending types without having to install anything extra. Document -> Set Line Endings -> you can choose LF (Unix). It's more geared toward coding so can make viewing a smidge easier.
I look forward to your future write ups.
Please Log in or Create an account to join the conversation.
- nick.smith
- Offline
- Junior Member
Less
More
- Posts: 25
- Thank you received: 4
30 Mar 2023 02:59 #267883
by nick.smith
Replied by nick.smith on topic Send emails / txts notifications from gcode.
Dan (I think Dan) Rogge, one of the techs turned CEO, has a blurb on their own forum about using Twilio I think it is to send SMS, but he doesn't go into any detail on it.
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.074 seconds