Using wind speed in Blocky to control sunscreen

Moderator: leecollings

Post Reply
Bob1976
Posts: 3
Joined: Saturday 25 May 2019 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Using wind speed in Blocky to control sunscreen

Post by Bob1976 »

Hello,

I am trying to read the windspeed from my Alecto WS3500 and make it turn off my sunscreen. I have created a verry simpel blocky just to test things, but even that is not working...

I have looked at the data from the wind speed sensor, and it seems that the third or fourth position of the returned values is the windspeed... but how can I tell Blocky wich numbers (positions) to use...? I have added a picture of what the returnd windspeed numbers are (4 and 12 in this case), and an example of the test blocky....

Values:
Windmeter Values.png
Windmeter Values.png (123.27 KiB) Viewed 1292 times
Blocky:
Windmeter Blocky.png
Windmeter Blocky.png (73.67 KiB) Viewed 1292 times

How can I use the returned values of the Alecto windspeed sensor in Blocky?

Greetings Bob.
Bob1976
Posts: 3
Joined: Saturday 25 May 2019 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Using wind speed in Blocky to control sunscreen

Post by Bob1976 »

Hello,

After some fiddeling around, it seems that the value in the weather Blocky building block (Windmeter) is the fourth digit in the string (WindGust). And the value shown in the string is multiplied by 10, but not so in the Blocky building block... :roll: . The value in the string is in meters/sec, so to make ik work I set the value in the Blocky to 5m/s (18km/h).

Like this:
Windmeter.png
Windmeter.png (13.17 KiB) Viewed 1255 times
And now it works!

Greetings, Bob.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest