[Tutorial]Use Facebook to control your Raspberry Pi terminal
Posted: Tue Sep 20, 2016 1:39 pm
by rados-dataplicity
Hi guys,
Just wanted to share a fairly unusual project I've done recently. Because of formatting issues I can't write it here directly so if you're interested please follow the link below:
https://www.hackster.io/dataplicity/use ... 2&offset=0
Re: [Tutorial]Use Facebook to control your Raspberry Pi term
Posted: Tue Sep 20, 2016 2:18 pm
by piglet
Nice. This is very timely information. I was just starting to think about something along these lines for an aging relative.
We've just set them up on FB Messenger to chat with various family members - but it takes an age to start up their laptop. I was wondering how difficult it would be to do this:
1) Have a FB chat client on pi - for all the chats they're doing
2) When a message arrives on any chat, to trigger a GPIO to light up an LED (Notification of unread message)
3) They can turn on monitor and read and reply to chats.
4) When all unread messages have been seen, for the GPIO to turn off LED
5) When they're done with chatting they can turn off monitor and wait for LED to light up again...
Is this possible/feasible/difficult?
Re: [Tutorial]Use Facebook to control your Raspberry Pi term
Posted: Tue Sep 20, 2016 3:02 pm
by rados-dataplicity
piglet wrote:Nice. This is very timely information. I was just starting to think about something along these lines for an aging relative.
We've just set them up on FB Messenger to chat with various family members - but it takes an age to start up their laptop. I was wondering how difficult it would be to do this:
1) Have a FB chat client on pi - for all the chats they're doing
2) When a message arrives on any chat, to trigger a GPIO to light up an LED (Notification of unread message)
3) They can turn on monitor and read and reply to chats.
4) When all unread messages have been seen, for the GPIO to turn off LED
5) When they're done with chatting they can turn off monitor and wait for LED to light up again...
Is this possible/feasible/difficult?
I love this idea! If you get going with my project as outlined in the article you should have no trouble adding the GPIO LED mechanism for unread messages.
It will probably also be worth to have a look at the messanger docs:
https://developers.facebook.com/docs/me ... /reference