Page 1 of 1

Weather station GAL WS-1501 incorrectly shows negative temperatures.

Posted: Sunday 22 October 2017 13:06
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!

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

Posted: Sunday 17 February 2019 15:00
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

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

Posted: Sunday 17 February 2019 20:53
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?

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

Posted: Sunday 17 February 2019 22:14
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