Giter Site home page Giter Site logo

Comments (12)

alalons avatar alalons commented on July 29, 2024 2

tested ok with real meter! great work

data captured with new version
S1;1;1;2021-02-02 18:21:26.000;0;20;74117991;0x30446532917911742a087a60000000046d2d13a222025ac30001fd0c06326cffff0dff5f0c0008233000c10613080bfef9

Data captured with im871a dongle
Received telegram from: 74117991
manufacturer: (LSE) Landis Staefa electronic (0x3265)
type: Heat Cost Allocator (0x08)
ver: 0x2a
device: im871a[00101517]
rssi: -97 dBm
driver: unknown!
telegram=||30446532917911742A087A60000000046D2D13A222025AC30001FD0C06326CFFFF0DFF5F0C0008233000C10613080BFEF9|+353

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on July 29, 2024

No, it's not implemented. I don't have ever seen a device with S1 mode implemented. Can you record a bitstream with devices inside?

from rtl-wmbus.

raritos avatar raritos commented on July 29, 2024

looks like S1 mode is the same as C/T mode, but the problem is C/T mode is 100k where as S1 is 32k, so i guess your iir filter needs to be tuned for 32k sampling.
i tried to get 868.30Mhz S1 devices thru your code, but looks like iir filter is broke with 32k sampling, since i think you tuned iir for 100k sampling , as you stated on your code, right?
if i can come up with iir filter for 32k sampling , looks like it will work, but i just guess :-)
What can i do to change your iir filter to accomodate 32k sampling.
BTW, i will get S1 bitstream

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on July 29, 2024

I suspect there is more of effort to invest into it. 32k sampling is just one thing; additonally you have

  • an another sync-pattern;
  • Manchester coding insead of NRZ. So you don't need the IIR filter for clock recovering.

If you have recorded a signal from your device, i can look into it.

from rtl-wmbus.

raritos avatar raritos commented on July 29, 2024

Thanx xael,
---sync-patern is no problem for you :-) you already get C/T frames with
const uint32_t ACCESS_CODE = 0b0101010101010000111101u;
for T1 frame n × (01) 0001110110 10010110 n ≥ 279 , you can catch it.
-- Manchester is no problem for you, i am sure.

I tried to get packages but even if i can catch frame start, trailing bits are not correct, thats why i stopped modifying your code.
you state,if i am not mistaken, that your iir filter is tuned for 100k sampling, where S1 frame is 32k, so i end up with wrong bits.

my devices have 16day rule from the start of a month, so for a couple of days, i will not be able to get any signal. after 2. of next month , i will get many samples for you to look into.
Thanx again.

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on July 29, 2024

You can easily recalculate bandpass filter coefficients I have used for clock recovering with Octave, see: https://github.com/xaelsouth/rtl-wmbus/blob/master/filter/bp_iir_cheb1_800kHz_90kHz_98Hz_102kHz_110kHz.m

Ws1 = 90e3/nyqistrate; % replace with (32768 - 10000)/nyqistrate
Wp1 = 98e3/nyqistrate; % replace with (32768 - 2000)/nyqistrate
Wp2 = 102e3/nyqistrate; % replace with (32768 + 2000)/nyqistrate
Ws2 = 110e3/nyqistrate; % replace with (32768 + 10000)/nyqistrate
Rp = 1; % leave it so
Rs = 40; % leave it so

Place new coefficients in the the function bp_iir_cheb1_800kHz_90kHz_98kHz_102kHz_110kHz(float sample).

Or better you create a new function named bp_iir_cheb1_800kHz_22kHz_30kHz_34kHz_42kHz(float sample) und use this instead of old one. Provide me with the patch if it works. But i would merge this after I have seen the bitstream and done some tests with that. Good luck! ;)

from rtl-wmbus.

alalons avatar alalons commented on July 29, 2024

I have a test emitter from qundis capable of sending s1 data every 2 minutes. It's used to place amr collection devices and test signal strength.
If you give me the modified code I can try it anytime.

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on July 29, 2024

Hello alalons,

could you record the signal for a period of about 2 or more minutes with

rtl_sdr s1_samples.bin -f 868.3M -s 1600000

and share s1_samples.bin to me?

from rtl-wmbus.

alalons avatar alalons commented on July 29, 2024

from rtl-wmbus.

alalons avatar alalons commented on July 29, 2024

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on July 29, 2024

checkout and test

from rtl-wmbus.

xaelsouth avatar xaelsouth commented on July 29, 2024

Thanks for response! Then I will close the issue.

from rtl-wmbus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.