Help required

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

15 years 1 month

allanayr

11 years ago

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.