[OBSOLETE] Sport Notifications SmartApp

Couple of updates for this weekend. NOTE: you need to update both the Sport Notifications and NHL Notification Service apps this time…

Sport Notifications v0.9.1:

  • Text notifications are now handled in Sport Notifications, the parent app.
  • Moved Ask Alexa and Speaker Notification functions to parent app.
  • Updated Ask Alexa code to support upcoming Ask Alexa update. Changes are backward compatible.
  • Added Gameday Info into the About section for each child app.

NHL Notification Service v0.9.7:

  • Sending text notifications removed and moved to parent app.
  • Fixed bug in text messages if game ends in overtime and opponent scores winning goal.
2 Likes

Thanks Eric! I appreciate you supporting the new features!!

1 Like

I have lightify strips behind my tv. The light was on blue during the cubs game. When the hawks scored it performed the red flashing as specified but after complete the light strip turned on white. It knew the previous state but not previous color.

Question … can you verify it happens if you manually trigger the goal? If so, can you provide a log of it happening?

I tried to sync up the goals with the lights last night. It’s pretty inconsistent. Have yet to hear it play the boos though.

There are several factors in the delays … some of it has to do with the service providing the score changes. The original scenario (the one I use) is not necessarily to sync with live TV (we rarely get to see the game on live TV at our house) but to turn on the goal light and play the Goal Horn after a score.

As for Boo’s … I do hear them (hopefully not too often :wink: so unsure why it is not working for you (I assume you do have the Boo enabled in the configuration under Goal Notifications).

Eric,

I’ll try to get logs on the led strip light today. I have the same issue as the other guy where I never hear boos. I have a Samsung speaker and wonder if he has the same. What speaker do you have

Jongo S3 as a DLNA speaker

And the only difference between playing Boos and the Horn is the URL used - so maybe the format of the sound file?

After the 1st goal I times how long it took for the lights to go off. I then paused the dvr that long. The next two goals worked but then the last goal, the lights went off before they scored haha. I was just bored and messing around with it.

1 Like

I’m not getting boos either it just plays my team’s goal horn again. Any chance of custom fields for the goal horns and boos then I can host the files locally which hopefully solve this and improve the lag between the lights and the horn starting

Here is the log for the LED strip on manual. It was blue before the manual trigger. It did the flashing and then turned back on white. Here is the logs (Sorry they are long as it flashes 15 times):

79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:44 AM: debug description is read attr - raw: 79250303000A01000020F6, dni: 7925, endpoint: 03, cluster: 0300, size: 0A, attrId: 0001, result: success, encoding: 20, value: f6
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:43 AM: debug description is read attr - raw: 792503030008010020F6, dni: 7925, endpoint: 03, cluster: 0300, size: 08, attrId: 0001, encoding: 20, value: f6
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:41 AM: debug color cluster updated successfully
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:41 AM: debug description is catchall: 0104 0300 03 01 0040 00 7925 00 00 0000 0B 01 0300
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:41 AM: debug description is read attr - raw: 792503030008000020AA, dni: 7925, endpoint: 03, cluster: 0300, size: 08, attrId: 0000, encoding: 20, value: aa
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:39 AM: debug description is read attr - raw: 792503030008000020D6, dni: 7925, endpoint: 03, cluster: 0300, size: 08, attrId: 0000, encoding: 20, value: d6
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:39 AM: debug description is read attr - raw: 792503030008000020FD, dni: 7925, endpoint: 03, cluster: 0300, size: 08, attrId: 0000, encoding: 20, value: fd
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:39 AM: debug color cluster updated successfully
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:39 AM: debug description is catchall: 0104 0300 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:37 AM: debug [raw:0104 0008 03 01 0040 00 7925 00 00 0000 0B 01 0400, profileId:0104, clusterId:0008, sourceEndpoint:03, destinationEndpoint:01, options:0040, messageType:00, dni:7925, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[04, 00], clusterInt:8, commandInt:11]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:37 AM: info DID NOT PARSE MESSAGE for description : catchall: 0104 0008 03 01 0040 00 7925 00 00 0000 0B 01 0400
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:37 AM: debug level updated successfully
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:37 AM: debug description is catchall: 0104 0008 03 01 0040 00 7925 00 00 0000 0B 01 0400
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:37 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:37 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:36 AM: trace setColor([hue:67, saturation:97, level:100])
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:36 AM: debug [name:level, value:100]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:36 AM: debug description is read attr - raw: 792503000808000020FE, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: fe
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:34 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:34 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:34 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:34 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:34 AM: debug [name:level, value:100]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:34 AM: debug description is read attr - raw: 792503000808000020FE, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: fe
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:32 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:32 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:31 AM: debug [name:level, value:4]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:31 AM: debug description is read attr - raw: 7925030008080000200A, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 0a
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:31 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:31 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:31 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:31 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:31 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:31 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:29 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:29 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:28 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:28 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:28 AM: debug [name:level, value:30]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:28 AM: debug description is read attr - raw: 7925030008080000204B, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 4b
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:28 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:28 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:28 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:28 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:26 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:26 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:25 AM: debug [name:level, value:34]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:25 AM: debug description is read attr - raw: 79250300080800002057, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 57
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:25 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:25 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:25 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:25 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:25 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:25 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:23 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:23 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:22 AM: debug [name:level, value:33]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:22 AM: debug description is read attr - raw: 79250300080800002054, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 54
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:22 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:22 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:22 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:22 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:22 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:22 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:20 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:20 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:19 AM: debug [name:level, value:26]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:19 AM: debug description is read attr - raw: 79250300080800002041, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 41
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:19 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:19 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:19 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:19 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:19 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:19 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:17 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:17 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:16 AM: debug [name:level, value:31]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:16 AM: debug description is read attr - raw: 79250300080800002050, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 50
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:16 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:16 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:16 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:16 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:16 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:16 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:13 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:13 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:13 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:13 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:13 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:13 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:13 AM: debug description is read attr - raw: 79250303000A01000020FE, dni: 7925, endpoint: 03, cluster: 0300, size: 0A, attrId: 0001, result: success, encoding: 20, value: fe
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:12 AM: debug description is read attr - raw: 792503030008010020FE, dni: 7925, endpoint: 03, cluster: 0300, size: 08, attrId: 0001, encoding: 20, value: fe
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:10 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:10 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:10 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:10 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:10 AM: debug description is read attr - raw: 792503030008010020F9, dni: 7925, endpoint: 03, cluster: 0300, size: 08, attrId: 0001, encoding: 20, value: f9
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:10 AM: debug color cluster updated successfully
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:10 AM: debug description is catchall: 0104 0300 03 01 0040 00 7925 00 00 0000 0B 01 0300
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:09 AM: debug description is read attr - raw: 792503030008000020FE, dni: 7925, endpoint: 03, cluster: 0300, size: 08, attrId: 0000, encoding: 20, value: fe
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:08 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:08 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug description is read attr - raw: 792503030008000020AB, dni: 7925, endpoint: 03, cluster: 0300, size: 08, attrId: 0000, encoding: 20, value: ab
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug color cluster updated successfully
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug description is catchall: 0104 0300 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug [name:level, value:22]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug description is read attr - raw: 79250300080800002038, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 38
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug [name:level, value:1]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug description is read attr - raw: 79250300080800002002, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: 02
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug description is on/off: 1
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:07 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:06 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:06 AM: debug description is on/off: 0
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:06 AM: debug [name:switch, value:off]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:06 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0000
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:06 AM: debug [name:level, value:99]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:06 AM: debug description is read attr - raw: 792503000808000020FC, dni: 7925, endpoint: 03, cluster: 0008, size: 08, attrId: 0000, encoding: 20, value: fc
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:05 AM: debug [name:switch, value:on]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:05 AM: debug description is catchall: 0104 0006 03 01 0040 00 7925 00 00 0000 0B 01 0100
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:05 AM: debug [raw:0104 0008 03 01 0040 00 7925 00 00 0000 0B 01 0400, profileId:0104, clusterId:0008, sourceEndpoint:03, destinationEndpoint:01, options:0040, messageType:00, dni:7925, isClusterSpecific:false, isManufacturerSpecific:false, manufacturerId:0000, command:0B, direction:01, data:[04, 00], clusterInt:8, commandInt:11]
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:05 AM: info DID NOT PARSE MESSAGE for description : catchall: 0104 0008 03 01 0040 00 7925 00 00 0000 0B 01 0400
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:05 AM: debug level updated successfully
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:05 AM: debug description is catchall: 0104 0008 03 01 0040 00 7925 00 00 0000 0B 01 0400
79f6ef31-377c-4afb-9d90-27cd037be0b8 9:38:05 AM: trace setColor([hue:100, saturation:100, level:100])

Can you also send the log for the NHL Service?

df21b33b-848a-4f48-bd54-c272ac46034b 11:30:09 AM: debug 79f6ef31-377c-4afb-9d90-27cd037be0b8 - turn light on
df21b33b-848a-4f48-bd54-c272ac46034b 11:30:09 AM: debug 79f6ef31-377c-4afb-9d90-27cd037be0b8 - restore light level = 100
df21b33b-848a-4f48-bd54-c272ac46034b 11:30:09 AM: debug 79f6ef31-377c-4afb-9d90-27cd037be0b8 - restore light color
df21b33b-848a-4f48-bd54-c272ac46034b 11:30:09 AM: debug restoring flash devices
df21b33b-848a-4f48-bd54-c272ac46034b 11:30:02 AM: debug Switch=30984220-cdf5-47f2-b1fb-d3820fb0d664 off
df21b33b-848a-4f48-bd54-c272ac46034b 11:30:02 AM: debug turn switches off
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:42 AM: debug Switch=30984220-cdf5-47f2-b1fb-d3820fb0d664 on
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug LAST ACTIVATED SET TO: 1491841778316
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug 79f6ef31-377c-4afb-9d90-27cd037be0b8 - new light level = 100
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug Switch off after 19500 msec
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug Switch on after 21000 msec
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug Switch off after 13500 msec
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug Switch off after 10500 msec
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug Switch on after 6000 msec
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug Switch off after 1500 msec
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug Switch on after 3000 msec
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug FLASHING 10 times
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug LAST ACTIVATED IS: 1491841704266
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug 79f6ef31-377c-4afb-9d90-27cd037be0b8 - new light color values = [hue:100, saturation:100, level:100]
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug save light color values
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug Goal notifications are OFF
df21b33b-848a-4f48-bd54-c272ac46034b 11:29:38 AM: debug GGGOOOAAALLL!!!

It seems to be restoring the light colors above … I’ll add some debug to see what the NHL service read and saved from the device prior to running the flash light routines.

Also I see it did executed both light and level restores … not sure both are required if the device supports color, I’ll try to prevent that as well.

Okay, I updated a version 0.9.8 … when you can, lets see what the log file shows.

I’m back at home and the manual trigger looks to be working. I’ll have to wait till Thursday.

1 Like

Okay, it was probably the setColor followed by the setLevel that was doing it … I suppose it might be possible that setLevel call returns it to a default color or something.

how do you do the manual trigger to test the lights? I can on see the switch to turn that team off and on though I get a error doing that.

292ea36e-49c3-47c5-90da-60f535b2e327  09:21:06: error caught exception 
java.lang.NullPointerException: Cannot invoke method call() on null object @ line 352
292ea36e-49c3-47c5-90da-60f535b2e327  09:21:06: debug Schedule game status checks for Maple 
Leafs NHL Notifications at 6:59:35 PM
292ea36e-49c3-47c5-90da-60f535b2e327  09:21:06: debug A game is scheduled for today - Toronto 
Maple Leafs vs Washington Capitals at 7:00:00 PM
292ea36e-49c3-47c5-90da-60f535b2e327  09:21:05: debug Determine if it is game day for team Maple 
Leafs, requesting game day schedule for 2017-04-13
292ea36e-49c3-47c5-90da-60f535b2e327  09:21:05: debug Maple Leafs NHL Notifications 
enabled=true
292ea36e-49c3-47c5-90da-60f535b2e327  09:21:05: debug Enabling Sport Notification

From the automations menu in smart things there is a play button to the right. selecting the play button will execute the application and trigger the sounds, lights, etc… (No boo testing thought).

1 Like