• 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


RF Wireless no brand Temp Sensors
#1
Hello again,

I have two 433 Mhz temperature sensors marked as "RF Wireless" including receiver.

I don't know if somebody else uses them (they are a little bit older) but they transmit a bit sequence of the same signal characteristic as Alecto WS 1700, teknihall or iboutique.

   

The valid bit sequence is described by the time of the physicaly low signal. A low signal around 2 ms means logical 0 and a low signal length of around 4 ms means logical 1.

The raw stream includes 50 signal pulses.

Here the corresponding pilight-debug output:

Code:
pilight-debug: RF-Wireless 25,8°C
--[RESULTS]--
time:           Sat Aug 15 16:20:39 2015
hardware:       433gpio
pulse:          8
rawlen:         50
pulselen:       261

Raw code:
522 3915 522 3915 522 3915 522 3915 522 3915 522 3915 522 2088 522 2088 522 2088 522 3915 522 2088 522 2088 522 2088 522 4176 522 2088 522 2088 522 2088 522 2088 522 2088 522 2088 522 3915 522 2088 522 3915 522 2088 522 8874

and pilight-raw -L output:

Code:
Raw -L   25,8°C
433gpio:  996 3441 409 4028 458 4002 470 3985 475 4005 452 3993 405 2092 403 2077 423 2082 475 3981 494 2009 475 2008 432 2075 424 4059 402 2074 472 2022 477 2029 474 2032 410 2073 428 2081 418 4055 452 2037 466 3985 468 2037 410 8926 -#: 50

Transformation to groups of two pulse:

Code:
raw –L        debug raw

996 3441        522 3915
409 4028        522 3915
458 4002        522 3915
470 3985        522 3915
475 4005        522 3915
452 3993        522 3915
405 2092        522 2088
403 2077        522 2088
......

The first value represents the length of the electrical high signal and the second value the length of the electrical low signal. The bit state is implemented in the length of the low signals, so we can delete all high signal values. A signal length >= 3000 leads to logical 1 and a signal length < 3000 leads to a logical 0.

The shown raw streams leads to the following bit stream

Code:
1111110001 |  0  |  0  | 0100000010 |  1  |  0
      ID          Sign       Value    Bat   Tx

Temperature value is calculated as two’s complement, SignBit (Bit 11)

Sensor ID: 0 till 9 (ID = 1009)
Check Bit: 10
Sign Bit: 11 (0 = positive, 1 = negative)
Value: 12 (MSB, 2^9) till 21 (LSB, 2^0) (Value = 258)
Battery ok: 22
TX button: 23


Temp Value = (Value – (Sign Bit x 1024)) / 10 = 25.8 °C, [2^10 = 1024]

If Temp value is out of range (original receiver shows “HH.H”) then Check Bit and Sign Bit are not equal.

Changing battery will renew the ID value.

Changing battery or pressing TX button will set bit 23 for one transmission cycle.

I have prepared the following files (rfw.c, rfw.h, CMakeConfig.txt, CMakeExclude.txt, config.json ) and they are already running in my pilight application showing this gui page:

   

You can find the files here:


.zip   RFW-protocol.zip (Size: 6.25 KB / Downloads: 11)

If somebody has the same sensor please check the rfw protocol.

Smile
 
Reply
#2
Hello again,

I found out why the settings "temperature-offset" and "humidity-offset" does not work in this rfw protocol.

The attachment includes the new rfw.c file.

(see last tfa30 post)


.zip   rfw.zip (Size: 2.45 KB / Downloads: 5)
 
Reply
  


Possibly Related Threads...
Thread Author Replies Views Last Post
  inFactory Weather Sensors porst17 1 525 12-26-2019, 06:43 PM
Last Post: porst17
  Cent-a-meter CM113 Wireless Electricity Monitor Nikau 0 555 08-04-2019, 06:55 AM
Last Post: Nikau
  Bresser 3Ch weather sensors Harald654 13 6,432 02-15-2019, 01:06 PM
Last Post: saak2820
  SW-R01 / Geekbes Wireless Lights Switch gogosjon 0 671 10-13-2018, 05:29 PM
Last Post: gogosjon
  1byone Motion Sensors MorfelPi 4 2,117 01-30-2018, 10:42 PM
Last Post: maui
  TFA 30.3125 Temp Hum (TFA 31.3120.90 Temp) DonBernos 81 40,677 01-10-2017, 05:54 PM
Last Post: drobskind
  [Fully Supported] No-brand temp/humidity sensor (alecto_ws1700) meloen 57 41,511 12-25-2016, 09:53 PM
Last Post: creamers
  Cheap Wireless Soil Moisture Sensor dolapos 6 3,137 09-13-2016, 09:41 AM
Last Post: wo_rasp
  Freetec Temp/Humidity Sensor Fabrizio 28 12,889 04-05-2016, 06:22 PM
Last Post: wo_rasp
  Wireless PIR Sensor sfinx 4 2,766 03-02-2016, 03:17 PM
Last Post: sfinx

Forum Jump:


Browsing: 1 Guest(s)