Announcement

Collapse
No announcement yet.

About decimals in device values

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

    About decimals in device values

    Is it configurable or does the plugin round the device values to the nearest integer by design?

    I see, for example, wind speed with a value of 2.2 in HS and what I get in ML is 2. If it is, say 2.6, I get 3.

    Is there any way to get the full value sent over the interface?

    Before with HS2 without decimals I knew I had to divide by 100 with MLMath in ML, but now the decimal part seems to be lost...

    Thanks
    HS3 Pro Edition 3.0.0.548| Plug-Ins Enabled: Sonos 3.1.0.57, RFXCOM 30.0.0.45, X10 3.0.0.62, IPThermostat 3.4.5.0, Pushover 3P 0.0.0.54, Blue-Iris 3.1.3.33206, Z-Wave 3.0.10.0, BLML2HS 2.0.28.0, mcsMQTT 6.12.4.0, Insteon 3.0.7.19​​ | Win 7 32-bit | Intel Atom D2550 @ 1.86GHz 4GB RAM

    #2
    I will check the code.
    Cheers,
    Bob
    Web site | Help Desk | Feature Requests | Message Board

    Comment


      #3
      Great, thanks! By the way, love the ability in this plugin to rename the variables being sent over to ML, one thing I really would have loved all those years with the MLHS plugin

      (before Krumpy takes offense, that plugin always worked very well for me for a long time!!)
      HS3 Pro Edition 3.0.0.548| Plug-Ins Enabled: Sonos 3.1.0.57, RFXCOM 30.0.0.45, X10 3.0.0.62, IPThermostat 3.4.5.0, Pushover 3P 0.0.0.54, Blue-Iris 3.1.3.33206, Z-Wave 3.0.10.0, BLML2HS 2.0.28.0, mcsMQTT 6.12.4.0, Insteon 3.0.7.19​​ | Win 7 32-bit | Intel Atom D2550 @ 1.86GHz 4GB RAM

      Comment


        #4
        Try 2.0.17 in the HS3 updater and let me know
        Cheers,
        Bob
        Web site | Help Desk | Feature Requests | Message Board

        Comment


          #5
          Wow, that was fast! Values now coming over with decimals, great!

          Thanks a lot
          HS3 Pro Edition 3.0.0.548| Plug-Ins Enabled: Sonos 3.1.0.57, RFXCOM 30.0.0.45, X10 3.0.0.62, IPThermostat 3.4.5.0, Pushover 3P 0.0.0.54, Blue-Iris 3.1.3.33206, Z-Wave 3.0.10.0, BLML2HS 2.0.28.0, mcsMQTT 6.12.4.0, Insteon 3.0.7.19​​ | Win 7 32-bit | Intel Atom D2550 @ 1.86GHz 4GB RAM

          Comment


            #6
            No problem
            Cheers,
            Bob
            Web site | Help Desk | Feature Requests | Message Board

            Comment

            Working...
            X