You also have an unhandled exception for your HTTP request. An example where the use of var is warranted would be code like the following.įor example, you used var in one case where the return value was an integer, but int and var are the same number of characters. The code may be well commented but I recommend being explicit when it is not immediately apparent what the resulting type is. If you get a “Connection or login error” when trying to setup the NETGEAR integration, please try using the IP address of the router (often “192.168.1.1”) as host instead of the default “”.Your use of var is too liberal.Link typeĭisplays the current link type: wired, 2.4GHz or 5GHz. Link rateĭisplays the current link rate of the device indicating the maximum possible data speed with the current connection. Signal strengthĭisplays the wifi signal strength of the device. Switch that lets you Allow or Block a device on the Network.įor this entity to actually Block the device, “Access Control” needs to be turned on in the Router settings.Įnable the Access Control switch entity and turn it on. Connected device entitiesįor each device connected to the NETGEAR router the following entities will be available: Device trackerĭisplays if the device is currently connected to the router (Home) or not (Away). Utilization sensorsĬPU and memory utilization sensors in percentage of available resources of the router. The Ethernet link status sensor indicates if the router is currently able to connect to the internet. Note that this can cause high data usage depending on your internet connection speed which might be relevant when using metered/limited networks. When one or more of the three sensors is enabled, the speed tests will be performed. The speed test interval is chosen to be 2 hours not to put unnecessary load on the network and reduce data usage. The first new speed tests happens 2 hours after the integration loads. If these sensor entities are enabled, they will first show previous results on integration load. The “Average Ping”, “Downlink Bandwidth,” and “Uplink Bandwidth” can be tracked by performing a speed test every 2 hours. The following router features can be turned on/off, and the status can be read: In order for these entities to display the data (instead of 0), the “Traffic Meter” should be enabled in the router settings.Įnable the Traffic Meter switch entity and turn it on. The total and average amount of downloaded/uploaded data through the router can be tracked per day/week/month. Update entity to view current and latest firmware version, and install the latest firmware of the router. Reboot buttonīutton entity to restart the router. You might also see the following error in the log 404 service '.', method '.' not found, to prevent these errors, keep the unsupported entities disabled.Īll possibly unsupported entities are disabled by default. Note that not all routers support all features, if a router does not support a feature, the corresponding entity will have the unavailable status even when the entity is disabled. The NETGEAR router will have the following entities. This option helps prevent false alarms in presence detection. iPhones will occasionally drop off the network and then re-appear. This parameter is most useful for households with Apple iOS devices that go into sleep mode while still at home to conserve battery life. The consider home time is the number of seconds to wait till marking someone as not home after not being seen.
0 Comments
Leave a Reply. |