Page 1 of 1

Blockly to read sensor with multiple data

Posted: Sunday 06 December 2020 17:28
by rnk8845
Hi,

My TFA anemometer sensor return multiple values in this order: Wind speed, Max Wind speed, felt temperature and current temperature.
Unfortunetely, from a Blockly script, I can access ONLY to the first value of the array of data.

How can I give Blockly access to all the values as individual value? (I would like to access only to the last data: current temperature)?

Thx for your help
Fabian

Re: Blockly to read sensor with multiple data

Posted: Sunday 06 December 2020 22:36
by waaren
rnk8845 wrote: Sunday 06 December 2020 17:28 How can I give Blockly access to all the values as individual value?
You can't. You will have to use one of the other script alternatives.