Search found 1 match
- Sunday 15 December 2019 13:22
- Forum: LUA
- Topic: A lua script for pms7003 is incorrect
- Replies: 1
- Views: 358
A lua script for pms7003 is incorrect
commandArray = {} if devicechanged['Dust'] then local device = otherdevices_svalues["Dust"] print(device) local pm1, pm25, pm10 _,_,pm1, pm25, pm10 = string.find(device, "(.+);(.+);(.+)") print(pm1) --show temp in LOG print(pm25) --show humidity in LOG print(pm10) --show humstat in LOG, commandArray ...