Announcement

Collapse
No announcement yet.

Analog input problem

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

  • Analog input problem

    Hello,

    Sinds i've updated the plugin to the beta version 1.0.0.123, the analog inputs are showing an strange behavior.
    The analog value should be from 0 to 1024, but now the value is in 4 ranges from 0 - 255. Each time it reaches 255 is goes back to 0.
    What am i doing wrong??

  • #2
    No there is a bug in there I need to look at. I will post back when I have a fix.

    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


    • #3
      Just to add some more information:

      I updated my plugin and sketches yesterday (Plug in version = 1.0.0.124 / Sketch Version = 1.0.0.122, API Version = API1.0.0.118) and noticed a change in behavior of the analog ports. The behavior is consistent between A2 and A3 on the same board and between two different boards.

      A2 and A3 are defined as analog inputs with the following settings:
      Invert = Invert
      Sum = Value*100/1023
      Unit = %
      Dec places = 0
      Time in ms = 1000

      When I connect A2 and A3 to GND all inputs show 100% (as expected)
      When I connect A2 and A3 to +5V all inputs show 75% which is not correct, imho should read 0%

      I have several LDR's connected to the analog inputs and off course the readings are no longer reliable.

      The previous version of the plugin did not have this problem.

      Let me know if you need more background, more then happy to provide you with logs if needed.

      Comment


      • #4
        This is fixed in V1.0.0.126.

        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


        • #5
          Great news, does 126 alsi require a new sketch?

          Comment


          • #6
            Originally posted by fvhemert View Post
            Great news, does 126 alsi require a new sketch?
            yes it will as the problem was in the Sketch.

            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


            • #7
              I would recommend holding off on .126 for a bit as the boards do not seem to connect reliably.
              Randy Prade
              Aurora, CO
              Prades.net

              PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

              Comment


              • #8
                Originally posted by rprade View Post
                I would recommend holding off on .126 for a bit as the boards do not seem to connect reliably.
                .127 is tested and in the updater.

                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


                • #9
                  Originally posted by enigmatheatre View Post
                  .127 is tested and in the updater.

                  Greig.
                  Thank you. It is working perfectly. The analog inputs are accurate as tested with a calibrated power supply.
                  Randy Prade
                  Aurora, CO
                  Prades.net

                  PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

                  Comment


                  • #10
                    Its working

                    Tnx Greig,

                    You are doing a great job!!!
                    It is working perfectly.

                    Ron

                    Comment


                    • #11
                      Originally posted by Ron View Post
                      Tnx Greig,

                      You are doing a great job!!!
                      It is working perfectly.

                      Ron
                      +1.

                      Comment

                      Working...
                      X