Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhatsApp monitor not working after latest update #176

Closed
Stamperx opened this issue Jun 4, 2022 · 12 comments
Closed

WhatsApp monitor not working after latest update #176

Stamperx opened this issue Jun 4, 2022 · 12 comments

Comments

@Stamperx
Copy link

Stamperx commented Jun 4, 2022

Describe the bug
WhatsApp monitor app starts and seem to work but once away even though the screen is open and maximise it stops picking up when the contact comes online.
I tested with a spare number and the account used in what’s app monitor does not even appear online after the initial bit when it was started.
I tried sending a test message and although it was delivered ( 2 ticks) but not read even though the WhatsApp monitor is open and maximised. It’s just seem to be frozen and inactive. The message is not read and even when I try to click on the contact ( which is me) it does no update

If I restart using WhatsApp monitor actively on desktop again ( like I message the contact ) it restarts

so what happens is that the monitor starts and after some inactivity seems to stop even though I’ve left it on and maximised. And it will then miss when the contact comes online.
If I restart using WhatsApp monitor actively on desktop again ( like I message the contact ) it restarts
Can you see if you could debug this? If any one has similar issues or knows a workaround can you let me know too ?

Thanks so much !

To Reproduce
Steps to reproduce the behavior:

  1. Go to '.WhatsApp monitor app..'
  2. Click on '..start monitor, click on contact to monitor ..'
  3. Scroll down to '....'
  4. See error

Expected behavior
Monitors when contact online even when away from desktop , not only when I’m using the desktop WhatsApp or actually WhatsApp Imsg the contact

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: windows 10
  • Browser [e.g. chrome, safari] WhatsApp monitor [app

](url)
Smartphone (please complete the following information):

  • Device: [e.g. iPhone 7 and 13
  • OS: [e.g. iOS 15.5
@Stamperx
Copy link
Author

Stamperx commented Jun 5, 2022

Just an update : I tried using a mouse juggler and that helps to keep the chat active. Otherwise once the chat becomes ‘inactive’ the monitor may not pick up the activity. But not sure if this works for non contacts ( those you don’t have a conversation with) This method with the jiggler only works for the active chats.

@pleistoneun
Copy link

Thank you for your tipp with den MOUSE JUGGLER. Can you send me the code please.
I modified the original code for my use.
Would be very nice from you...
Best wishes...

@rizwansoaib
Copy link
Owner

#145

@pleistoneun
Copy link

I am working with the Chrome Extension.
The problem is, that the value "__x_isOnline" isnt true or false; this value looks like this -> "{sentinel: 'DEFAULT VALUE PLACEHOLDER'}". So you cannot grab the value.

@rizwansoaib
Copy link
Owner

Once contact will be online then it will set FLAG

@pleistoneun
Copy link

Yes, thats correct, but how can i detect if a contact is online?

@rizwansoaib
Copy link
Owner

rizwansoaib commented Jun 6, 2022

serialized_object.__x_isOnline

@pleistoneun
Copy link

pleistoneun commented Jun 6, 2022

Its not so simple:
......
try{
online_list=window.Store.Presence.filter(a=>a.__x_isOnline==true && a.__x_isUser==true);
offline_list=window.Store.Presence.filter(a=>a.__x_isOnline==false && a.__x_isUser==true);
.....

could you send me please the adapted code with "serialized_object.__x_isOnline".
The code above i could not use...

@Stamperx
Copy link
Author

Stamperx commented Jun 7, 2022

The mouse jiggler ( sorry i typo earlier ) that issue for windows is this : https://www.screensaversplanet.com/software/mouse-jiggler-651/

im sure there are other links for download

@pleistoneun
Copy link

Thank you, Stamperx, for your help.
I wait for the code from RIZWAN, i hope i can adapt my code with the new one.

@pleistoneun
Copy link

Please, can anyone help to modify the orinigal code from RIZWAN?

These lines should be adapted:
online_list=window.Store.Presence.filter(a=>a.__x_isOnline==true && a.__x_isUser==true);
offline_list=window.Store.Presence.filter(a=>a.__x_isOnline==false && a.__x_isUser==true);

with this one --> "serialized_object.__x_isOnline" (recommended from RIZWAN)

Thank you very much.

@meins-rbg
Copy link

Please, can anyone explain it for "Litlle less knowers" what i have to do and where?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants