How best to accomplish multiple arrays of temperatures


#1

1) Give a description of the problem
I want to create a piston that will at a given frequency, get the temperature from a sensor and put in an array for the purpose of calculating an average. ( want to do this for multiple sensors). Then I want to notify the user if the temperature deviates by X% (either gt or lt) on any sensor
Note: I already have a piston for checking too hot or too cold on each sensor but this would be an enhancement to that.

I have several devices

In perl, I would do something like $temp{$device}[$array_index] = $device_temp
I don’t think webcore has hash’s but is there 2 dimensional arrays?

What is best way to handle
2) What is the expected behaviour?
(PUT YOUR INFO HERE)

3) What is happening/not happening?
not there yet

**4) Post a Green Snapshot of the piston
not there yet

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

See if this helps get you to your goal.