Announcement

Collapse
No announcement yet.

Speaking numbers, etc

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

    Speaking numbers, etc

    Hi there,
    just wanted to ask a couple of questions:
    I can get the number to announce if it's first time, but the way that HS3 speaks is that it converts it to the actual speaking value.
    For example
    07123 12345
    would be announced as
    71 million, two hundred and 31 thousand, 3 hundred and 45.
    so, is there an easy way to script this to pad it?
    I tried using the replacement variables, but it won't take it within the script (using $$DTA:UltraCID3-Nmbr), it parses it into a ultracid3 and nmbr variables, which don't exist.

    The other question is how to trigger on number or name match without it being in the main caller ID DB.
    I'd like to create an event which triggers "if caller name = UNKNOWN then do something" or "if caller number matches partial number then do something", but the actual devices created only update the string, which you can only check via script.

    Is there a way of doing this?
    That or have the plugin update the value to be the string at the same time?

    #2
    Originally posted by Furious View Post
    Hi there,
    just wanted to ask a couple of questions:
    I can get the number to announce if it's first time, but the way that HS3 speaks is that it converts it to the actual speaking value.
    For example
    07123 12345
    would be announced as
    71 million, two hundred and 31 thousand, 3 hundred and 45.
    so, is there an easy way to script this to pad it?
    I tried using the replacement variables, but it won't take it within the script (using $$DTA:UltraCID3-Nmbr), it parses it into a ultracid3 and nmbr variables, which don't exist.

    The other question is how to trigger on number or name match without it being in the main caller ID DB.
    I'd like to create an event which triggers "if caller name = UNKNOWN then do something" or "if caller number matches partial number then do something", but the actual devices created only update the string, which you can only check via script.

    Is there a way of doing this?
    That or have the plugin update the value to be the string at the same time?
    For replacement variables, make sure you're using $$DTA:UltraCID3-Nmbr: (notice the ending ":")

    The Caller Number Formatting > 10 Digit Format in the options should format the number. What does the number format look like in the Caller Log and the Caller Details logs? Is it formatted like: (###) ###-####

    There currently isn't any triggers that allows you to trigger a HomeSeer event if the caller name == Unknown. I guess I have not had to think about that as the caller ID in the US includes the caller's name. I'll look at adding an event for regex matches for the caller number and caller name.

    Regards,
    Ultrajones
    Plug-ins: UltraMon, UltraM1G, UltraCID, Ultra1Wire, UltraLog, UltraWeatherBug, UltraPioneerAVR, UltraGCIR

    Comment


      #3
      Much appreciated - I'm currently trying to code a script that will do the below and trigger events based on conditions.
      Caller ID in the UK may do strange things like send the caller name as "withheld" and the corresponding number as "P", and would like to handle those with a different announce event than the normal "unknown" ones for new numbers.

      Comment

      Working...
      X