Blockly to read sensor with multiple data

Moderator: leecollings

Post Reply
rnk8845
Posts: 2
Joined: Sunday 06 December 2020 17:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Blockly to read sensor with multiple data

Post 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
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Blockly to read sensor with multiple data

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest