I've been struggling to write a lua script to correct some xively data which is not correct. I'm having terrible trouble getting it to work. Perhaps someone could spot what I'm doing wrong. Any help appreciated.
The idea is to update the data points on feed id 8 with data that is more realistic. (My 1 wire bus went belly up and reported
a temperature of 85 degrees for 20 minutes)
Here is the script which I was hoping would update the feed. (Just a couple of minutes worth at a time)
Member for
16 years 10 monthsIf it helps any I did a proof
If it helps any I did a proof of concept Pachube posted quite some time ago (2yrs ago) much has probably changed since I had tha working.
/content/pachube-applet
Member for
15 years 1 monthThanks Brett, The script is
Thanks Brett, The script is based on your original. I think I must have mangled the string.format command because by further fiddling I've finallly managed to get it to work. Lua's still a bit of a learning curve for me I'm afraid. Thanks anyway.