Using AlarmState in Lightcontrol


#1

1) Give a description of the problem
I am tring to set up automated lights, that only rund when my Smartthings Homer Monitor is in State “Armed (Away)”. But is does not seem to work. Am I doing somethig wrong? I have double checked in the ST App, that the Status is actually “Armed(Away)”!

2) What is the expected behaviour?
If status is “Armed (Away)”, I would expect my lights to turn on and off

3) What is happening/not happening?
It does not recognize that the state of the Home Monitor is Armed(Away)

**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach logs after turning logging level to Full
7.2.2021, 00:33:59 +52ms
+0ms ╔Received event [My home].time = 1612654440000 with a delay of -948ms
+61ms ║RunTime Analysis CS > 18ms > PS > 6ms > PE > 37ms > CE
+64ms ║Runtime (39601 bytes) successfully initialized in 6ms (v0.3.110.20191009) (62ms)
+65ms ║╔Execution stage started
+106ms ║║Comparison (string) null is (string) away = false (1ms)
+107ms ║║Condition #12 evaluated false (18ms)
+108ms ║║Condition group #8 evaluated false (state did not change) (19ms)
+111ms ║╚Execution stage complete. (47ms)
+113ms ║Setting up scheduled job for Sun, Feb 7 2021 @ 4:20:00 PM CET (in 56760.835s), with 2 more jobs pending
+122ms ╚Event processed successfully (122ms)
6.2.2021, 16:19:59 +49ms
+0ms ╔Received event [My home].time = 1612624800000 with a delay of -952ms
+65ms ║RunTime Analysis CS > 17ms > PS > 5ms > PE > 43ms > CE
+67ms ║Runtime (39601 bytes) successfully initialized in 5ms (v0.3.110.20191009) (66ms)
+68ms ║╔Execution stage started
+107ms ║║Comparison (string) null is (string) away = false (1ms)
+109ms ║║Condition #10 evaluated false (7ms)
+110ms ║║Condition group #2 evaluated false (state did not change) (7ms)
+113ms ║╚Execution stage complete. (46ms)
+115ms ║Setting up scheduled job for Sun, Feb 7 2021 @ 12:34:00 AM CET (in 29640.837s), with 2 more jobs pending
+122ms ╚Event processed successfully (123ms)


#2

Smart Home Monitor no longer works. You have to use virtual switches to set STHM status. I’m away from my computer so just search the webcore/ST forums for instructions.

EDIT : Clear instructions on Virtual Switches for STHM?


#3

Thanks!