[APP][Pro] Netgear Router - Network control, Presence detection, Energy monitoring

I am also suffering from weird behavior.
From the log
log] 2022-11-01 15:55:17 [netgear] [dev] Still busy. Skipping a poll
[log] 2022-11-01 15:54:17 [netgear] [dev] Still busy. Skipping a poll
[log] 2022-11-01 15:53:17 [netgear] [dev] Still busy. Skipping a poll
[log] 2022-11-01 15:52:17 [netgear] [dev] Still busy. Skipping a poll
[log] 2022-11-01 15:51:17 [netgear] [dev] Still busy. Skipping a poll
[log] 2022-11-01 15:50:17 [netgear] [dev] Still busy. Skipping a poll
[log] 2022-11-01 15:49:17 [netgear] [dev] Still busy. Skipping a poll
[log] 2022-11-01 15:48:17 [netgear] [dev] Still busy. Skipping a poll
[log] 2022-11-01

And that happens after a x time after restarting the app, not more than a hiur or so.
So all device state polling gets stale fast.

276138dc-599c-4281-95d6-cea1da02721f

I had been having problems for a while which I am not convinced had anything to do with your app, the Device in Homey has stubbornly refused to stay online this past week. That is the worst it has been. Access control had been left on as your app turned it on anyway, for reasons still unknown my Nighthawk mesh was putting devices such as all the house phones onto the blocked list. I am moving away from MESH and back to AP using UniFi, mainly so that I can have separate 2.4 and 5 Ghz bands, not possible with the Netgear product. Whether the crash report provides any answers I donā€™t know. Thank you for your hard work, I fear that Netgear have let users down with some firmware updates

After seeking athom support due to a very unstable Philips Hue app and several weeks of digging through logs it turns out that its the netgear app that is causing my troubles with Homey. The app is now uninstalled and all my in stability with the Hue app and Homey itself have been resolved.

I have a Orbi RBR850 router that i had connected with the api.
It looks like the netgear app had a huge amount of crashes according to the athom support. The device busy log errors seem to indicate that it really locks up the network stack, and so causing other apps to have issues also.

I hope this info is useful because i prefer a more native solution like this one but for now i need to keep it uninstalled.

2 Likes

v4.1.3 was just released:

  • Fix adding new router.

v4.2.0 was just released as test: Netgear Router | Homey

  • Added MAC aliases for attached devices.

Modern phones will provide a fake MAC address. Usually when the phone is connecting to the same WiFi station it will keep the same (fake) MAC address. But when you have multiple WiFi stations in your house, like I do, the same phone will be known under different MAC addresses in your network, depending on what WiFi AP it is connected to.

With version 4.2.0 of the Netgear app you can now add up to 4 extra MAC addresses for the same attached device. For presence detection Homey will use the latest available connected information for all MAC addresses you add.

1 Like

Hello,

Have a problem with the Netgear router app.
(The real problem is that my router does crash sometimes and no longer have internet to the outside world. The only solution is to restart the router then).
Now only the built-in internet connection control in the app is not working. Nor can I adjust these settings (or any other settings). Then I get the error messages below.


strong text

Is this a known problem or is there something else going on?

Of course, I want to solve any problem or challenge with Homey. :upside_down_face: In this case, create a flow that if no internet is detected by the Netgear or Homey, then reboot the router. I could also accomplish this if there is no up or download stream. But I canā€™t activate this one either.

Gruijter Everytime I restart Homey your app turn on Access Control on my Netgear Orbi. I always turn Access Control off, but next time is the same, both on Homey Pro 2019 and 2023. Why is your app turning on Access Control and blocking some of my devices? otherwise great app!

1 Like

The access control is enabled by the Homey app because that function is one of the most important use cases.
There is a way to not have the devices blocked though:

  • go to the netgear webinterface
  • enable access control
  • select ā€˜all new devices get accessā€™
  • select all devices that are currently blocked, and allow access
  • show list of blocked devices currently not connected, and allow access

And after that, just leave access control on. It shouldnā€™t block any devices, unless you ask Homey to do so via a flow.

1 Like

Yes! I have done that and it is working for a while, then something donā€™t work and I login to the web interface again and discover that some device is blocket, only way to allow them again is to turn off Access controlā€¦ anyway this sounds more like a Orbi problemā€¦ maybe you have som thoughts?

Recent Android and iOS phones hide their real mac address for wifi networks. So if you want your phone to be correctly detected at home when you have multiple access points, disable this function in your phone. You only need to do that for your own home wifi ssidā€™s. So in the bad outside world you can still use random mac for better privacy.

2 Likes

Hi
I canā€™t connect my RAX30 router. Iā€™ve posted an issue on github. Could you help me?

sure. I think you manually need to set the SOAP port. See my response on github.

As mentioned in Github, it doesnā€™t work by specifying another port.

Hi, I left you a message on github.

Thanks for sharing, restarting my R7000 did the trick!

1 Like

Hi, Iā€™ve tried all kinds of ways and have no idea what Iā€™m doing wrong.

I keep getting an error when connecting the router: " HTTP request Failed. Status Code: 401"

I have already tried changing the IP, typed soap port as 5000, 8080, 433, 80 and I get the error every time.

Please help.

Below are the diagnostics:

========== STARTING TEST ==========

Node version: v18.17.1

Netgear package version: 4.4.2

OS: linux 6.1.21-v8+

Info: Homey fw:10.0.3 app: 4.2.0

t = 0

trying to auto discover Netgear routers...

[{Firmware:V4.3.2.100WW,RegionTag:SXS50_WW,Region:ww,Model:SXS50,InternetConnectionStatus:Up,ParentalControlSupported:0,SOAPVersion:3.46,ReadyShareSupportedLevel:0,XCloudSupported:1,isBlankState:1,LoginMethod:2.0,orbiSupportedLevel:1,SOAP_HTTPs_Port:443,host:10.0.0.5,port:443,tls:true}]

t = 4.112

trying to login using method 1...

method 1 ok.

trying to login using method 2...

method 2 ok.

trying to login using auto method...

reported login method: 2

t = 7.426

trying to getInfo...

{ModelName:SXR50,Description:Netgear Smart Wizard 3.0, specification 1.6 version,SmartAgentversion:3.0,FirewallVersion:net-wall 2.0,VPNVersion:PPP 2.4.3,OthersoftwareVersion:N/A,Hardwareversion:SXR50,Otherhardwareversion:N/A,FirstUseDate:Sunday, 30 Sep 2007 01:10:03,DeviceMode:0,SerialNumber:**********,SignalStrength:100,Firmwareversion:V4.3.2.100,DeviceName:NetgearPro,DeviceNameUserSet:true,FirmwareDLmethod:HTTPS,FirmwareLastUpdate:2023_8.24_16:27:17,FirmwareLastChecked:2023_8.24_15:11:48,DeviceModeCapability:0;1;2,NumOfReboots:5,TypeOfReboots:User triggered reboot from Insight:1@User triggered reboot from locally UI:0@User triggered reboot with reset button:0@Automatic reboot caused due to a crash/system error:0@Automatic hard reboot of the device : Unknow reason:4,SoftRebootOfDevice:1,LastRebootReason:Automatic hard reboot of the device : Unknow reason}

t = 7.732

trying to getSystemInfo...

{NewCPUUtilization:16,NewPhysicalMemory:1024,NewMemoryUtilization:36,NewPhysicalFlash:4096,NewAvailableFlash:664,MemoryConsumption:272}

t = 8.556

trying to get supportFeatures...

{DynamicQoS:1.0,AccessControl:1.0,SpeedTest:2.0,GuestNetworkSchedule:1.0,TCAcceptance:1.0,DeviceTypeIdentification:1.0,AttachedDevice:2.0,NameNTGRDevice:1.0,SmartConnect:2.0,MaxMonthlyTrafficLimitation:4095000000,SupportXMLEncoded:1.0,SupportAXMode:1,SupportWPA3:1,TimeZone:3.1,ControlledFwRollout:1.0,BitDefenderSecurity:1.0,DeviceTypeIcon:2.1,GuestPortalSeparate:1.0,CircleParentalControlV2:1.0,CDIL:1.0}

t = 8.704

trying to get the LAN configuration...

socket hang up

{lastResponse:{code:ECONNRESET}}

{}

t = 44.972

trying to get the WAN configuration...

{NewEnable:1,NewConnectionType:DHCP,NewExternalIPAddress:192.168.1.2,NewSubnetMask:255.255.255.0,NewAddressingType:DHCP,NewDefaultGateway:192.168.1.1,NewDHCPServerAddr:192.168.1.1,NewMACAddress:3498B5A68F92,NewMACAddressOverride:0,NewMaxMTUSize:1492,NewDNSEnabled:1,NewDNSServers:109.196.95.195}

t = 45.125

trying to get the Traffic Meter Enabled Status...

Traffic Meter Enabled: true

t = 45.495

trying to get trafficMeter...

socket hang up

{lastResponse:{code:ECONNRESET}}

{}

t = 81.747

trying to get the Traffic Meter Options...

{newControlOption:No Limit,newNewMonthlyLimit:0,restartHour:0,restartMinute:0,restartDay:1}

t = 81.952

trying to get System Uptime (hh:mm:ss)...

001:05:15

t = 82.53

trying to get the Device configuration...

{BlankState:0,NewBlockSiteEnable:0,NewBlockSiteName:0,NewTimeZone:+0,NewDaylightSaving:0,TimeZoneOffset:0,TimeZoneState:0}

t = 82.705

trying to get Qos Status...

Cannot read properties of null (reading '1')

{lastResponse:<?xml version=\1.0\ encoding=\UTF-8\?>\r\n<SOAP-ENV:Envelope\r\n xmlns:SOAP-ENV=\http://schemas.xmlsoap.org/soap/envelope/\\r\n SOAP-ENV:encodingStyle=\http://schemas.xmlsoap.org/soap/encoding/\>\r\n<SOAP-ENV:Body>\r\n<m:GetQoSEnableStatusResponse xmlns:m=\urn:NETGEAR-ROUTER:service:AdvancedQoS:1\></m:GetQoSEnableStatusResponse>\r\n<ResponseCode>000</ResponseCode>\r\n</SOAP-ENV:Body>\r\n</SOAP-ENV:Envelope>\r\n}

Qos Enabled: [object Object]

t = 83

trying to get Qos Bandwidth options...

Cannot read properties of null (reading '1')

{lastResponse:<?xml version=\1.0\ encoding=\UTF-8\?>\r\n<SOAP-ENV:Envelope\r\n xmlns:SOAP-ENV=\http://schemas.xmlsoap.org/soap/envelope/\\r\n SOAP-ENV:encodingStyle=\http://schemas.xmlsoap.org/soap/encoding/\>\r\n<SOAP-ENV:Body>\r\n<m:GetBandwidthControlOptionsResponse xmlns:m=\urn:NETGEAR-ROUTER:service:AdvancedQoS:1\></m:GetBandwidthControlOptionsResponse>\r\n<ResponseCode>000</ResponseCode>\r\n</SOAP-ENV:Body>\r\n</SOAP-ENV:Envelope>\r\n}

{}

t = 83.328

trying to get available and selected WiFi channels...

Available channels 2.4G-1: Auto,1,2,3,4,5,6,7,8,9,10,11,12,13

selected channel 2.4G-1: Auto

Available channels 5.0G-1:

selected channel 5.0G-1: 44

Available channels 5.0G-2:

5.0G-2 channel is not available

t = 85.328

trying to get Smart Connect Status...

Smart Connect Enabled: false

t = 86.309

trying to get router logs...

last log: [DoS Attack: ACK Scan] from source: 18.244.102.62, port 443, Thursday, August 24, 2023 15:30:51

t = 87.257

trying to get Guest Wifi Status...

2.4G-1 Guest wifi enabled: false

5.0G-1 Guest wifi enabled: false, method: 1

5.0G-2 Guest wifi is not available

t = 88.384

trying to get Device Access Control Status...

Block Device Enabled: true

t = 88.735

trying to get attachedDevices method 1...

Number of attached devices: 10

First attached device:

{IP:10.0.0.11,Name:Apple,MAC:CA:9D:A9:D8:CE:3C,ConnectionType:5G Wireless1,Linkspeed:960,SignalStrength:864,AllowOrBlock:49}

t = 89.916

trying to get attachedDevices method 2...

Number of attached devices: 10

First attached device:

{IP:10.0.0.11,Name:Apple,NameUserSet:false,MAC:CA:9D:A9:D8:CE:3C,ConnectionType:5GHz,VLANID:1,SSID:Magiczni,Linkspeed:960,txRate:960,rxRate:864,SignalStrength:-46,ChannelNum:44,AllowOrBlock:Allow,Schedule:false,DeviceType:32,DeviceTypeUserSet:false,DeviceModel:Apple,DeviceModelUserSet:false,Upload:0,Download:0,QosPriority:4,Grouping:0,SchedulePeriod:0,ConnAPMAC:34:98:B5:A7:A4:B5,DeviceOs:iOS,DeviceTypeV2:17,DeviceTypeNameV2:Smart Phone (Generic)}

t = 91.048

trying to check newFirmware...

check newFirmware method: 2

{currentVersion:V4.3.2.100,newVersion:,releaseNote:}

t = 94.245

trying to logout...

{host:10.0.0.1,port:443,tls:true,username:admin,password:*****,timeout:18000,sessionId:A7D88AE69687E58D9A00,cookie:true,loggedIn:false,configStarted:false,soapVersion:3,loginMethod:2,getAttachedDevicesMethod:2,checkNewFirmwareMethod:2,guestWifiMethod:{get50_1:1},lastResponse:...,queue:{queue:{},overheat:1692890401082,pending:true,params:{default:{rule:common,key:common},rules:{common:{rate:3,limit:1,priority:1}},overall:{rate:10,limit:1},retryTime:2,ignoreOverallOverheat:true},heatPart:100}}

t = 94.337

test finished with 4 errors

Hi Sebastian,

I had the same issue when Homey was connected to the Router (R7000) via LAN. After unplugging the LAN connection using WLAN works in my case. Not sure why, but I see the router and it is stable.

regards, Bernhard

1 Like

Hi @Gruijter
Have the new RAXE300 router but despite a successful test. I canā€™t get it connected to Homey. Have posted a message on github, but you may have not have gotten to this yet or maby you busy with other things :wink: can and would you still like to look at this? :eyes:

Thanks!