So far I could try sending messages from Whatsapp to raspberry, raspberry sending messages from a cell phone and I need to do two tasks at once.
Someone has information, as well to keep the conversation closes after 3 min
So far I could try sending messages from Whatsapp to raspberry, raspberry sending messages from a cell phone and I need to do two tasks at once.
Someone has information, as well to keep the conversation closes after 3 min
Not sure what you're looking for but I think the connection loss (after 3 minutes) might be related to your cell phone carrier rather than WhatsApp. That or (since WhatsApp appears to be customized XMPP service), there could be an automatic activity timeout. I'm just guessing though.
I'm controlling devices from Whatsapp and there comes a time that I get a message on the console terminal is closed the conversation, since there no longer receives more messages
use python , import socket,time
every 2 minutes connect to the whatsapp port, send foo and close. That should keep it alive indefinitely.
use python , import socket,time
every 2 minutes connect to the whatsapp port, send foo and close. That should keep it alive indefinitely.