Announcement

Collapse
No announcement yet.

XAP and RFXMeter

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    XAP and RFXMeter

    Hello Michael

    i have purhased a rfxMeter but isnt working in xap.

    I believe that it is a problem of parity.

    can you help me?

    Johann

    log of IO windows :

    1A3D10FB721630E75474 Not reported because no change
    09:13:39 | 30, 03, F3, 3A, BB, 01
    09:13:39 | 06 | Discarded Power because parity invalid | Discarding 03 while trying to sync on byte-count byte | Discarding F3 while trying to sync on byte-count byte | Discarding 3A while trying to sync on byte-count byte | Discarding BB while trying to sync on byte-count byte | Discarding 01 while trying to sync on byte-count byte | Discarding 06 while trying to sync on byte-count byte
    09:13:39 | 30, 03, F3, 3A, BB, 01
    09:13:39 | 06 | Discarded Power because parity invalid | Discarding 03 while trying to sync on byte-count byte | Discarding F3 while trying to sync on byte-count byte | Discarding 3A while trying to sync on byte-count byte | Discarding BB while trying to sync on byte-count byte | Discarding 01 while trying to sync on byte-count byte | Discarding 06 while trying to sync on byte-count byte
    09:13:39 | 30, 03, F3, 3A, BB, 01
    09:13:39 | 06 | Discarded Power because parity invalid | Discarding 03 while trying to sync on byte-count byte | Discarding F3 while trying to sync on byte-count byte | Discarding 3A while trying to sync on byte-count byte | Discarding BB while trying to sync on byte-count byte | Discarding 01 while trying to sync on byte-count byte | Discarding 06 while trying to sync on byte-count byte
    09:13:39 | 30, 03, F3, 3A, BB, 01, 06 | Discarded Power because parity invalid | Discarding 03 while trying to sync on byte-count byte | Discarding F3 while trying to sync on byte-count byte | Discarding 3A while trying to sync on byte-count byte | Discarding BB while trying to sync on byte-count byte | Discarding 01 while trying to sync on byte-count byte | Discarding 06 while trying to sync on byte-count byte
    09:13:48 | 50, 1A, 2D, 10, A3

    #2
    As best as I can see from your data stream the data packet being delivered by RFXPower is

    30, 03, F3, 3A, BB, 01, 06
    Bert's document identifies the first two bytes as the address with the following requirement that is causing your data to be discarded.

    2 bytes address. Byte 2 = byte 1 with the complement of the upper nibble (bit 7-4). This way max 256 power phases can be measured.
    The document also also indicates that 48 bits are expected. You appear to be getting 54.

    Bert provides a program that will show the byte stream received and how it is decoded. If you run this program and post the decoding for a typical reading you are receiving then I likely can make my software use the same decoding algorithm.

    Comment


      #3
      Hi Michael,

      the latest version of the RFreceiver program has a simulate option. When I entered the data it displayes an RFXMeter packet. (BTW 30hex = 48 decimal)
      Simulate: 3003F33ABB0106
      RFXMeter addr:03F3/1011 RFXMeter: 80571; RFXPower: 805,71 kWh; RFXPower-Module: 80,571 kWh bits=48

      The RFXMeter has the same packet layout as the RFXPower.
      The RFXMeter can have up to 3 RFXPwr modules and the only difference is that the RFXPwr module measures in steps of 1 Watt/Hr while the RFXPower measures in steps of 10W/Hr.
      e.g. if the RFXPower has a counter value of 1234 this means 12.34kWh and if the RFXMeter with an RFXPwr module has a counter value of 1234 this means 1.234kWh

      Bert

      Comment


        #4
        mm , bert is faster than me.
        here is output of RFreceiver :

        3028D89EFB000F RFXMeter addr:28D8/10456 RFXMeter: 40699; RFXPower: 406,99 kWh; RFXPower-Module: 40,699 kWh bits=48
        3028D89EFB000F RFXMeter addr:28D8/10456 RFXMeter: 40699; RFXPower: 406,99 kWh; RFXPower-Module: 40,699 kWh bits=48
        3028D89EFB000F RFXMeter addr:28D8/10456 RFXMeter: 40699; RFXPower: 406,99 kWh; RFXPower-Module: 40,699 kWh bits=48
        3028D89EFB000F RFXMeter addr:28D8/10456 RFXMeter: 40699; RFXPower: 406,99 kWh; RFXPower-Module: 40,699 kWh bits=48

        thx

        Comment


          #5
          Correction made in the parity calculation in V1.5.17. I also added a setup option to scale the counter to handle both type of wattage count. The default scaling is 1 so it will be watts or 10's of watts. Change it to 0.001 for KW as an example.

          Comment


            #6
            Wow, you r very fast !

            I will install now!

            Very Thanks at all !

            Johann

            Comment

            Working...
            X