{"action":"created","issue":{"url":"https://api.github.com/repos/Comcast/cats/issues/10","labels_url":"https://api.github.com/repos/Comcast/cats/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Comcast/cats/issues/10/comments","events_url":"https://api.github.com/repos/Comcast/cats/issues/10/events","html_url":"https://github.com/Comcast/cats/issues/10","id":98988369,"number":10,"title":"Double Clicking after executing a CATS script","user":{"login":"johndiaz2","id":13118986,"avatar_url":"https://avatars.githubusercontent.com/u/13118986?v=3","gravatar_id":"","url":"https://api.github.com/users/johndiaz2","html_url":"https://github.com/johndiaz2","followers_url":"https://api.github.com/users/johndiaz2/followers","following_url":"https://api.github.com/users/johndiaz2/following{/other_user}","gists_url":"https://api.github.com/users/johndiaz2/gists{/gist_id}","starred_url":"https://api.github.com/users/johndiaz2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johndiaz2/subscriptions","organizations_url":"https://api.github.com/users/johndiaz2/orgs","repos_url":"https://api.github.com/users/johndiaz2/repos","events_url":"https://api.github.com/users/johndiaz2/events{/privacy}","received_events_url":"https://api.github.com/users/johndiaz2/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Comcast/cats/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Comcast/cats/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/Comcast/cats/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"sajayjk","id":5685309,"avatar_url":"https://avatars.githubusercontent.com/u/5685309?v=3","gravatar_id":"","url":"https://api.github.com/users/sajayjk","html_url":"https://github.com/sajayjk","followers_url":"https://api.github.com/users/sajayjk/followers","following_url":"https://api.github.com/users/sajayjk/following{/other_user}","gists_url":"https://api.github.com/users/sajayjk/gists{/gist_id}","starred_url":"https://api.github.com/users/sajayjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajayjk/subscriptions","organizations_url":"https://api.github.com/users/sajayjk/orgs","repos_url":"https://api.github.com/users/sajayjk/repos","events_url":"https://api.github.com/users/sajayjk/events{/privacy}","received_events_url":"https://api.github.com/users/sajayjk/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-08-04T14:47:53Z","updated_at":"2015-08-05T14:10:34Z","closed_at":null,"body":"The Remote Control use is the one that was installed by TATA/OCATS during the original installation.\r\nThere are not error when you use the virtual remote for two STBs.  Only after you execute the script.\r\n\r\nThere are only one RedRat hub process before and after executing the script.\r\nSee at the end the grep for RedRat ouput, before stopping and starting the RedRat hub.\r\n\r\nResponse for previous issue request:\r\nThere are typically 2 issues that can cause this behavior:\r\n1) IR cross talk or bounce, which can usually be eliminated by placing black tape over emitters on STBs.\r\n*******************\r\nThere is tape over the IR emitter.  Plus the two STBs are not next to eachother.  One is in one sede and the other is in the other side.\r\n*********************\r\n2) While recording IR signals a repeat value is being included in the IR signal definition. Below is a sample IRPacket. Notice in the XML there is a 1. This value should typically be set to 0 or 1 and sometimes the initial recordings will indicate a larger number.\r\n\r\n0\r\nrTbrl1oFu06FrWSePPfp0g==\r\nConstantGap\r\n0\r\n38000\r\n\r\n0.209\r\n0.758415\r\n0.895125\r\n1.031835\r\n1.1685450000000002\r\n1.3052549999999998\r\n1.441965\r\n1.578675\r\n1.715385\r\n1.852095\r\n1.988805\r\n2.125515\r\n2.262225\r\n2.398935\r\n2.535645\r\n2.672355\r\n2.809065\r\n13\r\n********************\r\nANSWER:  The Remote control is the original installed installed Comcast Remote.  Does it contain the mentioned 1 or 0 or higher?\r\n********************\r\n\r\nSteps to recreate:\r\n\r\nRecording the script:\r\nAfter recording simple instructions see screen shot.\r\n\r\n \r\n\r\nActual Recorded Script\r\n\r\npress CHUP, 10000\r\npress CHDN, 5000\r\npress CHDN, 9000\r\npress CHUP, 4000\r\npress INFO, GUIDE, EXIT\r\nsleep 4000\r\npress 0\r\npress 3\r\nsleep 5000\r\npress LAST\r\n\r\nExecuting using same STB:\r\nThe CATSVision performed the task OK.\r\n\r\nExecuting after dding a second STB:\r\nAdding a second STB and enabled it to work with the virtual remote.  After executing the script for both, it is double clicking the commands.\r\nSee screen capture:\r\n\r\n \r\n\r\nFrom this point on, every click is performed twice.  So if I issue the command to go to channel 3 it goes to channel 33.\r\nSee Screen capture:\r\n \r\n\r\nQuestions:\r\n1.\tBy executing the script for more than one STB, does the RetRat hub starts a new session?\r\n2.\tWhat can be done to prevent the double clicking?  Only by stopping and Starting the RedRat hub, this issue goes away.\r\n3.\tIs CATSVision not designed to execute a script for multiple STBs.\r\n4.\tIf this is the case for question #3, why after some re-runs of the script with only one STB, the problem also appears?\r\n5.\tThere was only one instance of RedRat.  Why is double clicking?\r\nCentOS grep command result before and after the double clicking:\r\n[root@localhost ~]# ps -ef |grep RedRat\r\nroot      5773  5726  0 08:30 pts/1    00:00:00 grep --color=auto RedRat\r\nroot     16796     1  0 Jul31 ?        00:07:19 mono --server /opt/ocats/software/RedratHub/RedRatHub_V4.12/RedRatHubCmd.exe /opt/ocats/cats/ocats-release/sampleConfigFiles/REDRAT_KEYMANAGER.xml --conns=400 –noscan\r\n\r\n[root@localhost ~]# service redrathub stop\r\nStopping redrathub                                /etc/init.d/redrathub: line 87: cd: HOME not set\r\nOk\r\n[root@localhost ~]# service redrathub start\r\nStarting redrathub...                             Ok\r\n[root@localhost ~]# ps -ef |grep RedRat\r\nroot      5812     1  5 08:31 pts/1    00:00:00 mono --server /opt/ocats/software/RedratHub/RedRatHub_V4.12/RedRatHubCmd.exe /opt/ocats/cats/ocats-release/sampleConfigFiles/REDRAT_KEYMANAGER.xml --conns=400 --noscan\r\nroot      5938  5726  0 08:31 pts/1    00:00:00 grep --color=auto RedRat\r\n[root@localhost ~]#\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Comcast/cats/issues/comments/128010431","html_url":"https://github.com/Comcast/cats/issues/10#issuecomment-128010431","issue_url":"https://api.github.com/repos/Comcast/cats/issues/10","id":128010431,"user":{"login":"sajayjk","id":5685309,"avatar_url":"https://avatars.githubusercontent.com/u/5685309?v=3","gravatar_id":"","url":"https://api.github.com/users/sajayjk","html_url":"https://github.com/sajayjk","followers_url":"https://api.github.com/users/sajayjk/followers","following_url":"https://api.github.com/users/sajayjk/following{/other_user}","gists_url":"https://api.github.com/users/sajayjk/gists{/gist_id}","starred_url":"https://api.github.com/users/sajayjk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sajayjk/subscriptions","organizations_url":"https://api.github.com/users/sajayjk/orgs","repos_url":"https://api.github.com/users/sajayjk/repos","events_url":"https://api.github.com/users/sajayjk/events{/privacy}","received_events_url":"https://api.github.com/users/sajayjk/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T14:10:33Z","updated_at":"2015-08-05T14:10:33Z","body":"JFYI. Looking into this"}}