Announcement

Collapse
No announcement yet.

System restored, now problems

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

    System restored, now problems

    Guys - I hope you can help.

    I had to do a complete restore of my HS system from backups thankfully, and I cannot get 1-wire devices to update in HS.

    So, from the ground up...

    I am using XAPMCS1WIRE and xAP hub v1.2.1.6.

    The hub shows xapmcs1wire connected and all my 1 wire devices appear in the hub window, scrowling away as they update.

    Now, I did use the old MCS XAP conduit plugin, but chose to go for the new v2.2.0.3 mcsXAP plugin this time.

    When I run up the setup page, I can see all my devices, complete with the "A" - accepted already ticked, which I assume it has picked up from my previous config.

    Looking at the hub window, however, there is no entry for the HS mcsXAP plugin. I am assuming that it should appear in the hub (left hand) window just as the old version did?

    Now, looking in the hub right hand window, I am getting regular errors stating

    "Problem reading xAP message", with the full error text shown below. All message are the same cause.



    Error Message: Invalid name/value pairing. The length of the UID value is incorrect
    Message Line#: 5 - uid=FF.000E:00
    Received From: 10.0.1.1:4828

    xap-hbeat
    {
    v=13
    hop=1
    uid=FF.000E:00
    class=xap-hbeat.alive
    source=mcs.Xap.SPEEDY
    interval=60
    port=4590
    }

    The error that was generated is as follows:
    Problem reading xAP message.

    Source: xAPMessage
    Problem reading xAP message.
    Invalid name/value pairing
    The length of the UID value is incorrect.

    KCS.xAP.Framework.xAPMessageReaderException: Problem reading xAP message. ---> KCS.xAP.Framework.xAPInvalidMessageException: Invalid name/value pairing
    The length of the UID value is incorrect
    at KCS.xAP.Framework.Message.xAPMessageReader.ReadHeaderPair(xA PMessage message, String line)
    at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()
    --- End of inner exception stack trace ---
    at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()
    at KCS.xAP.Framework.Transport.xAPListener.OnReceive(IAsyncResu lt ar)


    Looking at the HS log, I am getting...

    21/12/2007 21:13:33 - mcsXap - xapASP FormatScreen Line 2930 Object reference not set to an instance of an object.


    Now, I did read earlier that there may be a problem with spaces in names... surely not!?!?!?[/I]

    So - what am I doing wrong?[/I]

    Should I go back to the old plugin?[/I]

    Thanks in advance for the help.[/I]

    David

    PS - I have around 26 1-wire devices all done through a HB hub.[/I][/I]
    Last edited by Bestgear; December 21, 2007, 04:12 PM.
    ---------------------------------------------------http://weather.penicuik.org

    #2
    Guys
    Fixed the problem after a while digging around.

    It seems that the new xap plugin requires a hub upgrade, so I got the xFx framework and hub and now all is well!

    Hope that helps someone...

    DJ
    ---------------------------------------------------http://weather.penicuik.org

    Comment


      #3
      Hi Folks

      Well, I thought all was well, but it seems that the XAPMCS1Wire is now erroring out into the hub. It sees all the 1 wire devices but the hub reports:

      "Message format problem: XXXX is not a valid UID"

      The xxxx is obviously the address of the 1wire device.

      I have downloaded the latest xapmcs1wire from Mike's website.

      Any ideas?


      DJ
      ---------------------------------------------------http://weather.penicuik.org

      Comment


        #4
        The message "Message format problem: XXXX is not a valid UID" should be associated with a specific message. What is the actual UID field for this message?

        From xapmcs1wire I will see a UID that is something like FF.0005:010A
        From mcsXap I will see a UID that is the same as your FF.000E:00

        xapmcsHub simply routes messages and does no protocol validation as is done by the xAP Framework hubs. The validation is useful to help achieve interoperabilty feedback information.

        Comment


          #5
          Hi - and thanks for the reply.

          The message states FF0005, followed by and ID that I assume comes from the "mac" address of the one wire device....

          I really thought this would be a version problem, much like I had before upgrading the hub...

          As I watch the 1-wire data monitor window scross with devices as they appear, the HUB winodw updatesinline with errors.

          DJ
          ---------------------------------------------------http://weather.penicuik.org

          Comment


            #6
            Here is the full error message from the Viewer....

            Error Message: FF00050058 is not a valid UID
            Message Line#: 5 - uid=FF00050058
            Received From: 127.0.0.1:3740
            xap-header
            {
            v=13
            hop=1
            uid=FF00050058
            class=xAPBSC.event
            source=mcs.OneWire.SPEEDY:xapmcs1Wire_.8F000000AA0B5C28.Temp erature
            }
            input.state
            {
            State=OFF
            DisplayText=<table><td><img alt='Temperature' src='/images/temperatures/23.gif' height='16' width='16'><img alt=' ' src='/images/sensors/blank3.gif'></td><td valign='middle' align='left'>23.6&#176;C</td></table>
            Text=23.625
            }
            ---------------------------------------------------http://weather.penicuik.org

            Comment


              #7
              Update....

              If I go back to the old xAP HubGUI V 1.2.1.6 - the message below appears - hope that helps!




              Error Message: Invalid name/value pairing. The length of the UID value is incorrect
              Message Line#: 5 - uid=FF00050070
              Received From: 10.0.1.1:32768
              xap-header
              {
              v=13
              hop=1
              uid=FF00050070
              class=xAPBSC.event
              source=mcs.OneWire.SPEEDY:xapmcs1Wire_.E2000000AA74DB28.Temp erature
              }
              input.state
              {
              State=OFF
              DisplayText=<table><td><img alt='Temperature' src='/images/temperatures/62.gif' height='16' width='16'><img alt=' ' src='/images/sensors/blank3.gif'></td><td valign='middle' align='left'>62.6&#176;C</td></table>
              Text=62.5625
              }
              The error that was generated is as follows:
              Problem reading xAP message.
              Source: xAPMessage
              Problem reading xAP message.
              Invalid name/value pairing
              The length of the UID value is incorrect.
              KCS.xAP.Framework.xAPMessageReaderException: Problem reading xAP message. ---> KCS.xAP.Framework.xAPInvalidMessageException: Invalid name/value pairing
              The length of the UID value is incorrect
              at KCS.xAP.Framework.Message.xAPMessageReader.ReadHeaderPair(xA PMessage message, String line)
              at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()
              --- End of inner exception stack trace ---
              at KCS.xAP.Framework.Message.xAPMessageReader.ReadMessage()
              at KCS.xAP.Framework.Transport.xAPListener.OnReceive(IAsyncResu lt ar)
              ---------------------------------------------------http://weather.penicuik.org

              Comment


                #8
                In the xapmcs1wire setup screen change the UID from
                FF000500
                to
                FF.0005:00

                Comment


                  #9
                  Michael - THANK YOU!

                  That fixed it - back running great!

                  Have a good xmas!

                  DJ
                  ---------------------------------------------------http://weather.penicuik.org

                  Comment

                  Working...
                  X