Announcement

Collapse
No announcement yet.

Number of decimals resetting

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

  • Number of decimals resetting

    For my Xiaomi temperature/humid sensors, I’ve changed the number of decimals to show from 2 to 1 in “status graphics”. But after a restart of JH/HomeSeer, the settings are reverted back to 2 decimals again. Is this expected behavior? How can I avoid this?

  • #2
    Yes, this is expected behavior as with each restart the plugin has to check if the setting Celcius or Farenheit has changed. This causes the decimals to be reset with the start. Will check if I could change that behaviour....
    -- Wim

    Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
    650 devices ---- 336 events ----- 40 scripts

    Comment


    • #3
      Originally posted by w.vuyk View Post
      Will check if I could change that behaviour....
      For me, a setting in the plugin config like “Number of decimals for temperature sensors” would be enough.

      Comment


      • #4
        I have just submitted release 2.0.3.2 to HST, which has now the ability to set the number of decimals for temperature and Humidity values. Remember to use rebuild device values for sensors after setting, so it will also change exisiting devices!

        Wim
        -- Wim

        Plugins:RFXCOM, HSTouch Server, Squeezebox, BLGData, Restart, Jon00's Perfmon and Network monitor, WeatherXML, BLBackup, TenScripting, BC4, Pushover, PHLocation, JowiHue, Zwave, Sonos
        650 devices ---- 336 events ----- 40 scripts

        Comment

        Working...
        X