Announcement

Collapse
No announcement yet.

Announce sensor value

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

    Announce sensor value

    I created an event that runs when wind speed exceeds a set value. When the event condition is met I'd like to have an audio announcement say something like, "Weather Alert - high wind speeds of XX.X miles per hour."

    How can I pull the reported wind speed value into the audio announcement?

    -David

    #2
    Look in the help file for replacement variables.
    Mike____________________________________________________________ __________________
    HS3 Pro Edition 3.0.0.548, NUC i3

    HW: Stargate | NX8e | CAV6.6 | Squeezebox | PCS | WGL 800RF | RFXCOM | Vantage Pro | Green-Eye | Edgeport/8 | Way2Call | Ecobee3 | EtherRain | Ubiquiti

    Comment


      #3
      Originally posted by Uncle Michael View Post
      Look in the help file for replacement variables.
      What variable would be used for ID or Value or Status. I tried all the other variables but none worked. Thanks

      Here is what Windspeed child device has in NOAA.

      Click image for larger version

Name:	pic3.png
Views:	48
Size:	28.7 KB
ID:	1473848

      Comment


        #4
        I usually use device address for TTS. In HS4 the only wat to find the address - enable "Show Device Address on Device List Page"

        I.e. my Wind Speed address is "310316f102.windspeed". You can use either device Value, or Status for TTS:

        TTS string Speech
        By Value Wind: $$DVA:310316f102.windspeed: Wind 6.93450036
        By Status Wind: $$DSA:310316f102.windspeed: Wind 6.9 mph
        Click image for larger version

Name:	Screenshot 2021-05-12 081910.jpg
Views:	39
Size:	18.9 KB
ID:	1473863

        Comment


          #5
          Probably it's more convenient for TTS to use device value (without units) and add units in the TTS string itself, but then the value precision (number of decimal places) makes the TTS too long. I probably need to round the values for that.

          Comment


            #6
            Originally posted by cowinger View Post
            What variable would be used for ID or Value or Status. I tried all the other variables but none worked. Thanks
            I tried using device ref. and it also works

            $$DVR:9954:, $$DSR:9954:

            Comment


              #7
              alexbk66 Thanks for the help. The $$DSA one works great.

              Comment


                #8
                Great

                Comment

                Working...
                X