Weather station GAL WS-1501 incorrectly shows negative temperatures.

Moderator: leecollings

Post Reply
User avatar
Igrek
Posts: 9
Joined: Sunday 22 October 2017 11:28
Target OS: NAS (Synology & others)
Domoticz version: 3.8153
Location: Moscow
Contact:

Weather station GAL WS-1501 incorrectly shows negative temperatures.

Post by Igrek »

Version: 3.8153 stable
Platform: NAS Synology DS116 (DSM 6.1.3-15152 )
Plugin/Hardware: RFLink Gateway with LAN interface Version: 47.8
--------------------------------------
Hello!
With the weather station GAL WS-1501.
RFLink defines how "InoValley_SM200". In the summer it works perfectly. At temperatures below zero, the temperature is incorrect. With the real -0.1, it shows -101.2 С :shock:
In logfile "RFLink: 20;8B;InoValley_SM200;ID=02b2;TEMP=83FE;"
As the temperature decreases, the values increase! At minus 1.2 degrees, the values in the RFLink protocol are "TEMP = 83F4;"
Can I correct the negative temperatures on this sensor?
Thank you!
padrino
Posts: 3
Joined: Sunday 17 February 2019 14:52
Target OS: -
Domoticz version: N/A
Contact:

Re: Weather station GAL WS-1501 incorrectly shows negative temperatures.

Post by padrino »

Hi,

even if this is a bit old, but as the problem still exits with rflink (I am using it with iobroker, though)...

You can calculate the correct value from the given.

Here it starts with 83FF for -0.1°C. Ignoring the "8" leaves 3ff hex, or 1023 dec.
RFlink decodes it to -102.3°C (= rflink_tmp).
So the correct temperatur to use is

rflink_tmp * (-1) - 102.4

I use this calculation for every rflink_tmp < -50. This should cover the range of possible temperatures here. ;)

CU,
padrino
Toulon7559
Posts: 858
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: mixed
Location: Hengelo(Ov)/NL
Contact:

Re: Weather station GAL WS-1501 incorrectly shows negative temperatures.

Post by Toulon7559 »

If the 'problem' is consistent for all temperatures <0, to me it looks like a software-fault in de RFLinkGateway, related to decoding of the received messages. Something of the kind of complement representation for negative numbers.
Why not tell the RFLink 'Stuntteam' what you see, and ask them to make a correction to the firmware of the RFLinkGateway?
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.
padrino
Posts: 3
Joined: Sunday 17 February 2019 14:52
Target OS: -
Domoticz version: N/A
Contact:

Re: Weather station GAL WS-1501 incorrectly shows negative temperatures.

Post by padrino »

Sure it's a rflink issue. ;)

Anyway, having the problem myself, and searching for a solution on the web, I found this thread.
So I thought, I'd share my workarround.
Might help for the time being until there is a fix.
You know, rflink team seems not very talkative... ;)

If they are busy with improving rflink, then better do not disturb them (further). =)

BTW, the values are

dec hex
0.2 0002
0.1 0001
0.0 0000
-0.1 83FF
-0.2 83FE

CU,
padrino
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest