Announcement

Collapse
No announcement yet.

1Wire Exception in ReceivedRom Value

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

  • 1Wire Exception in ReceivedRom Value

    Hi

    I have been seeing the following errors ever since I updated from V1.0.0.36

    Arduino Plugin Error = Exception in RecievedRom Value > -100 And Value < 150 : Conversion from string "4025505011002102161, value Error" to type 'Long' is not valid.
    Arduino Plugin Error = Rom = Parents Thermostat has an error

    Any ideas?

    I am running V1.0.0.124

    Thanks,
    GLW

  • #2
    This is the onewire rom not updating in time.

    Greig.
    Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
    X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
    Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
    Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
    Scripts =
    Various

    Comment


    • #3
      Hi Greig,

      I connected a new DS18B20 and I am still seeing this error.
      I also see that another user (GPrade) has opened a thread "Occasional errors with DS18B20" with the same issues I am having.

      Thanks,
      GLW

      Comment


      • #4
        This is just a timeout to say the rom has not updated within a given time. I maybe next to make this time user adjustable.

        Greig.

        Sent from my SM-G925F using Tapatalk
        Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
        X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
        Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
        Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
        Scripts =
        Various

        Comment


        • #5
          Originally posted by enigmatheatre View Post
          This is just a timeout to say the rom has not updated within a given time. I maybe next to make this time user adjustable.

          Greig.

          Sent from my SM-G925F using Tapatalk
          That would be a nice improvement. It would likely help stop the errors that Gary noted in his post. I have been using a 3.3k pull-up instead of 4.7k on all four of my boards, which seems to have stopped the errors.
          Randy Prade
          Aurora, CO
          Prades.net

          PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

          Comment


          • #6
            Originally posted by enigmatheatre View Post
            This is just a timeout to say the rom has not updated within a given time. I maybe next to make this time user adjustable.

            Greig.

            Sent from my SM-G925F using Tapatalk
            If you need more incentive , I've seen the plugin crash due to it's not being able to crunch the text ID into an integer (too long).

            Z

            From HS3 Log:
            Oct-31 12:52:35 PM Info Plugin Arduino Plugin has connected. IP:127.0.0.1:51652
            Oct-31 12:52:35 PM Warning I/O interface Arduino Plugin is down, executable is not running, restarting ...
            Oct-31 12:52:28 PM Error Calling HSEvent in plugin Arduino Plugin, Instance :Object reference not set to an instance of an object.
            Oct-31 12:52:28 PM Info Plugin Arduino Plugin with instance: has disconnected
            Oct-31 12:52:23 PM Z-Wave Device: Temperatures Shelter Front Door Temperature Set to 73.3 (F)
            Oct-31 12:48:23 PM Z-Wave Device: Temperatures Shelter Front Door Temperature Set to 73.2 (F)
            Oct-31 12:37:22 PM Arduino Plugin Error = Exception in RecievedRom Value > -100 And Value < 150 : Conversion from string "4014091040000128238, value Error" to type 'Long' is not valid.

            From HS3 Server Event log:
            Log Name: Application
            Source: .NET Runtime
            Date: 10/31/2016 12:52:23 PM
            Event ID: 1026
            Task Category: None
            Level: Error
            Keywords: Classic
            User: N/A
            Computer: SHELTERMONITOR2
            Description:
            Application: HSPI_Arduino.exe
            Framework Version: v4.0.30319
            Description: The process was terminated due to an unhandled exception.
            Exception Info: System.InvalidCastException
            Stack:
            at Microsoft.VisualBasic.CompilerServices.Conversions.ToLong(Sy stem.String)
            at Microsoft.VisualBasic.Conversion.Hex(System.Object)
            at HSPI_Arduino.Util.RecievedRom(System.String[])
            at HSPI_Arduino.Util+_Closure$__._Lambda$__R94-8(System.Object)
            at System.Threading.ThreadHelper.ThreadStart_Context(System.Obj ect)
            at System.Threading.ExecutionContext.RunInternal(System.Threadi ng.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
            at System.Threading.ExecutionContext.Run(System.Threading.Execu tionContext, System.Threading.ContextCallback, System.Object, Boolean)
            at System.Threading.ExecutionContext.Run(System.Threading.Execu tionContext, System.Threading.ContextCallback, System.Object)
            at System.Threading.ThreadHelper.ThreadStart(System.Object)

            Event Xml:
            <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
            <System>
            <Provider Name=".NET Runtime" />
            <EventID Qualifiers="0">1026</EventID>
            <Level>2</Level>
            <Task>0</Task>
            <Keywords>0x80000000000000</Keywords>
            <TimeCreated SystemTime="2016-10-31T16:52:23.000000000Z" />
            <EventRecordID>70137</EventRecordID>
            <Channel>Application</Channel>
            <Computer>SHELTERMONITOR2</Computer>
            <Security />
            </System>
            <EventData>
            <Data>Application: HSPI_Arduino.exe
            Framework Version: v4.0.30319
            Description: The process was terminated due to an unhandled exception.
            Exception Info: System.InvalidCastException
            Stack:
            at Microsoft.VisualBasic.CompilerServices.Conversions.ToLong(Sy stem.String)
            at Microsoft.VisualBasic.Conversion.Hex(System.Object)
            at HSPI_Arduino.Util.RecievedRom(System.String[])
            at HSPI_Arduino.Util+_Closure$__._Lambda$__R94-8(System.Object)
            at System.Threading.ThreadHelper.ThreadStart_Context(System.Obj ect)
            at System.Threading.ExecutionContext.RunInternal(System.Threadi ng.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
            at System.Threading.ExecutionContext.Run(System.Threading.Execu tionContext, System.Threading.ContextCallback, System.Object, Boolean)
            at System.Threading.ExecutionContext.Run(System.Threading.Execu tionContext, System.Threading.ContextCallback, System.Object)
            at System.Threading.ThreadHelper.ThreadStart(System.Object)
            </Data>
            </EventData>
            </Event>

            Comment


            • #7
              Try beta 1.0.0.131. Greig made the changes. There is a change in the way the plug-in evaluates if the device is updating as well as an error timeout parameter that defaults at 2 seconds. One of the two changes may stop your errors.
              Randy Prade
              Aurora, CO
              Prades.net

              PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

              Comment


              • #8
                Originally posted by rprade View Post
                Try beta 1.0.0.131. Greig made the changes. There is a change in the way the plug-in evaluates if the device is updating as well as an error timeout parameter that defaults at 2 seconds. One of the two changes may stop your errors.
                I'll do that, I'm sure it will help.
                I was primarily letting him know that he has an Exception that he's not handling in his code that terminates his plugin.

                Thanks,
                Z

                Comment


                • #9
                  Yep that's what was fixed.

                  Greig

                  Sent from my SM-G925F using Tapatalk
                  Zwave = Z-Stick, 3xHSM100� 7xACT ZDM230, 1xEverspring SM103, 2xACT HomePro ZRP210.
                  X10 = CM12U, 2xAM12, 1xAW10, 1 x TM13U, 1xMS13, 2xHR10, 2xSS13
                  Other Hardware = ADI Ocelot + secu16, Global Cache GC100, RFXtrx433, 3 x Foscams.
                  Plugings = RFXcom, ActiveBackup, Applied Digital Ocelot, BLDeviceMatrix, BLGarbage, BLLAN, Current Cost, Global Cache GC100,HSTouch Android, HSTouch Server, HSTouch Server Unlimited, NetCAM, PowerTrigger, SageWebcamXP, SqueezeBox, X10 CM11A/CM12U.
                  Scripts =
                  Various

                  Comment


                  • #10
                    Originally posted by enigmatheatre View Post
                    Yep that's what was fixed.

                    Greig

                    Sent from my SM-G925F using Tapatalk
                    Great, I'll try it out tonight.

                    Thanks,
                    Z

                    Comment

                    Working...
                    X