I thought you were able to capture all this within the native apps (Genie to Router Admin logs), that’s why I didn’t look elsewhere. I already had Fiddler so I turned that on.
I did a ton of searches around the NH Routers and others who have attempted similar things and I was surprised at how little this had been touched upon.
The remote access didn’t play into accessibility to the soap url. However as you said, it might be a different url. There were 0 results for that url anywhere on the web.
Anyway, knowing the approach you took, I will ping ya with what I discover.
There is no direct access to this url. I have gone through the entire Router Admin panel and modified and changed a ton of different settings to no avail. Yes, the Remote Access is turned on and so is Device Access. There has to be something different with how this router uses the information with respect to the url (whether is some sort cookie or session established that terminates, or maybe the keepalive) and how it is handled with the R6700.
Here is a snippet from Wireshark (NOTE: If I double click on the URL within Wireshark, I still get the HTTP 404 - Not found message):
Actually I just checked and see that "404 not found is normal from web browser"
on my R6700v2 I also get this. Because the web browser is not sending a soap request. instead it sends a standard “http get”
now that we see the soap URL is same , we should focus on what is different on your router.
I am not home and I can not analyze it from the image you just posted.
Please check the “getattacheddevice” part in my code.
is it different than what you see on your wireshark ?
there must be something dfferent.
Btw, you have to configure the device “netgear router” on your smart things app with correct IP, port 80 and user, password.
if any of them are wrong or missing then it is normal to have a non working device.
in fact, I believe that if your router’s soap URL is same as mine , than it should work…
I have a R7000, I think the box said Night Hawk on it. I’ve tried every combination in the settings I can think of and nothing is working. Can you clarify the format of the IP and port? Above you show HEXIP:HEXPORT but there are two fields. Do I enter the colon with the port 80 in the IP field or only on the port field or both? (I’m using Hex. i.e. Dec 80 = Hex 50)
Also I’m assuming this is connecting to my router from the SmartThings cloud, so I should be using the external or public IP address, correct?
Thank you for the work you’ve done. I look forward to the applications that can tap into this.
You have to enter private (LAN) IP address of your router on the device settings.
IP and Port fields will be filled in with decimal numbers (80 for the default port)
But on the device (on graph API) you have to enter the network ID as HEXIP:HEXPORT
Can you edit so if I add the nighthawk device to my dashboard in ST it gives me the ability to reboot. It just has a green button for guest wifi (which isnt even on on my router)
what is your router model ? does any function work for your router ?
we can of course make changes but I still did not receive any positive feedback yet.
Also there are missing features. First I need to make it refresh periodically. But I don’t know how to do that.
No they arent working right now as the button (on the dashboard only says guest wifi). When I go into the device I can see more options but also a ton of the plugs that look like guitar amp plugs.
well I just have a R6700v2. So anything other than this router , I can only make assumptions.
it would be helpful to understand if you can get traces between your computer and the router while you are using PC Genie app.
the hex of IP is correct but where do you enter this ? in device config on the mobile app you should put 192.168.1.1
In the graph api on web you should put the hex format on device network id.
OK, I had tried it from both, but I’ll enter the IP address in the device config on mobile. I probably have other issues as well to troubleshoot when I get home…
what I need you to do is ,
1- open debug , network trace ffrom your router http://192.168.1.1/debug.htm (if your router is at 192.168.1.1)
2- start capture
3- run my device handler and try to turn on/off wifi
4- stop capture and download capture file
5- attach capture file here and let me see what’s going on.
(ps. I believe you are either entering login credentials wrong, or there is a problem in IP/port, hexIP settings)
(ps. did you enter port number as 80 ?)