TFA wind sensor

Moderator: leecollings

Post Reply
stuiow
Posts: 139
Joined: Saturday 18 April 2015 18:56
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.6857
Location: Isle of Wight, United Kingdom.
Contact:

TFA wind sensor

Post by stuiow »

Quick question, what units do the tfa anemometers output in, MPH/KPH/MS?
Cheers

Sent from my SM-G955F using Tapatalk

Now setup on a RPI3.
Also using Evohome HGI80, RFXTRX433E and a Aeotec Gen5 stick. Mainly a Gen5 Z-Wave system.
My weather (Davis vantage Pro2) data is obtained by weatherunderground
Now collecting rtl_433 data from Apollo Ultrasonic meter
ds106
Posts: 1
Joined: Wednesday 07 February 2018 23:37
Target OS: Linux
Domoticz version:
Contact:

Re: TFA wind sensor

Post by ds106 »

Hi,
Ruud v Gessel's "Cresta weather sensor protocol" describes Windspeed and Windgust as mph. As I can see RFLink passes sensor mph value as kmph to domoticz, rfxcom passes calculated kmph from sensor mph.
Win1.jpg
Win1.jpg (35.7 KiB) Viewed 3491 times
Regards Götz
koenkooi
Posts: 4
Joined: Monday 08 May 2017 9:56
Target OS: Linux
Domoticz version: 3.7439
Location: Amersfoort, The Netherlands
Contact:

Re: TFA wind sensor

Post by koenkooi »

Domoticz seems to do something different here:

It gets '8' as data:
Schermafbeelding 2018-11-12 om 14.53.04.png
Schermafbeelding 2018-11-12 om 14.53.04.png (22.88 KiB) Viewed 3248 times
And displays '2.9 km/h'
Schermafbeelding 2018-11-12 om 14.53.10.png
Schermafbeelding 2018-11-12 om 14.53.10.png (50.42 KiB) Viewed 3248 times
The code has this:

Code: Select all

        //Wind
        if (m_windunit == WINDUNIT_MS)
        {
                m_windsign = "m/s";
                m_windscale = 0.1f;
        }
        else if (m_windunit == WINDUNIT_KMH)
        {
                m_windsign = "km/h";
                m_windscale = 0.36f;
        }
        else if (m_windunit == WINDUNIT_MPH)
        {
                m_windsign = "mph";
                m_windscale = 0.223693629205f;
        }
        else if (m_windunit == WINDUNIT_Knots)
        {
                m_windsign = "kn";
                m_windscale = 0.1943844492457398f;
        }
        else if (m_windunit == WINDUNIT_Beaufort)
        {
                m_windsign = "bf";
                m_windscale = 1;
        }
Why does domoticz think the data is in decimeters/second?
Toulon7559
Posts: 858
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: TFA wind sensor

Post by Toulon7559 »

In Domoticz speed expressed as 0.1m/s is aspect of definition.
See https://www.domoticz.com/wiki/Domoticz_ ... L%27s#Wind
Only reason I could imagine, is that then the practical transfer values can be expressed as integers.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
koenkooi
Posts: 4
Joined: Monday 08 May 2017 9:56
Target OS: Linux
Domoticz version: 3.7439
Location: Amersfoort, The Netherlands
Contact:

Re: TFA wind sensor

Post by koenkooi »

So is the '8' in the data overview the value read from rfxcom (presumably in km/h) or the processed value? I ask because the '8' is a lot closer to the 10km/h from the local weather report than the 2.9km/h domoticz displays.
I don't have a different (calibrated) anemometer to compare against, so domoticz could be doing the right thing already.
Toulon7559
Posts: 858
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: TFA wind sensor

Post by Toulon7559 »

If you are using Nexus' USB-interface, that interface is according to TE923:
this documentation might apply for read-out.
Reading this documentation indirectly you can find practical info on Nexus' data protocol.
Last edited by Toulon7559 on Wednesday 28 November 2018 21:18, edited 1 time in total.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
koenkooi
Posts: 4
Joined: Monday 08 May 2017 9:56
Target OS: Linux
Domoticz version: 3.7439
Location: Amersfoort, The Netherlands
Contact:

Re: TFA wind sensor

Post by koenkooi »

I'm using the 433MHz sensors with an rfxcom transceiver connected to domoticz.
User avatar
sincze
Posts: 1302
Joined: Monday 02 June 2014 22:46
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.4
Location: Netherlands / Breda Area
Contact:

Re: TFA wind sensor

Post by sincze »

I noticed the difference as well and notified the stunt team on 28_7_18 unfortunately no response. But hopefully fixed in r49.
Windmeter.JPG
Windmeter.JPG (64.84 KiB) Viewed 3120 times
Pass2php
LAN: RFLink, P1, OTGW, MySensors
USB: RFXCom, ZWave, Sonoff 3
MQTT: ZIgbee2MQTT,
ZWAVE: Zwave-JS-UI
WIFI: Mi-light, Tasmota, Xiaomi Shelly
Solar: Omnik, PVOutput
Video: Kodi, Harmony HUB, Chromecast
Sensors: You name it I got 1.
Toulon7559
Posts: 858
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: TFA wind sensor

Post by Toulon7559 »

@stuiow

Which interface are you applying to read the TFA_Nexus anemometer?

By accident (while looking for something completely different) I can confirm the observation by ds106 that in Domoticz it seems to make difference over which interface you read windspeed from TFA_Nexus
a) over the Console's TE923 USB-interface, or
b) wireless by RFXCom or
c) wireless by RFLinkGateway:
- the readouts a) and b) from the TE923-interface, respectively from the RFXCom usually agree
- the readout c) through the RFLinkGateway [in my case R46] shows much lower values [meanwhile this 'possible bug' reported to Stuntteam], possibly (?) a factor 1.6 due to output as mph vs. kmh

Furthermore, (similar to reported by sincze) generally the values coming from my TFA_Nexus' anemometer are lower than those coming from a co-located WS7000-anemometer (which I better trust, because better quality, although aged).

:? Just raises the question: which wind speed is true & correct?
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest