[Migrated to Custom Capabilities] Rooms Manager: Smarter Rooms: Personalized rules based home automation with rooms Occupancy sensing from devices you already have in your home

as @KellyDarren said not installing vacation one will work.

but generally recommend installing all components ie 1 DTH and 4 smartapps. that way if you click on something that is in one of the not installed smartapps you wont see any errors in the logs.

you are welcome. if you feel strongly about thanking me ā€¦ donation is always an option ā€¦ always encouraged but always optional. :slight_smile:

go to the view all settings page ā€¦ turn on the flag to show only settings with values and share the screenshots of settings please. just easier to help diagnose that way.

Thatā€™s what I did, Iā€™m good with that solutionā€¦

1 Like

See attached.

How do I go about donating?

I have a laundry room that I donā€™t have a motion sensor in as of yet but I do have a smart switch. Can I use the switch being turned on to trigger engaged or occupied ? Is the ā€œ** if a switch turns on?** an action or condition? I want to turn the switch off after x minutes. I know I can do a Piston real easy just wanted to know if I can do it in the app until I get a motion sensor.

Hi Bangali, I see youā€™ve integrated Alexa in your Room Manager. May I ask for your help to integrate it in my SmartApp? Iā€™ve tried to look how you did it in your app but itā€™s massive and overwhelming; very impressive though I must say. You do there may checks and validations I guess for making it work in any condition. I just need the basic to make it work, at least to get started. Iā€™d appreciate your help.

the settings seems OK. could you please describe whats happening by looking at the room occupancy device in the ST app. room changes to occupied and timer should show 30s. that runs down then room changes to checking? what happens to the timer? at what point exactly in this do the lights turn off?

yes ā€¦ check both occupied and engaged settings which allows you to select the respective state switch. set the timeout for the respective state and create a vacant rule to turn off the switch.

btw ā€¦ i dont think i have tried this. let me know if it does not work and we will figure it out. :slight_smile:

EDIT: tested it. seems to work fine with occupied switch.

i integrated using ask alexa ā€¦ lots of info here:

http://thingsthataresmart.wiki/index.php?title=Ask_Alexa

if you have questions on ask alexa the author @MichaelS is the right person to ask.

1 Like

Thanks @bangali

@crimson let me know what you want to integrate. Ask Alexa is integrated with 20 other smart appsā€¦we can make yours #21 :slight_smile:

1 Like

missed this one:

how about:

  • use the virtual switch as the asleep switch?
  • and use the asleep state timeout setting to set room to awake?

@nathancu isnt this the same sleep sensor you use? do you have it directly connected to ST and working with rooms?

1 Like

Thank you so much bangali! It looks like what I need.

Thank you bangali. It looks like itā€™ll take me some good time just to follow all the setup instructions. It looks like Iā€™ll take more advantage of your generosity to help which is very much appreciated!

Nothing special. Iā€™d like to begin with just the two basic commands of Good Morning and Good Night that will activate the appropriate modes in my application. Once Iā€™m able to get into my application a voice command and reply to it with a voice prompt, then I can begin building around it my application logic.

It isā€¦ And itā€™s connected in a similar fashion.

@kukuhome I also had a similar issue to overcome, else every time I sat on the bed during the day, the room would go to sleep mode.

I created a virtual switch called bedroom sleep sensor and I trigger the master bedroom occupancy sleep mode from that (donā€™t forget to set the switch that allows the sleep mode to override the other modes)

I created a webcore piston that uses the logic I want to determine whether we will actually throw the sleep sensor to on. Right now mine is activated if either of my sleep sensors activate after 10P and deactivated if BOTH sensors deactivate after EARLYMORNING (which is a time in the morning set by another piston)

I also have logic in the webcore piston that detects if the master bedroom occupancy changes away from sleep, and turn off bedroom sleep sensor manually.

Works like a champ.

1 Like

so if i added time from - to when sleep sensor works as a trigger to set asleep state that would simplify this?

unsetting asleep state shouldnt require this time from - to because if the room is not asleep and the sleep sensors deactivate nothing will happen.

1 Like

No it wouldnā€™t because I still have to perform checks to see which sensors activated or deactivated and my end time changes on a complex set of rules that change based on a calendar and a bunch of other conditionsā€¦ If I already have to perform these logic checks I prefer to keep them all together in one module.

It may work forl someone, but it wouldnā€™t affect my use case.

1 Like

Attempting to create a rule in my bathroom that when my Zooz 4-in-1 Sensor registers humidity above 75%, to turn on the exhaust fan. When I create a Humidity rule I get the error below in my IDE and my room goes immediately back to Vacant once motion has ceased. If I disable the humidity rule the issue goes away.

IDE: 12d1c3ab-92e2-4fec-b9bc-e343d223cf65 9:36:24 PM: error groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.lang.Float#multiply.
Cannot resolve which method to invoke for [null] due to overlapping prototypes between:
[class java.lang.Character]
[class java.lang.Number] @line 3364 (processHumidity

Edit: Correct Room

Room:

the screenshots dont seem to show the humidity rule or is the app not showing it but its there?

Oops wrong room, updated post