I am trying to have my Samsung speaker play a URL track when a switch turns on.
//
/* Let’s Go Hawks */
//
/* Author : pmjoen /
/ Created : 8/27/2017, 7:17:47 PM /
/ Modified : 8/29/2017, 9:50:37 AM /
/ Build : 3 /
/ UI version : v0.2.0e5.20170812 */
/**************************************************************/
execute
if
Garage Siren Light’s switch changes to on
then
with
Garage Speaker
do
Play track https://s3.amazonaws.com/smartsounds/sport-fans-let-s-go-blackhawks-let-s-go.mp3 at volume 70;
end with;
end if;
end execute;
I receive the following in the logs:
+1ms ╔Received event [Garage Siren Light].switch = on with a delay of 60ms
+120ms ║RunTime Analysis CS > 19ms > PS > 79ms > PE > 22ms > CE
+426ms ║Runtime (35838 bytes) successfully initialized in 79ms (v0.2.0e5.20170812) (423ms)
+427ms ║╔Execution stage started
+448ms ║║Comparison (enum) on changes_to (string) on = true (1ms)
+450ms ║║Cancelling condition #3’s schedules…
+451ms ║║Condition #3 evaluated true (12ms)
+453ms ║║Cancelling condition #1’s schedules…
+454ms ║║Condition group #1 evaluated true (state changed) (16ms)
+458ms ║║Cancelling statement #2’s schedules…
+797ms ║║Error while executing physical command Garage Speaker.playTrack([https://s3.amazonaws.com/smartsounds/sport-fans-let-s-go-blackhawks-let-s-go.mp3, 70]): groovy.lang.MissingPropertyException: No such property: protocol for class: physicalgraph.device.HubMultiAction
+801ms ║║Executed [Garage Speaker].playTrack (332ms)
+806ms ║╚Execution stage complete. (379ms)
+814ms ╚Event processed successfully (814ms)
Please help…