VoxCommando
Help and Support (Using VoxCommando) => Bug Reports => Topic started by: deathtech on February 27, 2014, 10:22:15 PM
-
Great application first of all i love it. I do think I found a bug maybe?
I use the Skype plugin to control my equipment via the IM feature of Skype and VC. One thing i found is when i use the Skype.Chat.cmsReceived as an event, it does work. but not 100% of the time.
I may have to type in the same IM several times, usually no more than 3 times before Voxcommando picks up the event. It does show up immediately on Skype on my PC, however not in the history events of Voxcommando, until the 2nd or third attempt. Which obliviously my macro doesn't occur until the event is triggered.
I have noticed that once the event has been triggered once, it will work 100% of the time there after. Until its been idle and i haven't issued a command in sometime from there.
Any thoughts?
I have to keep coping and pasting my IM in several times before it goes off, it does make it kinda of annoying.
-
Hi deathtech, welcome to the forum.
Thanks for the report. So far we can't re-create the problem, so it's hard to know if it's a bug or not.
- Are you able to re-create the problem on a second computer?
- What version of Skype are you using?
- Is the "auto-connect" checkbox selected in the Skype plugin options? If not, for sure you'll want to have auto-connect selected for your needs.
It seems like it might be some kind of connection issue, where you're first not connected to Skype, but then somehow you are based on the fact that it's working after you send the first message, but I'm not sure what's causing it to connect at that point.
-
I was affarid that maybe the case, someone not able to duplicate the issue. I'll try again on another computer and see if it repeats.
I did check and autoconnect was enabled. Also, i'm running the latest version of VC. On a windows 7 Ultimate 32bit os.
As you suggested i'll try on another computer and see if the results can be duplicated for me.
-
I did try and sadly i got the same results, but on this computer i got even worse. This is a Windows 7 Enterprise laptop 64bit. This time i had to do it many times before the received event would actually kick in. I created a screenshot trying to show as much information as possiable.
You can see from the timestamps on skype and on voxcommando that the received event didnt occur until after so many text messages read.
EDIT: i would use chatread as an event, but it appears this only works if the skype window is actually infocus. if out of focus it wont occur. Hence why i'm using received. (so its behaving this way for me anyway)
-
Hm. The only thing that I can see offhand is that you seem to be sending the skype IM from a mobile device (which we haven't tried). Is that the case?
If so, what kind of device? I will try that variable here.
-
Still no luck, sorry. When you have the time, perhaps you can enable logging in VC, restart VC, reproduce the problem and post the voxLog text file as an attachment if you don't mind.
http://voxcommando.com/mediawiki/index.php?title=Log
Basically, though, it looks as though Skype is not generating the chat.cmsreceived event when it should in whatever version you're using, which is a Skype bug that we won't be able to do anything about, particularly as they've stopped supporting the api. :bonk
I am succesfully using Skype 6.11.0.102 on this VC computer and I will check later on some of our other machines. Don't know if version checking will help.
-
Hm. The only thing that I can see offhand is that you seem to be sending the skype IM from a mobile device (which we haven't tried). Is that the case?
If so, what kind of device? I will try that variable here.
Correct i am! I'm using an Iphone 4s to send these messages, via the Skype app. Sorry i did leave that part out.
I've looked in the log before, but it just shows exactly what the history shows no more. But i can still attach if wanted.
-
Check which version of Skype you're using too.
It may be as simple as finding and installing the same version as I mention above on your VC machine, if you can find it on a safe site.
-
K, let me attempt that. I am running the latest, but as you're thinking i want to duplicate what you have. I'l let you know.
-
Yes. Skype announced last fall that they were getting rid of their desktop api, which is what VC relies on. It's very likely the culprit. We have previously recommended on the forum that people try to avoid upgrading if they can (on their VC machines). So far that is working for us.
http://thenextweb.com/microsoft/2013/11/06/skype-tweaks-desktop-api-plans-chat-still-going-away-call-recording-device-compatibility-stay-now/#!xNCLB
-
I found and installed the same version as yourself, and have same results. I'm guessing it has something to do with the mobile part of this, since it works 100% for you using the non mobile version via IM. :(
-
OK. I cannot reproduce the problem from our Android mobile devices, but I sort of did with our iPod Touch after installing the Skype for iPhone app.
Using that device, the first time I send a chat message it does not generate the chat received event, but the second one always worked immediately after. I tried this about 15 times.
As well, even once working, if I waited 5 minutes without sending anything, and then sent another IM, again the first attempt does not generate the chat received event right away until I sent the second IM. The second IM always worked for me.
That's all I can report so far. I'll pass the info on to James, but I doubt there's anything that can be done on the VC side of things.
[Update: "upgrading" to the new versions of Skype mobile on Android devices causes the same issue as with the iOs version. Older versions work fine--it is only the post December 2013 versions of the Skype apps that don't trigger an event with the first IM sent. The 2nd IM is received properly.]
-
Ok, Thank you very much for the help btw!
And you nailed what i'm seeing pretty much spot on.
Thanks again for your time :)
-
Sorry I don't have better news for you.
This issue is unlikely to be a priority given major development activities that are in the works right now and the probability that the problem is external to VC, but when it's feasible we will try to verify the exact culprit to see if something can be done.
In the meantime, I hope you can still find other means to accomplish what you want with VoxCommando.
-
I use the Skype plugin to control my equipment via the IM feature of Skype and VC.
Just one last thing: If you perhaps would like to describe to us more precisely the scenario for which you're currently relying on the Skype plugin, there may be some other way to accomplish the same thing with VC that we could recommend.
No guarantees, but you never know.
-
If you want use your iPhone to execute commands in VoxCommando, you can install the "mobiola-headset" app on your phone, which works very well as wireless mic.
http://mobiola.com/mobiola-headset (http://mobiola.com/mobiola-headset)
-
Hi Deathtech,
I just wanted to chime in and say that I have been following this thread and doing testing with Nime5ter.
I have installed an old version of skype 3 on my S2 Android and it seems to work fine 100% of the time, but with a new version of Skype 4 on the same device it fails on the first command (message) , then works after that.
Here is the link for skype 3 apk that i used: http://www.androiddrawer.com/9751/download-skype-free-im-video-calls-3-2-0-6673-app-apk/
I don't know if it is possible to install an old version of skype on iOs. My guess is that you would need to have a jailbroken device. Anyway, I'm 99.99% sure this is entirely the fault of MS and there is nothing I can do to get around it.
In our tests, it seems to consitently work on the second command and then keep working until you stop sending commands so the problem doesn't seem too hard to work around.
As Nime5ter mentioned you may want to explain your ultimate goals since there may be a better way to do this without even using skype. For example, you could create an http or tcp listener using the TCP plugin and send VC commands that way. You would obviously need to forward ports etc. if you were trying to access VC from outside your LAN.
Anyway, the ball is now in your court. Let us know if you need more info.
-
Thanks guys for the support here and advice.
Here is my goal, just to use the skype plugin along with skype to send IM messages from my iOS phone no matter where I am and have them executed on VC. this works really well, even while on 4g i can use skype to send commands to VC. So not necessarily just a wireless mic i'm using it for, but more so of the IM feature.
Only issue is, as we all know about now, is where I have to send the command at least twice. Is this really an issue? no its not an issue to send it twice. But thought i'd bring it up just incase it was an easy fix. Which apparently is not, due to either Skype or the iOS version of skype.
It has been tested by James and nime5ter that it works 100% with android app, but sadly not the ios app. having the android app on my iphone is not possible.
So thats that ! :)
EDIT:
about this James:
For example, you could create an http or tcp listener using the TCP plugin and send VC commands that way. You would obviously need to forward ports etc. if you were trying to access VC from outside your LAN.
Sadly i have no experience in this area on creating a tcp listener, or much programming experience at all for that matter. so this would be rather difficult for me, hence why i was relying on the built in plugin with skype :)
-
Jut to clarify for all users: the problem with the chat received notifications occurs when sending chat messages from new versions of the Skype app for mobile devices (Skype 4), and is not specific to iOs.
In my initial testing, I already had a Skype app installed and it was Skype 3 version, which is why it was working. After verifying the issue with Skype 4 on iOs, I installed a new version of the Skype app on one of our Android devices and had the same problem.
James then reverted back to an older version on the Android and the problem was solved. It may be easier for Android users to revert to older versions of the app to get around the issue if need be than it is for iOs users.
@deathtech - if you haven't yet tried it, since the first message is just to establish the connection and its message is irrelevant, you shouldn't need to copy and paste the specific message you want to send each time. Send a quick dummy message the first time, and then send your real message.
-
You got it nime5ter, that's exactly what I do now. send a quick dummy message then my command.
Thanks again for the support. I do have a the workaround as stated above and will use this.
-
Though this thread is few months old ... I am having same issue... What I noticed is if Skype is not minimized and on contacts tabs with a contact not the sender (I use echo) highlighted the event will generate ... Otherwise good luck ...
Hopefully one day this will be solved or a replacement for Skype can be found
-
On my computer, whether Skype is minimized etc. doesn't seem to matter. The workaround solution is always the same: send the first Skype chat msg twice. Or rather, send 2 messages one after the other. The first message can be blank.
The 2nd message always generates an event for me, no problem. And after that, every chat message sent generates an event as long as there is no extended interruption -- say, 10 or 15 mins.
The issue is on the Skype side (if you look around the Internet, you'll see other programs currently have the same problem with the Skype api and nobody can figure out a solution), and I doubt Microsoft will address it.
In terms of "other solutions" apart from Skype, it depends what the goal is. If you mean other solutions for communicating with VC remotely, various possibilities have been posted before.
As mentioned above, you can create a TCP listener. To access it beyond your LAN, you'll need to use port forwarding and not everyone is comfortable doing that.
Setting up a VPN is another option.
Android users can try the Tasker route.
Or, one could customize the gmail notifier python code I posted the other day, but if you want instant responsiveness this may not be ideal.
Again, if instant responsiveness is not required, using IFTTT with the new Watcher plugin is also an option.
-
If you mean other solutions for communicating with VC remotely, various possibilities have been posted before.
As mentioned above, you can create a TCP listener. To access it beyond your LAN, you'll need to use port forwarding and not everyone is comfortable doing that.
Setting up a VPN is another option.
Android users can try the Tasker route.
Or, one could customize the gmail notifier python code I posted the other day, but if you want instant responsiveness this may not be ideal.
Again, if instant responsiveness is not required, using IFTTT with the new Watcher plugin is also an option.
that is what I meant by Skype replacement ... as it is many solutions in one package ... I have VC set to execute any Skype message that starts with ## ... or I can call in and talk to VC (VC will switch sound in/out during call, then switch back) ... I can tell VC to Skype my parents or siblings ... all that in one neat package that generate many VC events that made writing macros for all that a breeze...