NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
vtburtonra
Feb 14, 2023Aspirant
access the list of attached devices via URL with json output
I have an Orbi RBR850 and two RBS850's. In combination, they provide excellent WiFi coverage to my house. The RBS's are connected back to the RBR via Ethernet. I have "a bunch" of IOT devices conn...
- Feb 16, 2023
CrimpOn wrote:I found the READ.ME less helpful than I would have wanted, especially in terms of how to enter the commands.
Plus, it spewed a bunch of warnings about "certificate verification" which did not affect the results, but annoyed me a lot.
Loaded on Linux Mint 20.3 using pip3.
Set environment variables:
PYNETGEAR_PASSWORD="<router password>"
HOST=192.168.1.1
USER="admin"
URL="192.168.1.1"
command python3 -m pynetgear_enhanced attached_devices2 >dev.txt
I got it to work, but had to do this:
python3 -m pynetgear_enhanced --url 'https://routerlogin.net' --host "192.168.1.1" --user "admin" --password "<router password>" attached_devices2 >dev.txt 2>&1
The https in the URL did the trick. It did not seem to pay attention to the PYNETGEAR_PASSWORD, HOST, USER and URL variables. I tried setting them within a bash script and also exporting them. The command worked for me on OpenSUSE, Ubuntu, Fedora, Mint, Rasbian, and Debian.
This uncovered another problem. I have an RBR850 and two RBS850s. When I log into the RBR, and go to attached devices, it only shows 1 device from one of the two RBSs, but that RBS has 10 devices attached to it. When I log into the RBS directly, and select Connected Devices, it shows all 10 devices, but the IP address field is "-" for all except 1 device, and that's the 1 device that shows up in the RBR. The pynetgear_ehnanced program shows the same, but expected given that logging directly into the RBB shows this.
The other RBS shows everything correctly, including IP addresses. All 3 are running the latest firmware (4.6.14.3).
Note that all 10 of those devices are working fine - I can ping them. Even pinging them doesn't cause the RBS to start showing their IP addresses. I'm guessing this RBS is fubar and needs a reboot. I'll do that and I'm assuming that will fix it.
I really do appreciate your help and suggestions on this.
Randy
CrimpOn
Feb 14, 2023Guru - Experienced User
If you have Excel, you may find the commands you want in this spreadsheet:
https://www.dropbox.com/s/o0eaj5kjs3cpxcc/ORBI Soap Request.xlsm?dl=0