30.10.2019, 22:55
Hello Michel
Is it possible that line 101:
needs to be -1 instead of -0. With your -0 I have faulty results, such as with this REST response
Is it possible that line 101:
Code:
-- Search the position of the last "}", and remove all the remaining padding after that (I am lazy).
local endposition = string.find(res, "}", -0)
needs to be -1 instead of -0. With your -0 I have faulty results, such as with this REST response
Code:
"id":"/solarCircuits/sc1/collectorTemperature","type":"floatValue","writeable":0,"recordable":1,"value":-0.6,"unitOfMeasure":"C","state":[{"open":-3276.8},{"short":3276.7}]}