• 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


Mimicing the Alecto WS4500
#1
I'm trying to replicate the Alecto-WX500 protocol.
In pilight-daemon -D i see 'possible alecto wx500 protocol' and 'parse raw'.
But somehow it does not like it.
Code:
433gpio: 2094    0110 1001 0100 0110 1100 1000 0110 1000 0100
433gpio: 944
433gpio: 8560    S
433gpio: 424
433gpio: 8994    S
433gpio: 472
433gpio: 8986    S
433gpio: 466
433gpio: 8983    S
433gpio: 475
433gpio: 2100    0
433gpio: 457
433gpio: 4041    1
433gpio: 428
433gpio: 4009    1
433gpio: 486
433gpio: 2085    0

433gpio: 474
433gpio: 4007    1
433gpio: 454
433gpio: 2106    0
433gpio: 670
433gpio: 1903    0
433gpio: 462
433gpio: 4054    1

433gpio: 375
433gpio: 2166    0
433gpio: 438
433gpio: 4038    1
433gpio: 451
433gpio: 2131    0
433gpio: 430
433gpio: 2141    0

433gpio: 425
433gpio: 2135    0
433gpio: 449
433gpio: 4072    1
433gpio: 393
433gpio: 4050    1
433gpio: 488
433gpio: 2082    0

433gpio: 450
433gpio: 4034    1
433gpio: 433
433gpio: 4044    1
433gpio: 432
433gpio: 2220    0
433gpio: 339
433gpio: 2170    0

433gpio: 415
433gpio: 4047    1
433gpio: 439
433gpio: 2139    0
433gpio: 510
433gpio: 2060    0
433gpio: 432
433gpio: 2139    0

433gpio: 427
433gpio: 2144    0
433gpio: 437
433gpio: 4068    1
433gpio: 398
433gpio: 4092    1
433gpio: 384
433gpio: 2143    0

433gpio: 441
433gpio: 4047    1
433gpio: 610
433gpio: 1958    0
433gpio: 433
433gpio: 2136    0
433gpio: 438
433gpio: 2148    0

433gpio: 415
433gpio: 2141    0
433gpio: 425
433gpio: 4051    1
433gpio: 441
433gpio: 2133    0
433gpio: 416
433gpio: 2138    0

433gpio: 556
433gpio: 8925    S
433gpio: 409
433gpio: 9033    S
433gpio: 436
433gpio: 9015    S
433gpio: 459
433gpio: 8980    S
433gpio: 480
433gpio: 2085    0
433gpio: 471
433gpio: 4014    1
433gpio: 487
433gpio: 4001    1
433gpio: 445
433gpio: 2116    0

433gpio: 456
433gpio: 4020    1
433gpio: 571
433gpio: 2003    0
433gpio: 438
433gpio: 2128    0
433gpio: 444
433gpio: 4043    1

433gpio: 434
433gpio: 2142    0
433gpio: 427
433gpio: 4050    1
433gpio: 435
433gpio: 2134    0
433gpio: 434
433gpio: 2132    0

433gpio: 434
433gpio: 2117    0
433gpio: 543
433gpio: 4004    1
433gpio: 380
433gpio: 4059    1
433gpio: 428
433gpio: 2142    0

433gpio: 427
433gpio: 4134    1
433gpio: 330
433gpio: 4137    1
433gpio: 358
433gpio: 2136    0
433gpio: 453
433gpio: 2129    0

433gpio: 516
433gpio: 3952    1
433gpio: 456
433gpio: 2129    0
433gpio: 439
433gpio: 2134    0
433gpio: 427
433gpio: 2151    0

433gpio: 432
433gpio: 2141    0
433gpio: 429
433gpio: 4037    1
433gpio: 437
433gpio: 4045    1
433gpio: 441
433gpio: 2121    0

433gpio: 529
433gpio: 3985    1
433gpio: 405
433gpio: 2140    0
433gpio: 426
433gpio: 2152    0
433gpio: 417
433gpio: 2195    0

433gpio: 378
433gpio: 2149    0
433gpio: 430
433gpio: 4045    1
433gpio: 426
433gpio: 2110    0
433gpio: 471
433gpio: 2195    0

433gpio: 357
433gpio: 9019    S
433gpio: 454
433gpio: 8985    S
433gpio: 498
433gpio: 8966    S
433gpio: 488
433gpio: 8965    S
433gpio: 490
433gpio: 2084    0
433gpio: 474
433gpio: 3999    1
433gpio: 467
433gpio: 4026    1
433gpio: 514    
433gpio: 2041    0

433gpio: 460
433gpio: 4030    1
433gpio: 455
433gpio: 2106    0
433gpio: 464
433gpio: 2113    0
433gpio: 435
433gpio: 4031    1

433gpio: 460
433gpio: 2120    0
433gpio: 437
433gpio: 4034    1
433gpio: 446
433gpio: 2119    0
433gpio: 450
433gpio: 2132    0

433gpio: 438
433gpio: 2135    0
433gpio: 423
433gpio: 4052    1
433gpio: 432
433gpio: 4117    1
433gpio: 345
433gpio: 2143    0

433gpio: 450
433gpio: 4026    1
433gpio: 446
433gpio: 4053    1
433gpio: 425
433gpio: 2413    0
433gpio: 330
433gpio: 1950    0

433gpio: 453
433gpio: 4065    1
433gpio: 401
433gpio: 2141    0
433gpio: 436
433gpio: 2144    0
433gpio: 412
433gpio: 2145    0

433gpio: 443
433gpio: 2119    0
433gpio: 569
433gpio: 3912    1
433gpio: 440
433gpio: 4063    1
433gpio: 400
433gpio: 2148    0

433gpio: 440
433gpio: 4034    1
433gpio: 441
433gpio: 2207    0
433gpio: 334
433gpio: 2151    0
433gpio: 442
433gpio: 2128    0

433gpio: 431
433gpio: 2144    0
433gpio: 430
433gpio: 4055    1
433gpio: 382
433gpio: 2178    0
433gpio: 428
433gpio: 2142    0
433gpio: 425
433gpio: 8996    S

It seems to miss the first repeat of the burst.
And seems not to decode the 0's and 1's as i can.

From git i find
Code:
//
// Protocol characteristics: SYNC bit: 526/8942, Logical 0: 526/1578, Logical 1: 526/3419
//
#define PULSE_MULTIPLIER    16
#define MIN_PULSE_LENGTH    235
#define AVG_PULSE_LENGTH    255
#define MAX_PULSE_LENGTH    275
#define ZERO_PULSE                2104
#define ONE_PULSE                    3945
#define AVG_PULSE                    (ZERO_PULSE+ONE_PULSE)/2
#define RAW_LENGTH                74


Correct me if i'm wrong.
- The pause time (between zero's and one's) is 2x pulse length
- So pulse length should be between 235 and 275. So pause times should be between 470-550
- The synch bit length is 16x pause length so between 7520-8800

Just trying to understand.
Because i'm trying to make a Digispark Attiny85 read temperature/humidity in the rooms of my house and would like to use pilight>Cron>Highcharts for trending.
 
Reply
#2
A small kick for my question above.
Can anybody help me out?
I would like to use the digispark (attiny85) in combination with ds18b20/DHT11 to monitor temperatures in my house. I also might try logging the central heating radiator temperatures and or centralheating input/output temperatures.
This so i can tweak my central heating so i can suffice with lower power setting thus more efficient.
 
Reply
#3
Maybe because it's not in the right place. This is not an Alecto question but rather an electronics one.
 
Reply
#4
Dear Curly. In my kick it might seem electronic related. But there is no electronic question.

My question is why isnt my protocol correctly interpreted by pilight. From debug is seems to be recognised as possible alecto wx500 but within the protocol it seems not te be accepted.

Possibly there is something wrong with my timing interpretation. That's why post contains questions regarding timing.

Please read my question posted on 24-8.
 
Reply
#5
I understand, but trying to mimic a device is not related to supporting the original device. That's why it's (not exactly) electronics (but we don't have a better place).
 
Reply
#6
ok. Thanks for your explanation.
Back to the question...
.. can you help me?
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)