ILoveC4 Posted July 30, 2019 Share Posted July 30, 2019 Just having a chance to play around with integrating this with the TTS driver and I'm excited about the opportunities! I know someone mentioned it before, but is there a way to round the temperature to the nearest whole degree? It's kind of weird to hear that it's 88.99 degrees. LOL. Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted July 30, 2019 Author Share Posted July 30, 2019 Just released V7 which rounds temperature values and also includes the number of alerts in the full summary. ILoveC4 and JSTRONG 1 1 Quote Link to comment Share on other sites More sharing options...
JSTRONG Posted July 30, 2019 Share Posted July 30, 2019 Awesome! Thank you Quote Link to comment Share on other sites More sharing options...
dw886 Posted July 30, 2019 Share Posted July 30, 2019 11 hours ago, Shivam Paw said: Just released V7 which rounds temperature values and also includes the number of alerts in the full summary. Is the rounded temperature only in the High / Low values, and not in the Summary? I'm still seeing a precision of 2 decimal places in the Summary. Full Summary : The weather is currently Clear. There are currently 0 weather alerts. The weather for today is Partly cloudy throughout the day. There will be highs of 78.51 and lows of 58.58. The weather for the week ahead is, Light rain on Monday, with high temperatures rising to 87°F on Sunday. Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted July 30, 2019 Author Share Posted July 30, 2019 1 hour ago, dw886 said: Is the rounded temperature only in the High / Low values, and not in the Summary? I'm still seeing a precision of 2 decimal places in the Summary. Full Summary : The weather is currently Clear. There are currently 0 weather alerts. The weather for today is Partly cloudy throughout the day. There will be highs of 78.51 and lows of 58.58. The weather for the week ahead is, Light rain on Monday, with high temperatures rising to 87°F on Sunday. My bad...V8 (just released) fixes this... Quote Link to comment Share on other sites More sharing options...
eggzlot Posted August 28, 2019 Share Posted August 28, 2019 On 7/22/2019 at 6:09 PM, Shivam Paw said: Version 6 (uploaded now) has 4 new variables: Weather Now, Weather in 1 Hour, Weather in 2 Hours, Weather in 3 Hours The possible values for these variables are clear-day, clear-night, rain, snow, sleet, wind, fog, cloudy, partly-cloudy-day, or partly-cloudy-night. Just got around to getting this driver and want to test it prior to snowfall - I still have a few months! That said, how would I go about programming to get a text when say 1 of these variables changes? Weather in 3 hours When the variable weather in 3 hour changes Do I go to the Device Actions, pick Weather in 3 Hours and in the "is =" section in the text box write any of those parameters you list? for now the action will just be a simple text so I can test it out. So would I get text every 3 hours, or only if the status changes? Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted August 28, 2019 Author Share Posted August 28, 2019 1 hour ago, eggzlot said: Just got around to getting this driver and want to test it prior to snowfall - I still have a few months! That said, how would I go about programming to get a text when say 1 of these variables changes? Weather in 3 hours When the variable weather in 3 hour changes Do I go to the Device Actions, pick Weather in 3 Hours and in the "is =" section in the text box write any of those parameters you list? for now the action will just be a simple text so I can test it out. So would I get text every 3 hours, or only if the status changes? You would want to program using the "Weather Updated" event. Your programming would be: If weather in 3 hours equals snow AND CustomVariable_ShouldSendSnowText equals true then send text Set CustomVariable_ShouldSendSnowText equal to false Else Set CustomVariable_ShouldSendSnowText equal to true At least, I think that's how I'd do it. That way it will only send a text if the weather in 3 hours variable has changed. Quote Link to comment Share on other sites More sharing options...
eggzlot Posted August 28, 2019 Share Posted August 28, 2019 1 hour ago, Shivam Paw said: You would want to program using the "Weather Updated" event. Your programming would be: If weather in 3 hours equals snow AND CustomVariable_ShouldSendSnowText equals true then send text Set CustomVariable_ShouldSendSnowText equal to false Else Set CustomVariable_ShouldSendSnowText equal to true At least, I think that's how I'd do it. That way it will only send a text if the weather in 3 hours variable has changed. Great thanks - that will send me off on my ways to do some programming! msgreenf 1 Quote Link to comment Share on other sites More sharing options...
ILoveControl Posted August 30, 2019 Share Posted August 30, 2019 Looks awesome, from my perspective and would show case all the use cases (unless I am being dumb and didn’t read correctly), would be great to have the use cases setup all in one place like the driver setup doc. This would provide huge value for users and drive sales of other supporting drivers. Thank you for creating this! Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted September 1, 2019 Author Share Posted September 1, 2019 On 8/30/2019 at 8:24 AM, ILoveControl said: Looks awesome, from my perspective and would show case all the use cases (unless I am being dumb and didn’t read correctly), would be great to have the use cases setup all in one place like the driver setup doc. This would provide huge value for users and drive sales of other supporting drivers. Thank you for creating this! Yeah not a bad shout. Will focus on that for a future release Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted November 21, 2019 Share Posted November 21, 2019 Need some help getting this going Go to Agents – Announcements and create a new announcement with the rooms you want the announcement to play in. - DONE Check Play Audio File and for the audio file select the audio file which is shown in the driver properties. - DONE Go to Programming and find the driver event for Audio File Updated. When this event occurs, execute the announcement you just created. - DONE I think. This is located under programing--> text to speech --> when audio announcement has been updated --> execute announcement Morning Weather Should it be a generic "execute announcement Text to speech"? Otherwise if I program other announcements, when audio announcement had been updated, execute morning weather will always be called even if I'm trying to announce extreme weather. Or Do I use - set true/false...have all the announcements listed under audio announcement has been updated if Morning Weather true execute morning weather set morning weather false stop If Extreme Weather true execute extreme weather set extreme weather false stop Question number 2 - I'm not getting the text to show up like your example. PARAM1 instead of the actual text to be spoken Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted November 21, 2019 Author Share Posted November 21, 2019 28 minutes ago, ERDrPC said: Need some help getting this going Go to Agents – Announcements and create a new announcement with the rooms you want the announcement to play in. - DONE Check Play Audio File and for the audio file select the audio file which is shown in the driver properties. - DONE Go to Programming and find the driver event for Audio File Updated. When this event occurs, execute the announcement you just created. - DONE I think. This is located under programing--> text to speech --> when audio announcement has been updated --> execute announcement Morning Weather Should it be a generic "execute announcement Text to speech"? Otherwise if I program other announcements, when audio announcement had been updated, execute morning weather will always be called even if I'm trying to announce extreme weather. Or Do I use - set true/false...have all the announcements listed under audio announcement has been updated if Morning Weather true execute morning weather set morning weather false stop If Extreme Weather true execute extreme weather set extreme weather false stop Question number 2 - I'm not getting the text to show up like your example. PARAM1 instead of the actual text to be spoken On Step 3 you want to execute the announcement you created from step 1. In your macros you want to add the execute announcement command to the programming (see line 5 in the image below) As for the variable issue - you've done it incorrectly. You want to use the TTS driver command "Concatenate variable to text to speak" and then enter the proxy ID & variable name. The proxy ID can be found by hovering over the weather driver in system design. In the above image on line 3, proxy ID is 1112 and the variable name is Full Summary. Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted November 21, 2019 Share Posted November 21, 2019 So I am not seeing what you are showing. This is exactly what I have done and see. Maybe the driver was installed incorrectly? I have rebooted the controlled and refreshed the navigators Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted November 21, 2019 Share Posted November 21, 2019 The text i insert in the Text to speak actions doesn't appear as your examples Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted November 21, 2019 Share Posted November 21, 2019 I get "Concatenate 'PARAM1'" and not the text itself I put in the correct proxy id but the variable names are different from your example. I don't get Today Summary. I get Equipment Room->DarkSky Weather->Today summary My dealer who installed for me has never used either of the two drivers before and installed at my request. I'd be happy to let @Shivam Paw teamviewer in to my Comp HE session. I'm hoping it's a simple driver install error Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted November 21, 2019 Author Share Posted November 21, 2019 4 hours ago, ERDrPC said: I get "Concatenate 'PARAM1'" and not the text itself I put in the correct proxy id but the variable names are different from your example. I don't get Today Summary. I get Equipment Room->DarkSky Weather->Today summary My dealer who installed for me has never used either of the two drivers before and installed at my request. I'd be happy to let @Shivam Paw teamviewer in to my Comp HE session. I'm hoping it's a simple driver install error If you PM me I can show you on teamviewer where you’ve made mistakes South Africa C4 user 1 Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted November 21, 2019 Author Share Posted November 21, 2019 8 hours ago, ERDrPC said: I get "Concatenate 'PARAM1'" and not the text itself I put in the correct proxy id but the variable names are different from your example. I don't get Today Summary. I get Equipment Room->DarkSky Weather->Today summary My dealer who installed for me has never used either of the two drivers before and installed at my request. I'd be happy to let @Shivam Paw teamviewer in to my Comp HE session. I'm hoping it's a simple driver install error And if you have a look at the driver documentation or the use cases tab on the driver page: https://www.blackwiredesigns.com/store/control4-text-to-speech/ that should help. Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted November 21, 2019 Share Posted November 21, 2019 5 hours ago, Shivam Paw said: And if you have a look at the driver documentation or the use cases tab on the driver page: https://www.blackwiredesigns.com/store/control4-text-to-speech/ that should help. I thought I was following the documentation. Will PM Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted November 21, 2019 Share Posted November 21, 2019 Thanks Shivam!!! It's working now South Africa C4 user 1 Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted November 21, 2019 Share Posted November 21, 2019 On 8/28/2019 at 5:39 PM, Shivam Paw said: You would want to program using the "Weather Updated" event. Your programming would be: If weather in 3 hours equals snow AND CustomVariable_ShouldSendSnowText equals true then send text Set CustomVariable_ShouldSendSnowText equal to false Else Set CustomVariable_ShouldSendSnowText equal to true At least, I think that's how I'd do it. That way it will only send a text if the weather in 3 hours variable has changed. I'm trying to copy this. Using the event When the Weather has been updated...I go to the device actions for the dark sky driver, there are no conditionals listed. IE it is blank. I can't select if weather in 3 hours equals... Shivam found a bug as I'm on 2.10.6. I wonder if this is another bug Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted November 22, 2019 Author Share Posted November 22, 2019 On 11/21/2019 at 6:51 PM, ERDrPC said: I'm trying to copy this. Using the event When the Weather has been updated...I go to the device actions for the dark sky driver, there are no conditionals listed. IE it is blank. I can't select if weather in 3 hours equals... Shivam found a bug as I'm on 2.10.6. I wonder if this is another bug You are supposed to use the variables. Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted November 22, 2019 Share Posted November 22, 2019 Just figured it out. Thanks again Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted December 6, 2019 Share Posted December 6, 2019 Quick question - the same weather has been playing everyday. Ie "Good Morning, Its Nov 23...". I check the LUA output and it has the Nov 23 weather. I cleared it and fetched the current weather and it is now uptodate. I guess we will see tomorrow if it updates or not. Can anyone think of a reason why it kept playing the same weather daily? Quote Link to comment Share on other sites More sharing options...
Shivam Paw Posted December 6, 2019 Author Share Posted December 6, 2019 1 minute ago, ERDrPC said: Quick question - the same weather has been playing everyday. Ie "Good Morning, Its Nov 23...". I check the LUA output and it has the Nov 23 weather. I cleared it and fetched the current weather and it is now uptodate. I guess we will see tomorrow if it updates or not. Can anyone think of a reason why it kept playing the same weather daily? Afraid not. If it happens again then turn on debug and check the lua output to see what it shows when it automatically updates. (Consider setting the refresh time to 1 minute to see it quickly). Quote Link to comment Share on other sites More sharing options...
ERDrPC Posted December 9, 2019 Share Posted December 9, 2019 Will be testing tomorrow and let you know Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.