OK thx Rene.
Just a couple of things and I’ll let this alone.
First, this is a great plugin. Reading through the code I can see a great deal of effort went into understanding how harmony structures its data and in turn, how to use that data in a Vera environment. Mind warping for the uninitiated.
Second, I was concerned about the error because I’m using the Harmony plugin to bring up surveillance camera images (from my NVR) on my television in the event of a security incident. Now trusting security to anything vera has been widely discussed in the forums, so I won’t go there, but for the particular type of functionality I have in mind, I find it appropriate and given that I’m not able to spend tens of thousands of $ on security, using vera for some aspects of home protection is well worth the effort. So I was essentially trying to button down anything that could be problematic-- in calling the log error to your attention.
I believe the offending code is this: “os.execute('ls -A1 ‘…HData.f_path…‘D_HarmonyDevice’…HData.DEVICE…’_. > '…tmpfile)”
The shell out is throwing an error because, at this point in program execution, the shell is not seeing any files to list. One possible kluge would be to create a tmp file with the desired attributes in the given directory just prior to the list. This would ensure some data to place into the “tmpfile.” But I’m not a big fan of tmp files because of their klugeiness so perhaps there is a better way to account for a nil return value on the list.
Anyway, just my two cents for what it’s worth.
Again, great work here, and thank you so much for your effort on this plugin.