Pushing notifications to LANNouncer


#1

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 pistonimage

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?


#2

Do you know of an endpoint url for LANNouncer?


#3

Based on this URL: http://www.keybounce.com/lannouncer/commands/ You can send it commands via Curl for instance. Beyond that, I’m afraid, I don’t know.


#4

Try making a web request with those cURL addresses


#5

Looks like @pcgirl65 might be doing this