• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register


Pearl weatherstation sensor for FWS-686 & FWS-665
#11
Okay, I've looked into the log you posted in hope for helping information. The signalduino-program, you used, considered the first 13 bits as the id, but at least my sensor changes bits 9 to 16 randomly with every telegram it sends. So your program puts out a different id with every telegram for every sensor and that is probably, why it mixed up all the sensors, when you had more of them.

For the pilight-code I could use a bit of help finding out, what the remaining bits mean. So I briefly summarise, what I think I already know, and what stays unclear:
Consider the following bit streams:
Code:
iiiiiiii?????????ttttttttttthhhhhhhhbbcc
00010000100010010110011101100100001100013 - 24.1°C 43%
00010000000110010110011101010100010100013 - 24.0°C 45%
0001000001??10100110011010110100010000013 - 23.5°C 44%
00010000011010100110011010110?00010000013 - 23.5°C 44%
00010000110010100110010111000100010000013 - 22.6°C 44%
00010000111110100110001101100100011100013 - 20.5°C 47%
00010000000010100110001101100100100000013 - 20.5°C 48%
00010000011010100110001110010100100000013 - 20.7°C 48%
00010000001110100110001110000100100000013 - 20.6°C 48%
00010000000010100110001101100100100000013 - 20.5°C 48%
00010000101010100110001101000100100000013 - 20.4°C 48%
00010000011010100110001110010100100000013 - 20.7°C 48%
00010000111110100110001101100100011100013 - 20.5°C 47%
00010111010110000110001000110100100100013 - 19.5°C 49%
00010111011010000110000110100101000000013 - 19.0°C 66.2°F 50%
00010111111110000110000111010101000100013 - 19.1°C 66.5°F 51%
00010111000010000110001000000101000000013 - 19.3°C 66.8°F 50%
00010111110010000110001001100101000100013 - 19.6°C 67.4°F 51%
00010111111110000110001010000101000100013 - 19.7°C 67.6°F 51%
00010111000010000110001010110101000100013 - 19.9°C 67.9°F 51%
00010111001010000110001011100101000100013 - 20.1°C 68.2°F 51%
00010111010100010110001110010101001000013 - 20.7°C 69.3°F 52%
iiiiiiii?????????ttttttttttthhhhhhhhbbcc
The first and last line show, what I think the corresponding bits represent.
i is for id, which changes, whenever you take out the batteries, but probably the first 4 bits 0001 stay the same all the time.
t represents the temperature in the following form: divide by ten and subtract 90 from it, then you have the temperature in Fahrenheit
h is the humidity in the following form: the first 4 bits represent the first digit of the humidity, the second 4 bits represent the second digit.
b is probably the battery status, 00 means battery ok
c is the channel, which you can change on the sender with a switch

What stays unclear are the bits marked by ?. Perhaps the last ? belongs already to the temperature, since it's 0 all the time. So there are 8 unknown bits. I assume they are some kind of checksum. So if anybody finds any relationship to some of the rest of the bits, we could work that out. I tried out some very simple algorithms like xor all the bits, but found no connection, so if anyone has a clue what kind of checksum you would usually use in such a case, that would help. For example, what checksum or hash algorithms use similar weather station sensors in pilight?
 
Reply
#12
Thanks for your explanation. I will stay with pilight, because the flamingo wireless power sockets from action will also work great. Smile

Your bit streams looks a little different than mine, I have one bit less:

Code:
0000010110000000011000110110010100100001 - 20.55C 52.00%
0000010111100000011000111001010100100001 - 20.72C 52.00%
0000010110110000011000111000010100100001 - 20.66C 52.00%
0000010110000000011000110110010100100001 - 20.55C 52.00%
0000010110000001011001011101011101110001 - 22.72C 77.00%
0000010101110001011011010101100101100001 - 29.38C 96.00%
0000010111110010011001111110100110010001 - 24.55C 99.00%
0000010100110010011001000110100110010001 - 21.44C 99.00%  <<
0000010100110010011001000110100110010001 - 21.44C 99.00%  <<

Your sensors also measure three things. In addition to temperature and humidity the air pressure.
My sensor does not measure the air pressure: https://www.pearl.de/a-HPM5797-3041.shtml?vid=910

Your Sensor:
https://www.pearl.de/a-NC3982-3041.shtml or
https://www.pearl.de/a-NC3982-3041.shtml

But that can't be it either, with mine sensor the bits change arbitrarily from 9 to 17 bits. But only if the temperature or humidity vary change.

If temperature and humidity remain the same across multiple measurements, the 9-17 bits remain the same: https://nopaste.xyz/?9fd535b98cf87131#oL...B6WU9j5Ggo=
 
Reply
#13
Hallo,

the protocol seems to be the same as in https://forum.pilight.org/showthread.php?tid=3340
Weatherstation ABE WS 1503 Bedienungsanleitung

Does your weatherstation looks like WS 1503?

Best regards,

Rschnauzer
[url=http://www.ade-germany.de/fileadmin/media/products/pdf/FW_Station_WS1502_1503_BDA_Komplett_WEB_V1_01.pdf][/url]
Raspberry B+  
Low-pass filter, Receiver RXB6, Sender I-XI
Version 7.0.178 (nightly version), Android App 6.0.4
 
Reply
#14
Hello,

did some measurements with scope and external power-source. Could lift some bits:

Bit 0 - 7: ID (refreshed on power cycle)
Bit 8 - 11: CRC? (no simple Nibble-Summing though)
Bit 12: Transmit botton (1) / Automatic send (0)
Bit 13: Battery, U < 2.50 V sets bit
Bit 14: Temp descending
Bit 15: Temp rising
Bit 16-27: Temp °F (as known)
Bit 28-35: Hum % (as known)
Bit 36-37: Always 00 - unkown
Bit 38-39: Channel (1-3)

Code:
IIIIIIII CRC? XB-+ TTTTTTTTTTTT HHHH HHHH ?? CC
00000001 0011 0000 011010100001 0011 0100 00 01: CH1 = 26,50°C, 34% RH  VDD= 3.00V
11110001 1100 0000 011010101101 0011 0110 00 10: CH2 = 27,17°C, 36% RH  ""
11110001 1110 0000 011010110010 0011 0111 00 11: CH3 = 27,44°C, 37% RH  ""
00011000 1000 0100 011010110110 0011 1000 00 01: CH1 = 27,66°C, 38% RH  VDD= 2.40V

I = ID, X=TXB B=BAT -=-dT +=+dT  T=Temp, H=Humidity CC

Regards,
42
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  [Fully Supported] KlikAanKlikUit Motion Sensor koen01 37 15,214 03-26-2020, 02:46 PM
Last Post: Gisto
  Digoo / Baldr / Nexus / Rubicson temperature/humidity sensor thielj 12 3,087 02-10-2020, 10:54 PM
Last Post: ha_username
  Support for Temperaturee sensor clona 4 470 02-10-2020, 02:52 PM
Last Post: clona
  gs-iwds07 window sensor Loggisch 48 17,348 12-09-2019, 07:14 PM
Last Post: curlymo
Lightbulb [Fully Supported] Kaku Door sensor (AMST-606) geerttttt 53 28,365 10-19-2019, 06:26 PM
Last Post: curlymo
  433MHz PIR sensor from Amazon ha_username 0 706 09-29-2019, 11:44 PM
Last Post: ha_username
  Weatherstation ADE WS 1503 Rschnauzer 5 2,288 01-19-2019, 07:53 PM
Last Post: Rschnauzer
  TFA 30.3160 Pool Sensor wseifert 4 1,479 05-30-2018, 09:24 AM
Last Post: wseifert
Lightbulb BH1750 i2c digital illuminance sensor marcm 14 4,885 02-25-2018, 08:40 PM
Last Post: morph027
  [Fully Supported] LM75 and LM76 temperature sensor horst_dieter 64 28,813 11-19-2017, 08:54 PM
Last Post: edepi

Forum Jump:


Browsing: 1 Guest(s)