Email from Raspberry Pi

For general Flowcode discussion that does not belong in the other sections.
Post Reply
RGV250
Posts: 283
http://meble-kuchenne.info.pl
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 25 times
Been thanked: 32 times

Email from Raspberry Pi

Post 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

mnfisher
Valued Contributor
Posts: 1462
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 136 times
Been thanked: 713 times

Re: Email from Raspberry Pi

Post 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

chipfryer27
Valued Contributor
Posts: 1528
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 353 times
Been thanked: 549 times

Re: Email from Raspberry Pi

Post by chipfryer27 »

Hi Martin

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

Regards

RGV250
Posts: 283
Joined: Sat Mar 19, 2022 4:53 pm
Has thanked: 25 times
Been thanked: 32 times

Re: Email from Raspberry Pi

Post by RGV250 »

Looks just what i need.

Bob

Post Reply