Athlon Posted February 26, 2023 Posted February 26, 2023 I have my router programmed to restart 4 days a week. If I don't, about once a week we begin to lose wireless connections around the house and yard. Everything on my network is working flawlessly since I programmed my router to do this about 5 months ago. My router restarts at 4am 4 days a week. On those days, my programs with Kasa devices in them do not work until I go into PG3 and restart the node server. All of those devices work as they should, however, with the Kasa app as well as with Alexa - so they are connected to my network just fine. When this occurs, I go log into PG3 and restart the Kasa nose server and suddenly all is well. My Polisy and any Kasa devices I have in ISY programs are all set up in my router's manually assigned IP table (always have been). Here is an example of one of the programs that stops working: Office Heater On - [ID 001B][Parent 0001] If 'Office Remote - C' is switched On Then Set 'Kasa Controller / Heater' On Else - No Actions - (To add one, press 'Action') Is there anything I can do to keep this from happening?
Jimbo.Automates Posted February 26, 2023 Posted February 26, 2023 Get a router that doesn't require rebooting If it has this issue today then download log package and PM it to me. I'm traveling today but will try to take a look this week.Sent from my Pixel 6 Pro using Tapatalk 1 2
Athlon Posted February 26, 2023 Author Posted February 26, 2023 3 minutes ago, Jimbo.Automates said: Get a router that doesn't require rebooting Ha! Today is one of the days, so about to PM you. 1
Athlon Posted February 26, 2023 Author Posted February 26, 2023 (edited) Just some background info on my router: It's an Asus ZenWiFi AX mesh system with 2 units. They cover my 2 story home and backyard (1 acre property) with ease. IMHO it's a great router. I don't know why I need to reboot it once in a while, but everything I read says it's not a bad idea to do so occasionally anyway. I don't think I need to do it 4 times a week, but that works for me and it happens when we are sleeping. The node server stops working regardless of the interval between router reboots. Edited February 26, 2023 by Athlon
asbril Posted February 26, 2023 Posted February 26, 2023 2 hours ago, Athlon said: Just some background info on my router: It's an Asus ZenWiFi AX mesh system with 2 units. They cover my 2 story home and backyard (1 acre property) with ease. IMHO it's a great router. I don't know why I need to reboot it once in a while, but everything I read says it's not a bad idea to do so occasionally anyway. I don't think I need to do it 4 times a week, but that works for me and it happens when we are sleeping. The node server stops working regardless of the interval between router reboots. Did you check whether the Kasa devices are still online in the Kasa App ? I have found that when a Kasa device is not working in ISY it is because the device may need to be reset in the Kasa App..
Athlon Posted February 26, 2023 Author Posted February 26, 2023 (edited) 16 minutes ago, asbril said: Did you check whether the Kasa devices are still online in the Kasa App ? Yes (said so in my first post here). 😀 Edited February 26, 2023 by Athlon 1
bpwwer Posted February 26, 2023 Posted February 26, 2023 I know @Jimbo.Automateswas sort of joking when he said get a new router, but really, a wireless router has one main job and that's to route wireless network traffic. If it stops doing that after a few days, it's broken. The node server probably should be able to handle a router reboot. But I have a number of devices on my network that need to be restarted after a network disruption. It would drive me nuts if I had to restart them all every 4 days. 1
Athlon Posted February 26, 2023 Author Posted February 26, 2023 I suppose I can play with the frequency of the restarts - maybe once a week or so.
Geddy Posted February 26, 2023 Posted February 26, 2023 @Athlon are you reserving IP addresses for the KASA devices? I wonder if the devices are getting different IP addresses when the router restarts. You wouldn't notice a difference with the Kasa app and probably not with Alexa if linked to the Kasa app (rather than to IoX). But wonder if that's causing issues with the node server. I'm not sure how the node server routs the devices into IoX, but probably via IP at the time they were discovered. I wonder if your restarting the node server causes them to rediscover the devices and correct the node/links being sent to IoX. Since it's just nodes then my assumption is that programs would still work as the device didn't change name or nodes, but the IP address could have changed and the node server or IoX didn't know how to communicate to the devices anymore. I don't use that node server so @Jimbo.Automates would know best of how it is discovering devices. I know I had an Asus router many years ago. They went through a phase where rebooting was necessary because it didn't have enough memory and would drop wifi (and sometimes hard wired connections) for no reason. It's as though they don't have a good way to clear out old memory or something and rebooting is the only way to get it to "reset". It was really annoying! I've seen some Netgear devices have "reboot router schedule" in their firmware now. That doesn't bode well for future longevity of their equipment (IMO). Hopefully you get the help needed to keep things working.
Athlon Posted February 26, 2023 Author Posted February 26, 2023 @Geddy Yes - they all have a reserved IP address (any Kasa device in an ISY program does), and they have for a long time. I used to use the hex trick to turn Kasa devices on and off before PG3. 😀 1
Geddy Posted February 26, 2023 Posted February 26, 2023 @Athlon guess a swing and a miss then. Oh well. Oh, and just went to look at the additional info for the Kasa node server and saw this: Quote The node server does not require that you reserve IP addresses for the devices, the device address is remembered based on it's MAC address, so if the IP address changes, it will be properly handled. (This has not been extensively tested, needs more verification) (Source: https://github.com/UniversalDevicesInc-PG3/udi-poly-kasa/blob/master/README.md) 1
BamBamF16 Posted February 27, 2023 Posted February 27, 2023 Had a power surge/off-on event last night. Everything rebooted fine. But my Kasa NS showed online and connected, but it actually wasn't. I have a feeling the NS restarts faster than the actual Kasa devices so it uses old IP addresses. Then it must not actually find the devices when they come back online because nothing works until I restart the NS. 1
DennisC Posted February 27, 2023 Posted February 27, 2023 23 hours ago, Athlon said: Just some background info on my router: It's an Asus ZenWiFi AX mesh system with 2 units. They cover my 2 story home and backyard (1 acre property) with ease. IMHO it's a great router. I don't know why I need to reboot it once in a while, but everything I read says it's not a bad idea to do so occasionally anyway. I don't think I need to do it 4 times a week, but that works for me and it happens when we are sleeping. The node server stops working regardless of the interval between router reboots. For what it's worth - An occasional reboot should not be 4 times a week. I would be looking for a new router. 2
Athlon Posted February 27, 2023 Author Posted February 27, 2023 2 hours ago, DennisC said: For what it's worth - An occasional reboot should not be 4 times a week. I would be looking for a new router. I agree. I really don't know how often I need to do that. It was simple to program in my router, in the middle of the night, so I chose that frequency. Regardless, I'm wondering why my Kasa devices in ISY programs don't work after a reboot.
Athlon Posted March 7, 2023 Author Posted March 7, 2023 (edited) Update: My Kasa node server has been working perfectly since I started this thread. Before my first post here, I had to restart it a few times a week as described in my first post. (Was doing so for a few months.) Who knows why it's okay now - could it be the real power of this forum? Or do you believe in coincidences... Edited March 7, 2023 by Athlon 2
Recommended Posts