pgershon wrote:ACTUALLY SOLVED IT - Needed to turn "Access" off in the user controls.
Bollar wrote:So, I have been having the same problem. I'm evaluating Indigo and have about zero Python experience, but I found that if I modified the plugin.py code at line 127 like this:... then I would have a variable with the last 30 second heartbeat. From there, I added a trigger to look for a change in the elkTick variable and put in a delayed action to execute this Python script I found on this forum:
- Code: Select all
if 'XK' in msg:
# logging heartbeat to elkTick variable as received (expected 30 seconds)
indigo.variable.updateValue("elkTick", msg.rstrip())
# logging "tick" messages from M1XEP once per hour
if (time.localtime().tm_min % 60) == 0 and time.localtime().tm_sec < 30:
indigo.server.log("Tick: %s" % msg.rstrip())
- Code: Select all
plugin = indigo.server.getPlugin("com.elkplug.indigoplugin.elkm1g")
if plugin.isEnabled():
plugin.restart()
So, if I don't get a heartbeat from the Elk within a minute, I'll try to reload the plugin.
Otherwise, I truly know little-to-nothing about Indigo or Python, so that's the best I can do for now.
scotsman wrote:OK it seems to be working now. Still some python errors, but I am seeing the state of the zones and alarms. Great plugin.
Users browsing this forum: No registered users and 1 guest