Announcement

Collapse
No announcement yet.

Temperature trend?

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

    Temperature trend?

    Is there a way of calculating the temperature trend of a sensor with mcsTemperature and using it in event triggering?

    #2
    Personally I would guess that it would be a script polling the temperature data in the DB and deriving a new variable for said data like what you see in the trending mcsTemp pages. Unless maybe you can get the variable from mcsTemperature directly?
    - 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 20.04 / VB W7e Jetway JBC420U591
    Fanless IntelĀ® Celeron N3160 SoC 8Gb
    HS4 Pro - V4.1.18.1 - Ubuntu 20.04/VB W7e 64 bit Intel Kaby Lake CPU - 32Gb
    HSTouch on Intel tabletop tablets

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Smartthings hub, Hubitat Hub, and Home Assistant

    Comment


      #3
      Temperature trend could be interpreted in many ways. The short term trend is typically the rate of change such as what is provided with xapmcs1wire. A longer term trend is a moving average such as in a 200 day moving average. The points in the moving average could be the daily highs, lows, or some form of daily average. With so many different ways of looking at the data the natural way to do it is with a query of the database from a script such as Pete suggested.

      Comment

      Working...
      X