Page 1 of 1

Email from Raspberry Pi

Posted: Sun Nov 06, 2022 7:53 pm
by RGV250
Hi,
I have found a very well detailed method for doing this here https://bc-robotics.com/tutorials/sendi ... pberry-pi/
but it uses python.
This got me thinking, there is a component to add "C" code so would it be possible to add Python code? or would it be possible to create a component for this.
I found this request for ESP32 but it does not appear to have got anywhere. viewtopic.php?f=3&t=871&p=4817&hilit=send+email#p4817

My other thought, the example is triggered from a button press so I suppose I could just loop a GPIO output to an input and try that which seems messy. Another thought, is it possible to call/run an external program from within Flowcode.

Regards,
Bob

Re: Email from Raspberry Pi

Posted: Sun Nov 06, 2022 8:08 pm
by mnfisher
You could just run the python script using the system command see https://www.matrixtsl.com/mmforums/view ... it=Haunted for some more detail.

Martin

Re: Email from Raspberry Pi

Posted: Sun Nov 06, 2022 8:18 pm
by chipfryer27
Hi Martin

Thanks for the above post and link. I'd missed the original.

Regards

Re: Email from Raspberry Pi

Posted: Sun Nov 06, 2022 8:31 pm
by RGV250
Looks just what i need.

Bob