couin3 / RFLink

RFLink for ESP, with MQTT client
Other
72 stars 37 forks source link

Having problems identify Auriol HG00073-like sensor #41

Closed Dattel closed 3 years ago

Dattel commented 3 years ago

Hi there, first of all, thanks for the implementation. I'm wondering, if anyone can help me with my sensors.

I tested some other sample code from these page - it helps to analyze the RF-data sorting it by HIGH/LOW-Pulses and identifying the startcode-length

My first sensor fit's perfectly with the plugin_046 implementation... with the help of the upper mentioned analyser i gathered the following informations about the signal:

Start Bit L: 3890   H: 543 Data Bits: 36 L: 1928 918 1927 917 912 1923 1924 1933 913 923 914 921 916 926 922 928 1928 1927 1927 1934 1931 920 1929 1933 1923 1925 1928 1923 918 921 921 927 926 926 923 929 H: 542 541 540 543 548 545 545 540 548 538 546 537 544 539 536 538 540 538 545 533 537 540 538 540 547 542 542 541 545 540 538 543 533 535 538 542_

my conclusion: the datasets starts with a 3890us low-pulse?!? -a 1 bit is a about 1900us long LOW-Pulse -a 0 bit about 900us long LOW-Pulse -the HighPulses (all about ~540 us long) are the separators between the 1/0 bits

Now we are at the point, where my question starts: i have a second sensor, which also sends the same encoding - except the timings. These sensor is not recognized by the plugin_046.

Start Bit L: 8960   H: 640 Data Bits: 36 L: 1762 812 827 824 819 844 845 821 1823 820 859 1823 854 880 873 872 1847 1860 1847 869 890 883 882 881 1875 1878 1862 1856 898 904 887 885 905 899 894 895 H: 589 656 645 632 652 622 625 634 620 651 610 609 615 590 593 585 599 585 585 601 578 582 578 586 571 568 568 589 572 564 568 584 563 571 560 574

As you can see: the StartBit-length is doubled - the 0/1 bit times matches the AURIOLV2_PULSEMIN/AURIOLV2_PULSEMINMAX/AURIOLV2_PULSEMAXMIN/AURIOLV2_PULSEMAX definition

What changes are necessary, to readout these sensors??? Maybe it's only a change in the plugin_046 or a new plugin-implementation? it seems, that i am too stupid to fiddle it out by myself :-/

Depending on the ease of implementation for my second sensor, i have a third one (TCM97001) to contibute with a different dataformat - but also 36bit's.... But that's a job for later :-D

 

Dattel commented 3 years ago

okay, forget my question.. Problem solved by myself...

maybe it should be migrated:

Plugin_046.c ->

if ((type == 0) && (channel > 1))

changed to if ((type == 0) && (channel > 3))

that's because i can manually switch between 3 channels