Page 1 of 1

iTach Getting Very Unreliable

PostPosted: Mon Jan 22, 2018 7:04 pm
by Colorado4Wheeler
I've been using this awesome plugin for years, but it seems like the past couple of releases haven't worked well for me. I'm having to restart my plugin at least two or three times a week, and I get this error pretty reliably. Is there something I need to do to get my system to settle down?

Code: Select all
   Cynical Caché Error             in sendIR: Traceback (most recent call last):
  File ".../Server Plugin/cyin/debugging.py", line 58, in diagnostic_log
    yield
  File ".../Server Plugin/cyin/debugging.py", line 68, in diagnose_call
    return method(*args, **kwargs)
  File ".../Server Plugin/irdev.py", line 123, in sendIR
    self.gcdev.emit(symbol, action.count)
  File ".../Server Plugin/ir/gcache/gcdev.py", line 122, in emit
    task.transmit()                        # start transmission
  File ".../Server Plugin/ir/gcache/gcdev.py", line 50, in transmit
    self.seq = self.dev._transmit(self.ir, self.repeat)
  File ".../Server Plugin/ir/gcache/gcdev.py", line 149, in _transmit
    "%d,%d,%d,%d,%s" % (seq, ir.carrier, count, offset, ','.join(map(xlate, pulses))))
  File ".../Server Plugin/ir/gcache/gcdev.py", line 82, in command
    self.hostdev.command(','.join([cmd, self.address] + map(str, args)))
  File ".../Server Plugin/ir/gcache/gcnet.py", line 131, in command
    self.hostdev.write(cmd + '\r')
AttributeError: 'NoneType' object has no attribute 'write'

Re: iTach Getting Very Unreliable

PostPosted: Tue Jan 23, 2018 6:01 pm
by Coolcaper
Not the same error but mine goes unresponsive at times. I’ve just included a restart of the plugin everyday in one of my daily ‘morning’ schedules. Seems to be working so far.


Sent from my iPhone using Tapatalk

Re: iTach Getting Very Unreliable

PostPosted: Tue Jan 23, 2018 6:09 pm
by Colorado4Wheeler
What are you using to restart yours? I'm doing the same but always curious to see what others are doing.

Re: iTach Getting Very Unreliable

PostPosted: Fri Jan 26, 2018 4:43 am
by Coolcaper
Sorry meant to reply sooner but work got in the way lol.

I use the embedded python script as an action group:

plugin = indigo.server.getPlugin("org.cynic.indigo.gcnet")
if plugin.isEnabled():
plugin.restart()

Re: iTach Getting Very Unreliable

PostPosted: Fri Jan 26, 2018 8:35 am
by Colorado4Wheeler
Yea, that's the only way to do it programmatically, I just didn't know if you were doing some kind of test condition or just restarting it on a schedule.

Re: iTach Getting Very Unreliable

PostPosted: Fri Jan 26, 2018 8:55 pm
by Coolcaper
Just on a schedule. Although I have noticed that when it does go wonky the status of the itach devices goes from ‘ready’ to ‘trying’ (not a 100% sure but I think that’s what it says)


Sent from my iPhone using Tapatalk