-
Notifications
You must be signed in to change notification settings - Fork 67
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
Genie2 - Cannot make final step work... everything leading up to it is confirmed #72
Comments
Did you have a look at #12 ? |
This could be where I am having my problem. I can use the pause command with the local IP using 8080, but seem to be having trouble when I take my cell phone, walk down the street away from my WiFi and try to use the WAN IP, nothing really happens. After a couple of minutes, I get timed out. I notice the last line of step 3 essentially mentions that in this case my ISP is blocking my firewall. How do I get that fixed? I found a website, https://itstillworks.com/unblock-port-8629973.html, which tells me how to unblock a port, but when I get to the "Allow apps to communicate through Windows Defender Firewall", a number of "Allowed apps and features" are listed. I'm not sure which one to pick. I don't have DirecTV listed there. Am I doing the right thing? |
Hello Ernster, I don't think this would be a windows defender thing. There is a router/ modem that needs to have port 8080 forwarded. Check your modem/ router settings and see if you have any luck. You are correct this looks like a port forwarding problem. |
Agreed. Who is your service provider and what model of router do you have? As an FYI, all you need to do is disable WIFI on you phone, unless you need the exercise. ;-) |
Optimum is the service provider and Arris TM822 is the modem. I can log onto my stuff at router.optimum.net webpage and I find Port Forwarding under the Advanced Settings, but it only seems to allow me to set up Port Forwarding with the Local Host and not the WAN ID. Might I have to call Optimum to see if they can help me? I just don't understand how to either "unblock" an ISP or navigate through the Port Forwarding site to allow me to utilize the WAN ID. |
Can you possibly attach a screen shot of the port forwarding user interface? |
Thanks. Looks good, but you shouldn't need port triggering at all, so I would remover that configuration. |
Did you remove the port triggering config? And did you put the DTV address in the dmz config? If so, please remove that too. Just need the port forwarding rule in place. Also to confirm that going to http://192.168.1.18:8080/tv/getTuned returns info about the current show? |
yes |
Okay, so you just have the port forwarding set up? No triggering or dmz? |
Port 80 & 8080 Blocking Activating Port 80 & 8080 Go to https://www.optimum.com/business. Note: If you swap your modem, you may need to re-enable Ports 80 and 8080 for your new modem. When using Port 80 and/or 8080 to host your own website, please be diligent by keeping your web server up to date with the latest security patches. |
Ah, so .18 doesn't seem to be your DTV receiver(?). Change your port forwarder to use 192.168.1.21 and see if that works. |
my guess is that optimum is blocking port 8080, so you could talk to them and see if the will unblock, or get a pi and go with mawrew19's security option. |
Good catch. |
http://192.168.1.21:8080/tv/getTuned the receiver needs to be turned on to a channel |
I have all 3 TVs turned on at the moment... although as I said, when I use the getTuned web address you mention above, I get Internal Server Error, etc. |
No worries, this is likely just because you have all remotes. |
Can you change your host to be 192.168.1.21 on the port forward? Is that the lan ip address of dtv? What device has .21 versus .18? |
I just can't get it to work using the WAN IP. |
Interesting. ..I had not seen this setup before, but it makes sense. Ah... I see it now. In your index file for the lambda service, replace 8080 with 3000 for the port. |
I updated the Port Forwarder now to the HS17 using the .21 address... trying to pause using the WAN ID on my phone (using data) so I'm not on my WiFi at all... still no luck. |
I am going to try pause on you tv. Ok? |
OK... let me know when you do... I assume you are going to try the Living Room TV. |
Yep.. 1 sec |
You did. |
Paused? |
Ah... 3000.. OK |
Now we should remove the a dresses from comments. Lol |
So... I should be good to go now? |
See my previous comet about index file update to use port 3000. Should be once you update lambda. |
Oh geez... now I'm nervous again. |
Remind me... which comment are you referring to about index file update and what do I do about Lambda? |
On the index file, wherever it says 8080, do I just change it to say 3000? |
Ok. So the index file has your WAN ip in it and the appid and the mac address of you genie remote. Then you will zip this file up with the AlexaSkill file. May be easier to walk though bklavett 's tutorial again. |
Yep.. change to 3000. |
I will try... made the change to 3000 on the index file. I will start from scratch, but believe me, I don't need to see the tutorial again... I've seen it 100 times already! LOL :-) |
Lol... awesome. Good luck. I am heading to bed. |
Thanks for all your help! Really and truly I appreciate it! I hope it works.... will try and let you know... I want to head to bed very soon too! |
Grr! I got it to work in the test late last night, but it wasn't working when I asked Alexa at all. Therefore, I wanted to start over anyway this morning.. and start with my Kitchen TV. I deleted the "living room" skill from the Developer Console as well as all Lambda Functions related to that skill. I haven't changed anything in the Port Forwarding (still 3000 to 8080), but I did want to update the Index and the custom slot values to include more stations along with their associated channels. I made sure that every channel I included on the index was also included on the custom slot values, although I didn't necessarily enter every channel in the exact same order in the index as on the values tab (I didn't think it mattered). Now, after enter all the new data, I'm once again getting error message when I try to run the test. Again, I have no problem pausing any of my TVs with the 192.168.1.21 number along with the MAC addresses, but when I try to enter the WAN_IP to pause the screen, it now comes back with a 403 error. Although I may not be at the desk here for a while waiting for your reply... I meekly request 'help' again if you can. |
I see that your system is still publicly exposed, but doing a
/info/getLocations onlly shows your "server"/Tower.
Can I try pausing one of your TVs (living room)?
Can you zip up your Index file, your required additions to the channels
and email me? geekweaver (at) gmail.com
Would like to take a look and see what is going on.
…On Mon, Jan 29, 2018 at 2:49 PM, Ernest Rebak ***@***.***> wrote:
Grr! I got it to work in the test late last night, but it wasn't working
when I asked Alexa at all. Therefore, I wanted to start over anyway this
morning.. and start with my Kitchen TV. I deleted the "living room" skill
from the Developer Console as well as all Lambda Functions related to that
skill. I haven't changed anything in the Port Forwarding (still 3000 to
8080), but I did want to update the Index and the custom slot values to
include more stations along with their associated channels. I made sure
that every channel I included on the index was also included on the custom
slot values, although I didn't necessarily enter every channel in the exact
same order in the index as on the values tab (I didn't think it mattered).
Now, after enter all the new data, I'm once again getting error message
when I try to run the test. Again, I have no problem pausing any of my TVs
with the 192.168.1.21 number along with the MAC addresses, but when I try
to enter the WAN_IP to pause the screen, it now comes back with a 403
error. Although I may not be at the desk here for a while waiting for your
reply... I meekly request 'help' again if you can.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACibPfpQVXiNPaNrPwsDUfLjG3BqklY8ks5tPi7vgaJpZM4RvzuI>
.
|
Hi... sorry it's taken awhile... had to be away from the home. Just sent e-mail as you requested. At the moment, I have Living Room TV on for you. I may not necessarily be sitting here every second (and I don't expect you to either). Thanks for helping at your own pace. |
yes... I just replied to that private message... now I'm seeing this one |
you did the pause thing somehow |
Yes... I did.. :-) Remember that since we have a special port forwarder rule in place you will ALWAYS use port 3000 when using your WAN address and always use port 8080 when using your internal address. |
yep.... just replied via e-mail. I got it to work. I think talking via this method is better... but sharing as much private info as possible is better via e-mail, no? |
The thing I got to work was the pause function... just to be clear. |
So... with the change to the var dtv_Mac line in the index file to now read with the "?", should I try and create a new Alexa Skill and Lambda function to see if I can get everything to test correctly now... or since I added channels and such, do you want to see my custom slot values and index page first? |
Sorry.. in one of my private messages I mentioned to leave it as is.. that I was wrong in my assessment. So very sorry. |
(Removed ZIP file) |
Been working with Ernter93 offline and the primary resolution for getting things to "mostly work" (still have to tweak some custom channels and such) was the discovery that his household had multiple Amazon accounts and I believe we should update our documentation to ensure we are clear that the account linked to the Echo device is the same as the one used for Alexa Skills Kit. Apparently the Lambda Skill can be related to any account. |
Cool! Wow with different profiles, I think you would have to do a developer skill for each account and tie it to the one lambda function arn Let me know the channels and networks and I can see what I can come up with. |
bklavet... Here is my list of custom slot values. It's a combination of yours and what I've added. The ones that I have trouble with (both a combination of yours and mine), I have documented on this sheet. If you need the index, let me know. Just wasn't sure if I should attach it here with my WAN IP address and MAC listed. This is awesome BTW! |
alright remove the wan and macs and app id from your index and attach it. to the thread. |
bklavet... I screwed something up and now I think I have to completely start over. I tried to fix a couple of things on my own... and now I can't even get the test to work. I will get back to you as soon as possible. |
bklavet... OK ... got myself working again. See attached for my index zip file. |
ok, so this may resolve some of it, see if the locals work for you now. So here's the rub. We don't have any control on how alexa passes what it passes to the aws function. we can only plan for what might be sent, and the custom slot values is a good way to get the odds better, but I have seen first hand what works fine for months suddenly stops because alexa is passing a slightly different value. Long story short I try to put some contingencies into the case argument. feel free to alter as you wish. I removed "exit" this is an alexa native that ends the skill, the odds of this being passed on to lambda is nill "end" "leave" do the same thing well see if this doesn't improve things. |
ok, double checked and network isn't built into the utterances, but it would make sense to add "network" to the utterances than the slot values. that said, i think what I sent should work. guess we will see. |
Thank You... when I get a chance, I will change everything to the update and see how it all works. |
Hi... I have the latest Genie version, the Genie2, with 3 minis. I use the Custom Slot Skill for Mini Genie and utilize the MAC codes on line 12 for the index as well as enter my correct wan_ip on line 8. Everything seems to work fine all the way up to the test step. At the test step, I get the the following result: The remote endpoint could not be called, or the response it returned was invalid. I even tested the pause and hold URL you provided for each of my minis and they do freeze at when I click confirm. My settings are set for allow external devices and I have reviewed everything you have listed under #11. I did have to create a new Lambda, but I'm confident I was able to manage through that correctly. Help!
The text was updated successfully, but these errors were encountered: