norcoscia wrote:So somehow I was able to get one item in the CSV engine to work - I'm not sure why it works. (it was an item I had tried before and it did not work) I then added a second item (another variable) and it failed just like all the others.
Something odd I noticed when I went to edit the items in the CSV engine - the working item does not show up in the list - the only way I can see the working item in the engine is to double click on the working item and then when I edit it is shows up - maybe that is normal behavior but figured I would let you know.
Anyway - thanks for trying - I don't think we have a good mechanism to troubleshoot this since nothing I see in the log looks like it will help.
I'm hate to give up but w/o a good next test step I don't want to burn any more calories on this - Maybe after you do a few updates I'll give it a try again - take care and I wish we could have got it to work...
I can certainly understand why you don't want to spend any more time on this and appreciate you giving the plugin a try. If you wouldn't mind, I just want to understand what you're saying.
You go into the CSV engine device, and complete the Add Data Item block. You complete the Source Title, Source ID and Source State fields and then click the Add Item Button and then click Save. You then return to the CSV engine device and the item you just added does not appear in the dropdown list under Edit Data Item and the only way that you can get it to appear--and here's where I get lost--is to double-click on the working item. If it's not in the dropdown list, it's not clear to me what you're double-clicking on.
I want to be clear about two things:
(1) When you add an item with the CSV engine it should appear in the Edit Items dropdown list immediately--but your additions will not be committed until you click Save.
(2) The data file that results from creating a new data item using the CSV engine will not be created until the next time the CSV data are updated globally (the frequency is set in the plugin configuration screen).
Lastly, and this is just if you're curious. You can run the following code against your CSV engine device within Indigo (replace 'CSV_ENGINE_ID' with the ID of your CSV Engine device).
- Code: Select all
indigo.server.log(u"{0}".format(indigo.devices[CSV_ENGINE_ID]))
and in the Indigo log you should see a property called 'columnDict' which contains information about the CSV Engine data elements you've added. It should look something like this:
- Code: Select all
columnDict : {u'k3': (u'barometric pressure', u'1149686816', u'pressure'), u'k2': (u'wunderground humidity', u'1149686816', u'relativeHumidity'), u'k1': (u'wunderground temp', u'1149686816', u'temp')} (string)
Cheers,
Dave