Announcement

Collapse
No announcement yet.

Script Help

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

    Script Help

    My thermostat reports a 4-digit value to HS, say 6600. In reality, this temp is 66 degrees. In a script, how would I have it read the 6600 but speak it as 66?

    Dennis

    #2
    &hs.speak("The temperature is " & hs.devicevalue("#2") / 100 & " degrees")

    replacing your device as appropriate...

    Comment


      #3
      Thanks for the reply. I'll give it a try.

      Dennis

      Comment

      Working...
      X