Rooms Manager: Smarter Rooms: Personalized home automation with Occupancy

rooms
manager
occupancy
rules
automation

#31

@bangali I must say man, great job! I’m still waiting for some sensors so i can use this fully but it’s working with my motion sensor. Going to add lux and contact sensor. Any idea’s to got the most out of this?


#32

thank you. thats great!

i would add motion, switch/light and contact before lux. for me an external light sensor is more reliable than multiple internal ones. when using an external lux sensor just need to use different lux values for each room. YMMV but see here:


#33

btw, did you know you could use this app for basic functionality like turning off a switch after its been on for certain time? or power allowance as ST calls it.

set the switch as the engaged switch and set the engaged timeout to whatever number of seconds after which you want the switch to be turned off. dont set a motion sesnor and it will work the same as power allowance. :slight_smile:


#34

Well i’ve already ordered all these sensors haha I use arduino for the lux sensors so it’s really cheap. Almost all my lights are now hue lights so im covered on that. Using xiaomi motion and contact sensors so those are pretty cheap aswell.


#35

o, hey thats awesome. sounds like you have the bases covered. :smile:

post a link for the lux sensors you are using?

i have some xiaomi devices too. the motion and temperature sensors have not had any issues. the contact sensors if you put them on things like an window thats not opened somewhat regularly they go to sleep and dont seem to reconnect any more. hows your experience been?


#36

heres one scenario i use it for. for my living room i want lights to turn on between certain times if lux is below a certain threshold i want the lights to turn on. but after they turn on i only want some of the lights to stay on if there is motion and turn off if there is no motion for some time. then turn off the lights at a certain time of day or if lux goes up again like it happens on days with thunderstorm or rain. i also want to skip all of this if we have people over for a party and house is in party mode. and off course turn off the living room lights when its 10pm at night.

all of this requires just setting up one room in the app with the right settings for it to work.


#37

https://nl.aliexpress.com/item/TSL2561-Luminosity-Sensor-Breakout-infrared-Light-Sensor-integrating-sensor/32792689415.html?spm=a2g0s.9042311.0.0.Pnum4K
And then i use NodeMCU’s with them. I also made a 433Mhz and IR transmitter hub so i can use cheap switches and control IR devices.

I only got the temp sensors a few days but they seem to work great. I also use buttons and i’ve noticed once that the zigbee ID changed (was at startup fase). Also i’ve noticed that the pressed and pushed sometimes gets mixed up but that’s probably the device handler. I still need to receive the motion and contact sensors. I’m using now a motion and contact sensors from smartthings but they really are pieces of crap haha


#38

thanks for the links. please consider posting a how-to guide for both the 1) lux sensors and 2) 433Mhz and IR transmitter hub. i am sure that will be useful for and appreciated by other users.

for the buttons i use those as a toggle from current state for whatever i am controlling. hmm, dont use smartthings devices.


#39

Hmmmm yea i can try, never made a how to and i’m just throwing things together haha


#40

trying out a new screen format for the rooms device thats more informative. heres a couple of screens shots of the new screens. the devices listed below the status are the devices / modes defined on the settings for the room in the rooms manager smartapp.

feedback welcome.

thank you.


#41

I like it. If you tie devices to a room does it change automatically if occupied or not? Or do you still need to create a piston? On a side not what is kaput? And DND? Also I like the info about each sensor but would be nice to have the ability to hide them also, for a barebones look.


#42

thank you. yes it does. see link below for one scenario i use it for. correct this does not require a piston just for these basic stuff. kaput was my single word equivalent of Out of Service. DND = Do not Disturb. thanks for the feature suggestion will put on list.

https://community.webcore.co/t/rooms-occupancy-dth-with-states-for-rooms-to-use-in-wc-st/1813/36?u=bangali


#43

Maybe make it configurable what kind of states there are for the room? I feel like vacant, occupied and asleep are the main states for a room. I’m not sure if all the extra info about the configuration are nice on the main view. Maybe move it to the config of the room (not sure if thats possible)? And like @gopack2 mentioned, maybe it’s good to describe the different states in this thread.


#44

Do you have repo info so I can just do updates rather than cutting and pasting each time you come up with a shiny new toy?


#45

for a github install use : owner: adey / name: bangali / branch: master


#46

i would love to do that. but dont see that flexibility in the options ST supports.

they are already in the config of the room. heres how the screen looks now.

the only states that are automated are engaged, occupied, checking and vacant. other states are not automated so up to the user on how they are used. think some of this is in the first post in this thread.


#47

@Gopack2 @johhnwilliam

ok figured it out there will be an option to hide the device details and the other buttons which were below the fold. thanks for prompting me to do something. :smile:


#48

Yea i like the clean look alot more!


#49

i was a bit optimistic on this too early. :disappointed:

while i could put in a condition and it will draw the tiles correctly the first time its not possible to conditionally update which tiles to display subsequently in a DTH. so its not going to be as clean as i had hoped. sorry about that.

the rooms occupancy DTH will have multiple details ([…]) definition. with the one for all details being uncommented. if you like a particular set of tiles to display please comment the uncommented one and uncomment one of the other details lines corresponding to the tiles you would like to display. since i dont expect the DTH to change much from here on out this shouldnt be something you have to do on every pull from github.

again this is optional. if you do nothing and just directly pull from github and publish everything will work fine.

sorry again and hopefully this gives folks the options they want.


#50

UPDATE: updated version 0.04.5 to github with the following changes:

*  Version: 0.04.5
*
*   DONE:   11/10/2017
*   1) revamped device details screen. if users dont like it will revert back.
*   2) when swiches are turned off because lux rose or is outside of time window added settings to turn off both
*           group of switches instead of just switches off.
*   3) added option to change state directly from engaged to vacant without moving to checking state.
*	4) removed last event from status message.