FPP Output to Pytho...
 
Notifications
Clear all

FPP Output to Python Script

7 Posts
2 Users
0 Reactions
2,082 Views
MartinMueller2003
Posts: 7613
(@martinmueller2003)
Illustrious Member
Joined: 14 years ago

you need to make sure the device is in the proper device tree. then ask dan kulp on the fpp forum. then let us know 🙂


Reply
Posts: 6
Topic starter
(@josephkoen)
Active Member
Joined: 3 years ago

Awesome! Looks like I just needed to link the device to /dev/ttyS1 port, and I was able to connect to it through fpp.

fpp@FPP:~ $ sudo socat -d -d pty,rawer,echo=0,link=/dev/ttyS1 pty,rawer,echo=0,link=./ttyclient
2024/03/08 11:50:32 socat[26176] N PTY is /dev/pts/1
2024/03/08 11:50:32 socat[26176] N PTY is /dev/pts/2
2024/03/08 11:50:32 socat[26176] N starting data transfer loop with FDs [5,5] and [7,7]
1709929426533

I had some permission issues, but I just changed ownership of the /dev directory, and now for the fun task of paring the output and matting it to the GATT commands.

Once again, thanks a million. You were a huge help.


Reply
Page 2 / 2
Share: