-
Notifications
You must be signed in to change notification settings - Fork 7
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
Signal Notifications #5
Comments
Great to hear this Repository is of help for you! In: >commandLine = '/mnt/software/signal-cli-0.8.4.1/bin/signal-cli send {phonenumberValue} -m {messageValue}' To make it more versatile, you could replace it with a variable and let the user change the path if needed:
(See PR1432 L36 for reference) For the Input trigger, you could simply set the value to >value='', |
Thank you for tips, I've made those changes. I hope I got it right with I had a look at https://github.com/natowi/meshroom_external_plugins/wiki/2-DevDoc is there some more documentation on defining inputs and outputs, and how to set dynamic values for outputs? Cheers! |
Here is some more documentation: https://meshroom-manual.readthedocs.io/en/latest/feature-documentation/core/nodes.html The uid argument is optional and controls if the parameter effects the node hash. The uid is not important in your case. It is used to mark settings that affect the output - [] has no impact on the uid, [0] has. group='', - is not really needed here, I just copied an existing deskFile() snippet You can check out the existing nodes for reference: https://github.com/alicevision/meshroom/tree/develop/meshroom/nodes/aliceVision |
Ok great, I've now updated and make a couple of changes:
I don't really know what to do next, do think it's worth making a PR to Meshroom? Or will there be a collection of external plugins like this one? |
Great, the issues you mentioned were my oversight. This here is my "personal" collection of external plugins I like to share, as Meshroom does not have something like a plugin manager. I already have some ideas https://github.com/natowi/meshroom_external_plugins/wiki/Plugin-Manager-Draft but so far there was no need for a manager as there were so few external plugins. This may change. You are welcome to open a PR in the Meshroom repository and we´ll see what the response is. Maybe we can turn the node in a general purpose "Notification" node for Messengers (Signal, Telegram, Slack,...), Email and sound notification triggered by other nodes later on |
I've already got one PR open - which I find far more useful! I don't really want to spam the developers ;) I'm inclined - if ok if you - just to leave this issue here and if other people find it interesting, then it can always be PR'ed into meshroom later. |
@gorenje It would be nice to create a "Notification" node with options to use Signal, Telegram, Email, etc. |
Hi,
Thank you for providing so much background on how to build external plugins!
I noticed that you want to build a Telegram notification node which is a great idea. Since I'm a signal user, I built something that notifies me via signal and I thought I would let you know.
It's based on AsamK/signal-cli and is available here.
One thing I noticed was that it needs some input that is generated by the previous node (i.e. when the last node is completed, the notification is sent) else it gets triggered immediately. I used a file input since my last step generates a file output but it would be cleaner if it took any input as trigger - I didn't figure out how to do that.
Anyway, I hope this is of interest and thanks again for all the great work on Meshroom! 👍
The text was updated successfully, but these errors were encountered: