I'm afraid you have mostly stumped me. There is only one place in the code that is looking for a 9-item sequence, which works fine for me
First, are you certain you are running v0.0.9? This line does not correspond to any of the debug logging in the plugin:
- Code: Select all
Online Sensor Debug 1502293632.0
Please re-download, install, and reload the plugin to be certain.
Next, please try deleting your device "IPAddressSensor". Do the other devices work ok? If so, try re-creating the deleted device.
If that doesn't help, maybe there's something hinky with your python install. Please create an action group of type Execute Script, and enter this script:
- Code: Select all
import time
dev = indigo.devices['IPAddressSensor'] # Change the name if the new device has a different name
indigo.server.log(str(dev))
lc = dev.lastChanged
indigo.server.log('lastChanged: '+str(lc))
tt = lc.timetuple()
indigo.server.log('timetuple: '+str(tt))
mt = time.mktime(tt)
indigo.server.log('mktime: '+str(mt))
lt = time.localtime(mt)
indigo.server.log('localtime: '+str(lt))
st = time.strftime('%Y-%m-%d %H:%M:%S',lt)
indigo.server.log('strftime: '+str(st))
Run the action and post the log results.
Lastly, you can download an updated version from github (unreleased at this point). This won't fix anything, but will hopefully provide some additional info on the errors.
https://github.com/kmarkley/Indigo-Onli ... master.zip(FYI, when replacing the plugin, it should not be necessary to reboot the machine or restart the Indigo server. Just reload the plugin from the menu.)
----
As a side note, it is not necessary to create a schedule to update these devices. The plugin will update them all based on the frequency in the device config (5 minutes in your case). If you definitely want to use an Indigo schedule, you should set the Update Frequency to Disabled.