Announcement

Collapse
No announcement yet.

Yet another quickview.asp question

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

    Yet another quickview.asp question

    I have 2 devices i would like to have show in quickview
    pool Temperature and Spa Temperature the problem is that the vaues don't always show up in homeseer status page. When the don't show they show status as "unknown". this is normal because the 2 devices are sharing 1 temperature sensor and is dependent at which water flow clows over the sensor wheter it is pool water or spa water. Does this make sense?

    so i am guessing i need to determine the hs.deviceValue before i stvr=hs.deviceString??

    How do I get the value?

    Second what is the syntax to put in the quickview.asp to report the value in degrees?
    is this correct?

    response.write "<tr>"
    response.write "<td class='tablerowodd' align='absmiddle' width='150'>Pool Temperature</td>"

    if hs.DeviceValue("[12") > 0 then
    strVar = "hs.DeviceString([12)"
    response.write "<td class='tablecellcustom' align='center' cellspacing='0' cellpadding='0'>"
    else
    strVar = "Unknown"
    end if
    response.write "<td class='tablecellcustom' align='center' cellspacing='0' cellpadding='0'>"
    response.write strVar & "</td></tr>
Working...
X