Announcement

Collapse
No announcement yet.

X10 ERROR (Ti103) "...Argument 'Start' must be greater than zero" [Resolved]

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

    #16
    Pete: thanks for offering to test but a CMA11a will not exhibit this behavior. The plugin uses completely different code to talk to the CM11a & Ti103 interfaces, and this issue is definitely in the Ti103 code.

    Ed: I should have a debug version posted later tonight or tomorrow, thanks for your patience.
    Best regards,
    -Mark-

    If you're not out on the edge, you're taking up too much room!
    Interested in 3D maps? Check out my company site: Solid Terrain Modeling

    Comment


      #17
      @ Mark, ACK; only have CM11A's, TW-523's and Volp's stuff here.
      - Pete

      Auto mator
      Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
      Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
      HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

      HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
      HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

      X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

      Comment


        #18
        Hi Ed, I have uploaded a new version to the plugin beta page located here: https://forums.homeseer.com/showthread.php?t=185551

        Please download v.46 and install according to the instructions on that page.

        When it errors again, please post the debug line(s) from the log file. These will look similar to the previous message but with additional info to aid in debugging. It will be helpful to have several of these log entries if they contain different info. If they are all the same then please let me know when you post.
        Best regards,
        -Mark-

        If you're not out on the edge, you're taking up too much room!
        Interested in 3D maps? Check out my company site: Solid Terrain Modeling

        Comment


          #19
          X10 Error

          Originally posted by mfisher View Post
          Hi Ed, I have uploaded a new version to the plugin beta page located here: https://forums.homeseer.com/showthread.php?t=185551

          Please download v.46 and install according to the instructions on that page.

          When it errors again, please post the debug line(s) from the log file. These will look similar to the previous message but with additional info to aid in debugging. It will be helpful to have several of these log entries if they contain different info. If they are all the same then please let me know when you post.
          Just saw this. Downloaded the beta and installed. Will post results. Thank you so very much for your quick response on this.

          Ed

          Comment


            #20
            X10 Error

            Originally posted by edwilloughby View Post
            Just saw this. Downloaded the beta and installed. Will post results. Thank you so very much for your quick response on this.

            Ed
            First Log entry

            Feb-07 11:35:40 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=System.Byte[]: Argument 'Start' must be greater than zero.

            Comment


              #21
              Thanks Ed, that is very helpful. I have just posted a tweaked variant of version 46. Please install v.46a (in HS3 it will still say v3.0.0.46) and post the erroneous log entry. It will be really helpful if you can post multiple entries so I can know whether the data is the same or different each time it errors. Thanks!
              Best regards,
              -Mark-

              If you're not out on the edge, you're taking up too much room!
              Interested in 3D maps? Check out my company site: Solid Terrain Modeling

              Comment


                #22
                X10 Error

                Originally posted by mfisher View Post
                Thanks Ed, that is very helpful. I have just posted a tweaked variant of version 46. Please install v.46a (in HS3 it will still say v3.0.0.46) and post the erroneous log entry. It will be really helpful if you can post multiple entries so I can know whether the data is the same or different each time it errors. Thanks!
                Just installed .46a

                Will keep you posted.

                Thanks
                Ed

                Comment


                  #23
                  X10 Error

                  Originally posted by edwilloughby View Post
                  Just installed .46a

                  Will keep you posted.

                  Thanks
                  Ed
                  Good Morning Mark. So here is the result of 46a

                  Feb-09 2:37:45 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=8, buf=[42-00-00-00-00-00-00-00]: Argument 'Start' must be greater than zero.

                  Feb-09 12:46:26 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.

                  Comment


                    #24
                    Thanks Ed, these are very helpful! Please post more as they occur so that I can see if there is a pattern. I have an idea of what is wrong but could use more data to be certain.
                    Best regards,
                    -Mark-

                    If you're not out on the edge, you're taking up too much room!
                    Interested in 3D maps? Check out my company site: Solid Terrain Modeling

                    Comment


                      #25
                      Originally posted by mfisher View Post
                      Thanks Ed, these are very helpful! Please post more as they occur so that I can see if there is a pattern. I have an idea of what is wrong but could use more data to be certain.
                      No Problem Thank you for your help.

                      Feb-09 1:08:56 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.

                      Feb-09 1:05:59 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.

                      Comment


                        #26
                        X10 Error

                        Feb-09 3:54:20 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.

                        Comment


                          #27
                          X10 Error

                          Looks like I missed copying this one

                          Feb-09 12:22:37 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=10, buf=[24-3C-32-38-30-30-21-34-42-23]: Argument 'Start' must be greater than zero.

                          Comment


                            #28
                            Originally posted by edwilloughby View Post
                            Looks like I missed copying this one

                            Feb-09 12:22:37 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=10, buf=[24-3C-32-38-30-30-21-34-42-23]: Argument 'Start' must be greater than zero.
                            Feb-09 6:02:08 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=2, buf=[42-23]: Argument 'Start' must be greater than zero.

                            Comment


                              #29
                              X10 Error

                              Quite a bit of activity last night!

                              Feb-09 8:00:18 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=2, buf=[42-23]: Argument 'Start' must be greater than zero.

                              Feb-09 9:51:14 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.

                              Feb-10 12:34:25 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=2, buf=[42-23]: Argument 'Start' must be greater than zero.
                              Feb-09 11:33:33 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=2, buf=[42-23]: Argument 'Start' must be greater than zero.
                              Feb-09 11:32:05 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=2, buf=[42-23]: Argument 'Start' must be greater than zero.
                              Feb-09 11:14:34 PM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=2, buf=[42-23]: Argument 'Start' must be greater than zero.

                              Feb-10 2:46:55 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.

                              Feb-10 4:49:29 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.
                              Feb-10 6:31:22 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.
                              Feb-10 6:03:04 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.

                              Feb-10 6:41:29 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=1, buf=[23]: Argument 'Start' must be greater than zero.

                              Feb-10 6:49:35 AM X10 ERROR Error in Ti103.MSComm1_OnComm() on line 170, c=0, buf.len=8, buf=[42-00-00-00-00-00-00-00]: Argument 'Start' must be greater than zero.

                              Hope something shows up in this.
                              Again, Thanks
                              Ed

                              Comment


                                #30
                                Thanks for the additional log entries, they are most helpful. I just posted v.46b, please install this version and post the resulting log entries.

                                It looks like something may have happened with a recent Windows update and/or the .Net library that is affecting how serial port data is being treated, and this debug version should help give better visibility into what's going on. Unfortunately I cannot get this to fail on my Win10 dev machine so I'll still need your help to continue testing.
                                Best regards,
                                -Mark-

                                If you're not out on the edge, you're taking up too much room!
                                Interested in 3D maps? Check out my company site: Solid Terrain Modeling

                                Comment

                                Working...
                                X