Todays easy question (Solved)
Posted: Wednesday 13 April 2016 9:31
I'm trying to get the lux value from some pirs, so i can use it as trigger.
Using this string
Where c is the name of the pir, and the sensor is named "GangLux", but never getting any data.
I'm 100% sure theres something wrong with the formatting of this string, but as a total newb I just can't see it
Using this string
Code: Select all
lux = tonumber(otherdevices_svalues[c],'Lux')
I'm 100% sure theres something wrong with the formatting of this string, but as a total newb I just can't see it
