[SOLVED] Here We Go Again with HSM

I got the following in the logs this AM.
app:6222019-04-03 07:09:18.545 am infoBasement Water Valve Closed by HSM: cabhome hsmAlert intrusion-night

dev:8252019-04-03 07:09:18.264 am errororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '100' with class 'java.lang.String' to class 'java.lang.Number' on line 81 (setLevel)

dev:8242019-04-03 07:09:18.195 am errororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '100' with class 'java.lang.String' to class 'java.lang.Number' on line 81 (setLevel)

dev:10062019-04-03 07:09:17.904 am infoLiving Room Lights colorMode is RGB

dev:10062019-04-03 07:09:17.903 am infoLiving Room Lights colorName was set to Chartreuse

dev:10062019-04-03 07:09:17.764 am infoLiving Room Lights switch was set to on

dev:10062019-04-03 07:09:17.756 am infoLiving Room Lights level was set to 100%

dev:10062019-04-03 07:09:17.552 am infoLiving Room Lights switch was set to on

app:13042019-04-03 07:09:17.375 am warnAlert Intrusion-Night Lndry Door Sensor open

The Mode Manager says it is in the Day Mode. But yet when we went out the laundry room door it triggered the Alert Intrusion-Night. As you can see it was after 7AM when the door was opened.

Again, why is HSM not changing with Mode Manager?? When Mode Manager switches to Day Mode shouldn't Night Mode be automatically disabled?

This is probably unrelated to your question, but which driver is this device using?

The cast error was in the generic smart dimmer, this has been fixed in 2.0.9

It is the LIFX White driver.

Ok, I have removed HSM altogether and re-installed. I set up Away and the others but No Night or Home. I do not see a selection anywhere for the Presence sensors to be added as a device to set HSM to Away when leaving or back to Time when Arriving.

Because HSM doesn't have arming options based upon presence. For that, you need Mode Manager.

Maybe this will help. This is how I have all my modes and HSM setup:

First, my mode manager:

Next, HSM:

This is the part that actually arms/disarms the system and it's reliant on Mode Manager.

Then, my Goodbye Home routine:

And my Welcome Home routine:

So, the way it all works is that it is fully reliant on Mode Manager. If that isn't setup correctly, HSM won't function properly. Basically, I have all my modes automated by time. Then, if my wife and I leave or arrive between various times, the house sets the mode and then HSM arms/disarms accordingly.

2 Likes

Wow, impressive. I will have to study this for a while. I am sure I can implement parts of it to do what I need. So thanks. Mode Manager is definitely the controller.

1 Like

Yup! once you get into that mindset, everything else falls into place.

Question: In your water text message you have parenthesis on date and time but in the Intrusion-Away you use brackets. What does each do? thanks

Me being lazy and inconsistent. They don't do anything. lol

Ok, great. I have it all setup and it all works. I appreciate the examples, that brought it into perspective. Thanks again.

1 Like