[DEPRECATED] NOAA Weather Alerts

It is for the @bptworld Watchdog App which enables notification of developer application/driver updates.

Aaron have everything installed, not getting any in your face errors and have it configured to TTS to my Alexa and I can't get it to talk to save myself. It says everything is selected including my TTS echo devices but no joy and you see the error below...

app:4832019-07-14 07:15:19.619 pm warnSpeech device(s) has not been selected.

dev:2572019-07-14 07:14:40.102 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:14:35.996 pm infoBreakfast One is on

app:3212019-07-14 07:14:34.860 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:14:34.785 pm infoMotion Breakfast Nook is active

dev:502019-07-14 07:14:23.128 pm infoOffice Motion battery is 100%

dev:2572019-07-14 07:13:46.812 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:13:42.169 pm infoBreakfast One is on

app:3212019-07-14 07:13:41.015 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:13:40.940 pm infoMotion Breakfast Nook is active

dev:2572019-07-14 07:13:32.933 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:13:28.755 pm infoBreakfast One is on

app:3212019-07-14 07:13:27.600 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:13:27.520 pm infoMotion Breakfast Nook is active

dev:2572019-07-14 07:13:05.776 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:13:00.830 pm infoBreakfast One is on

app:3212019-07-14 07:12:59.721 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:12:59.629 pm infoMotion Breakfast Nook is active

app:4832019-07-14 07:12:51.244 pm infoNo new alerts. Waiting 5 minutes before next poll...

dev:2572019-07-14 07:12:40.921 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:12:36.425 pm infoBreakfast One is on

app:3212019-07-14 07:12:35.253 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:12:35.150 pm infoMotion Breakfast Nook is active

dev:2572019-07-14 07:12:04.916 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:11:57.288 pm infoBreakfast One is on

app:3212019-07-14 07:11:56.141 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:11:56.052 pm infoMotion Breakfast Nook is active

app:4832019-07-14 07:11:36.254 pm warnDebug logging disabled.

dev:2572019-07-14 07:11:03.609 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:10:59.387 pm infoBreakfast One is on

app:3212019-07-14 07:10:58.249 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:10:58.156 pm infoMotion Breakfast Nook is active

dev:2572019-07-14 07:09:45.925 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:09:41.517 pm infoBreakfast One is on

app:3212019-07-14 07:09:40.383 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:09:40.301 pm infoMotion Breakfast Nook is active

dev:2572019-07-14 07:09:36.014 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:09:31.724 pm infoBreakfast One is on

app:3212019-07-14 07:09:30.590 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:09:30.486 pm infoMotion Breakfast Nook is active

app:4832019-07-14 07:07:51.904 pm infoNo new alerts. Waiting 5 minutes before next poll...

app:4832019-07-14 07:07:51.902 pm debugPolled weather API: Alert Sent Timestamp: '2019-07-12T16:59:00-04:00' Past Alert Timestamp: '2019-07-12T16:59:00-04:00'

app:4832019-07-14 07:07:51.897 pm debugBuilding alert variables.

app:4832019-07-14 07:07:45.152 pm debugURI: https://api.weather.gov/alerts?point=27.842700%2C-82.644800&status=actual&message_type=alert&urgency=immediate&severity=moderate,severe&certainty=possible,likely&code=CFA,CFW,FLA,FLW,HUA,HUW,SVR,SMW,SSA,SSW,TOA,TOR,TRA

app:4832019-07-14 07:07:45.133 pm debugConnecting to weather.gov service.

app:4832019-07-14 07:07:45.131 pm debugRestrictions on? Modes: false, Switch: false

dev:2572019-07-14 07:07:38.305 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:07:33.839 pm infoBreakfast One is on

app:3212019-07-14 07:07:32.679 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:07:32.592 pm infoMotion Breakfast Nook is active

dev:2572019-07-14 07:06:48.084 pm infoMotion Breakfast Nook is inactive

dev:2892019-07-14 07:06:44.049 pm infoBreakfast One is on

app:3212019-07-14 07:06:42.916 pm infoBreakfast Auto Lights Turn On

dev:2572019-07-14 07:06:42.808 pm infoMotion Breakfast Nook is active

dev:992019-07-14 07:06:17.779 pm infoMotion Master Bedroom battery is 61%

dev:2572019-07-14 07:05:20.322 pm infoMotion Breakfast Nook is inactive

app:4822019-07-14 07:05:18.818 pm debugCommand = [uri:https://pitangui.amazon.com/api/behaviors/preview, headers:[Cookie:x-amzn-dat-gui-client-v=1.24.206194.0; ubid-main=131-2984361-3765106; s_nr=1552223824690-Repeat; s_vnum=1979052754256%26vn%3D2; s_dslv=1552223824696; session-id=138-8899570-4838316; lc-main=en_US; x-wl-uid=1ZQCYn1YndPShphIO6FnFnZV6o2MS+rGB99A5B284mJ0M/9usVzW0wobMYB1W/UvOI53+TfSk4j+rzgCe/dw6pN5l/WYGLFImq09xftMGVCNT/HLvLO973kJng0OTq1gpguUzJsuYoxk=; sst-main=Sst1|PQFELaLJCP8e725P84QbORYVCwLGNymhsAnqUMHL241_YmixziwB-Fwo3Yj6DlXObFU-kAwW8Y80AMv3DkaLvMHwbyHzfpO3BIv8ik7FTzcmWbNfrpv5L-B7ezKDAMrJGkqoY4aqpocwbnZykhNn39cGvq0PPtkL4Xpq-J9VmprhEGp7H-zjB_o2PMyEfLGa40Xd_lO75WGeqgfcaCapEpucLE7TkzEoIM2WZOoiKuGO-2se0BwQCZJdksHRbqYCLcdi5V2qArO5gR99_uAmkNWe3VAIcEcf7j-E25oQEm78mhdh4F_oQ_evrslOLCOtFeQbR-3j_kHdY6al3yP_Eda2vg; i18n-prefs=USD; session-id-time=2082787201l; skin=noskin; session-token=vQdEmnl41TGMamg4v5F3G0y5lqBvV5OR2lZ95t+ZdjK8XH9k4gPsiNsMR1jafuxizCxAisuImJI6CZ6Tfs6rB0Pa4wZaxwxWyVInty2Wp8/JK31d66Mc6vu1I0vGH3f6POlht8ikUr7lILOV9eBvTG/PccFzP65T8HZcwUBidnahmdSAl6MEgAq29YZpnZmize/6tbxG9+iQMD+9HY5yZnLORhJScC+2aOVK47WYgnuET0i8KRf8iMt6Uz6leORIRdYvE8j4Q+DR8SsAKMIEFJIR82eAN7E9; x-main=69UTnXialY5M65e4EQU3Yz5eFiwtAlJZ9afsJiTaxZ1oWQzARdGevAy4PlYAfV51; at-main=Atza|IwEBIPinyDBWKMIYRw09iwKc99XRe3JN7BOIBhOPFPGaliS47lwgnoP0RdyY71CZ2rIq3Ug9uuzi_TC_bP6q1myKFHHYjETrYlVqO0PJGAfT_mD0Aqw7yui7GDCQ59W07Vxqd5d8PPbfdnoup-1B35Gmdobs4R7Q8m8JowGbEgPo8Jun_lWZ2q0CrFcmu3lSAEFZsvWnUZibuO-5WaxSSrF4_bSQxY9UtNd6Z1w-Qiy7IHraC8zY6IaO0fHDOT8Yjpm8Pks4SycX1uXV6crWC9aTKwWGBPP29Y-twmNJKIo8pMlswlHBj-tQPWYp7vFnL4i-aFPQtNINbqwXE_9WmJr-f4iZ1iJCLuAT21iaczxfIbMS0YvF0r2EdH1gedBmsQOEhbHPI5RbjdO-1dpMy5sJEuDB; sess-at-main="iFAK458aMsN5sy7qxmpKrxcSFt03aL+d3UYYXOL+9xw="; csrf=51961318;, Referer:https://alexa.amazon.com/spa/index.html, Origin:https://alexa.amazon.com, csrf:51961318, Connection:keep-alive, DNT:1], contentType:text/plain, body:{"behaviorId":"PREVIEW","sequenceJson":"{"@type":"com.amazon.alexa.behaviors.model.Sequence","startNode":{"@type":"com.amazon.alexa.behaviors.model.OpaquePayloadOperationNode","type":"Alexa.Speak","operationPayload":{"deviceType":"A1NL4BVLQ4L3N3","deviceSerialNumber":"G000MW04746607EQ","locale":"en-US","customerId":"A10UM6DGIKA52H","textToSpeak":"Tampa Bay waters, Coastal waters from Tarpon Springs to Suwannee River FL out 20 NM, Waters from Englewood to Tarpon Springs FL out 20 to 60 NM and Coastal waters from Englewood to Tarpon Springs FL out 20 NM"}}}","status":"ENABLED"}]

app:4822019-07-14 07:05:18.802 pm debugSending 'Tampa Bay waters, Coastal waters from Tarpon Springs to Suwannee River FL out 20 NM, Waters from Englewood to Tarpon Springs FL out 20 to 60 NM and Coastal waters from Englewood to Tarpon Springs FL out 20 NM' to 'Gary's Echo Show'

dev:5822019-07-14 07:05:18.766 pm infovchild received infoGary's Echo Show

Here are my TTS devices selected in your app as well...

[AlexaTTS Container

(AlexaTTS-Container)
](http://192.168.0.38/device/edit/582)

AlexaTTS Gary's Car 2
(Child Alexa TTS)

AlexaTTS Gary's Car Dot
(Child Alexa TTS)

AlexaTTS Gary's Echo
(Child Alexa TTS)

AlexaTTS Gary's Echo Show
(Child Alexa TTS)
|Virtual Container

Child Alexa TTS

Child Alexa TTS

Child Alexa TTS

Child Alexa TTS|User

User

User

User

User|AlexaTTS482

VS-AlexaTTS482-4

VS-AlexaTTS482-2

VS-AlexaTTS482-1

VS-AlexaTTS482-3|

Yet nothing out of any of them and I get the error that no TTS devices selected even though they are....sorry for the long post.

How are you connecting your echo devices? Are you using Echo Speaks? If so you want to select Echo Speak devices (your echos). Is you are using Alexa TTS then I apparently have an issue with sending the correct command. :confused:

Sorry bro but I'm using Alexa TTS. I tried with Echo speaks but it doesnt see the devices whereas it does see them in Alex TTS it just doesnt send anything to them.

If you look at the error logs its as if your app doesnt see the echo boxes even though the app config sees them and allows you to select them just fine....you get the error TTS Device Not Found in the logs.

I am on vacation this week but will look into this when I get back next week.

@gary3

2.3.2 - fixed issues with Alexa TTS Speech devices not working

Awesome thank you sir testing it now....

1 Like

Okay it appears to pass the test msg now so we wait until this afternoons barrage of storms. One thing I noticed however....The option within the App to toggle a switch (or another alarm device) as well when enabled seems to break the spoken test msg....you get the alarm alert but nothing comes through the Echo devices....the minute you turn the option off the speech begins again....sorry to keep breaking your stuff man..not my intent..hopefully this helps someone else as well. My use is this...first the alarm goes off and then she begins speaking....

So that would only occur IF you set restrictions when using a switch. You do not want the alert switch and the restrictions switch to be the same.

Alert switch - just turns on a switch you define. Some people want that to be a virtual switch or a physical switch. This enables you to do other automations with RM such as flash lights, turn off music that is playing, etc.

Switch to restrict notifications - I personally do not use this BUT many do use switches to deactivate apps/rules. I usually would use my modes (early morning, day, evening, night, sleep, away) to restrict notifications. You should use a different virtual switch for this option.

If you are using the same switch for both options in your configuration than the outcome you are experiencing would be correct.

Hope this makes sense?

@aaron Two questions:

  1. Why does the voice speed up when it announces. Right after it states which counties are involved the voice goes into overdrive and talks real fast then it slows back down in the end? It has been doing that from the beginning.

  2. Why all of a sudden is it announcing the alert 6 times instead of just the 2 as it did before. I haven't changed anything?

EDIT: I just noticed that when the text in the alert becomes all caps that the voice speeds up. Then when it gets down to where it announces the cities (still all caps) it slows back down. Weird.

@razorwing Can you PM me one of your alerts? The NOAA alerts are different for each area as it is humans entering the information into the alerting system. So this means every alert is slightly different than other areas. Hence why I have not experienced this issue yet. BUT I want to take an alert you have received and see how I can modify the messages for those potential differences and create a standard.

@aaron I will have to wait for another alert. I deleted the messages on my phone and the one on your app goes away after 30 min. I will be in contact.

@razorwing The most recent alert might be available in the test button in the app.

2.3.3 - fixed repeat issues, fixed fast TTS speak issues due to capitalization of alerts

  • 2.3.5 - removed repeat functionality option until it can be rewritten
  • 2.3.4 - fixed bug with repeats (again)

I need to remove repeat until I can code this differently.

@razorwing

  • 2.3.6 - fixed repeat capabilities (thx to Cobra for guidance) and added # of repeats as new functionality, cleaned up more code, added pushover conditions based on times repeating and character count

I just copied the latest 2.3.6 and after opening the app and making sure everything still correct and hitting "done" I get the following error.

After running several minutes I don't see anymore errors it only happened with the above statement hitting done in the app.

I see the error. It only happens on first initialization of the app. Should be fine afterwards. I will add a try/catch to remove errors in next minor version.

Thank you for reporting. :grin:

1 Like

@aaron I loaded the new and I didn't get any errors in the log. There are 2 things I noticed.

  1. I set the repeat to 10 min. but it repeated in 20 min.
  2. Once the announcement is over I noticed the speakers are stuck in Playing and never return to Idle. I have chromecast Audios for these speakers. If you run a test speech to them they return to Idle.