Announcement

Collapse
No announcement yet.

TTS Current weather

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

  • TTS Current weather

    I'm wondering what the variable (if there's one) would be to get TTS to speak to my google home the current outside temperature? I want it to say something like "welcome home, the time is $time, the current temperature is ______ outside". Is there a way to do this? I do have weatherxml also if it's easier using that plugin instead of the default HS weather.

  • #2
    you can use a replacement variable .

    First , go to http://YOUR_IP:PORT/setup

    then go to the ''custom'' tab, and select the '' Show Device Reference Number on Device Management Page (for developers)''.

    This will add the reference column to the hs device page.

    ----

    Next, depending if you temperature is a string or a value you will add this at this end of your tts message :

    String :
    Code:
    $$DTR:(ref):
    Value :
    Code:
    $$DVR:(ref):
    Remove the () and put the ref number of your device in like this $$DVR:812:


    So we got

    Code:
    welcome home, the time is $$time, the current temperature is $$DVR:812: degrees outside
    In your example you need to add one ''$'' to ''$time'' so you got ''$$time'' ( this is when the text is spoken)






    Attached Files

    Comment


    • #3
      Reference: pages 35-36 of the hs3 manual https://homeseer.com/support/homeseer/HS3/HS3Help.pdf

      Comment


      • #4
        Originally posted by MattL0 View Post
        you can use a replacement variable .

        First , go to http://YOUR_IP:PORT/setup

        then go to the ''custom'' tab, and select the '' Show Device Reference Number on Device Management Page (for developers)''.
        Sweet, thank you. Got it working great with the weatherxml plugin. And for the $time it seems to work fine like that. I've never needed to use $$time with tts..

        Comment


        • #5
          ha didn't know that thanks !

          Comment

          Working...
          X