1) Give a description of the problem
How do I manually push a notification to LANNouncer?
2) What is the expected behavior?
Sound when a door is opened
3) What is happening/not happening?
According to the logs, everything is working, but LANNouncer seems to only alert once
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
1/3/2018, 2:39:32 PM +983ms
+2ms ╔Received event [Front Door].contact = open with a delay of 1059ms
+76ms ║RunTime Analysis CS > 14ms > PS > 44ms > PE > 18ms > CE
+85ms ║Runtime (36716 bytes) successfully initialized in 44ms (v0.2.0ff.20171129) (83ms)
+86ms ║╔Execution stage started
+100ms ║║Comparison (enum) open changes_to (string) open = true (2ms)
+101ms ║║Cancelling condition #4’s schedules…
+102ms ║║Condition #4 evaluated true (13ms)
+102ms ║║Cancelling condition #1’s schedules…
+103ms ║║Condition group #1 evaluated true (state changed) (15ms)
+104ms ║║Cancelling statement #2’s schedules…
+109ms ║║Skipped execution of physical command [null].siren([]) because it would make no change to the device. (2ms)
+110ms ║║Executed [Lannouncer].siren (3ms)
+111ms ║╚Execution stage complete. (26ms)
+200ms ╚Event processed successfully (200ms)
The code in the image appears to work. The logs show that when a door is opened (sensor set to “open”) it sends an alert to LANNouncer (Unknown Device 1 in the code).
Is it possible that instead of using the LANNouncer device in Smartthings, that I could just send a command directly to LANNouncer like with curl or something else?