Device not responding

More
2 years 3 weeks ago #2904 by bitzerjd
Device not responding was created by bitzerjd
I've had this issue a few times.  I press a button on the remote to execute a macro.  There is a long delay where command presses don't work.

In the log I can see that the Global Cache IP2IR device cannot be reached.  

12/07/2024 22:09:44.09 · DEBUG · Server.doCommand - Pause|3 from remote0 
12/07/2024 22:09:47.09 · DEBUG · Server.doCommand - Control|{{remote2}}~SendIR~Definitive Technology-Mythos ST-L Tower Speakers~POWER OFF from remote0 
12/07/2024 22:09:47.09 · DEBUG · Server.doCommand - Control|30~SendIR~Definitive Technology-Mythos ST-L Tower Speakers~POWER OFF 
12/07/2024 22:09:52.09 · ERROR · GenericIR.SendIR - No response from remote GC controller! 
12/07/2024 22:09:52.09 · DEBUG · Server.doCommand - Pause|3 from remote0 
12/07/2024 22:09:55.09 · DEBUG · Server.doCommand - Control|{{remote2}}~SendIR~Definitive Technology-Mythos ST-L Tower Speakers~POWER OFF from remote0 
12/07/2024 22:09:55.09 · DEBUG · Server.doCommand - Control|30~SendIR~Definitive Technology-Mythos ST-L Tower Speakers~POWER OFF 
12/07/2024 22:09:55.09 · ERROR · GenericIR.SendCommand - Cannot send command to device iTachIP2IR - Device not connected 
12/07/2024 22:10:00.10 · ERROR · GenericIR.SendIR - No response from remote GC controller! 

But...a few lines later, after pushing the button again, it works fine.  

It's almost as if the Global Cache device enters a sleep mode.  Any ideas?

Thanks!
 

Please Log in to join the conversation.

More
2 years 3 weeks ago #2906 by David Li
Replied by David Li on topic Device not responding
Just a thought - ensure you have the IP2IR static network addressed and not DHCP...possibly it's falling off the network (why?) and it needs to get an IP address. Are you using Wifi or ethernet? Certainly ethernet should be more reliable.

Please Log in to join the conversation.

More
2 years 3 weeks ago #2908 by bitzerjd
Replied by bitzerjd on topic Device not responding
The devices were setup for DHCP with a reserved address. I switched them to static this morning...

All are connected to ethernet and the network is very stable. The issue is that the device is not found, or doesn't respond with the first command set, then it works 10 seconds after that.. Once it is "alive" all is good. Both of my Global Cache devices exhibit this behavior.

I've also noticed that when pinging the device (after not in use for a while), the first reply is delayed... ~25-40ms and the following ones are 4-5ms.

Weird stuff!

Please Log in to join the conversation.

More
2 years 3 weeks ago - 2 years 3 weeks ago #2909 by bitzerjd
Replied by bitzerjd on topic Device not responding
Looking in the logs, this shows up more than I would like...

12/07/2024 20:00:34.00 · DEBUG · Server.doCommand - Control|3~SendIR~HD Fury-4K Vertex 2~INPUTSEL1 from remote0
12/07/2024 20:00:39.00 · ERROR · GenericIR.SendIR - No response from remote GC controller!

Hopefully the static address with help. I was wondering if others experienced this. If so, it might be worth building into the GenericIR driver a "keep alive" packet that fires every so often...

Just a thought..

FYI - I just created a cron job on one of my linux boxes to ping the devices once every 10 minutes.  I will let you know if that fixes the issue.
Last edit: 2 years 3 weeks ago by bitzerjd.

Please Log in to join the conversation.

More
2 years 3 weeks ago #2910 by davep
Replied by davep on topic Device not responding
All the drivers will try to maintain a permanent connection to the device when the protocol allows it. The GenIR driver will attempt to reconnect 10 seconds after a device disconnects. The next time you see this issue please turn on verbose logging in the driver in question so that we can get a better picture of what it is doing. 

Please Log in to join the conversation.

More
2 years 3 weeks ago #2914 by bitzerjd
Replied by bitzerjd on topic Device not responding
Still happening...

13/07/2024 22:37:06.37 · DEBUG · GenericIR.TX >>> - iTachIP2IR:sendir,1:1,1,38000,1,1,342,171,21,63,21,63,21,21,21,21,21,63,21,21,21,21,21,63,21,21,21,21,21,63,21,63,21,21,21,63,21,63,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,63,21,63,21,63,21,63,21,63,21,63,21,63,21,63,21,7435
13/07/2024 22:37:06.37 · DEBUG · GenericIR.NetDisconnect - Device (2) has disconnected.
13/07/2024 22:37:11.37 · ERROR · GenericIR.SendIR - No response from remote GC controller!

Please Log in to join the conversation.

Time to create page: 0.206 seconds