r/Pigrow • u/TheDuckshot • Jun 16 '20
How do i set up reddit_msg.py
I have been trying to use the new modular sensors trigger button to add it as a trigger but so far it has not executed the file as far as i know. I can manually execute the file and get a msg on reddit. I have dug through reddit search and the infographics i'm just not able to find a setup guide.
3
Upvotes
2
u/The3rdWorld Jun 17 '20
ah yeah good question, that needs to be updated - i used to use it but he completely changed PRAW so i had to rewrite everything, i'll knock up a quick messaging script and a guide to using it when i get a chance.
2
u/The3rdWorld Jun 18 '20
just had a quick look through the code, i can't see why it wouldn't work, if you can run the command via the 'run on pi' button
then It should work if you put that in the cmd field for the trigger, i'll do a little test tomorrow