[DEPRECIATED]....... Post Withdrawn By Author!


#93

thank you.

coming tomorrow …


#94

updated github:

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


#96

I’ve installed it! I have one question… How do your pistons looks?

The reason I ask is that when you make the room, you put in all the pertinent info, so what exactly needs to go in the piston?


#98

@elmetal and @Baz2473 as you both point out users are able to use the DTH standalone or with the smartapp. if you use the smartapp it allows automation of common tasks associated with rooms. but, all of those automation thru the smartapp is optional. if you leave a settings option blank, the automation is simply skipped but you still get one place to view all your rooms in the smartapp.

while the automation is convenient for simple tasks there are many other tasks that the smartapp does not address and will not address that you need to use wC for. here are a couple of examples:

  1. if you want to change level or color of the lights in the room when the room changes to occupied depending on time of day.
  2. if you want to dim the lights slightly when there is no motion for a while before the room changes to vacant.
  3. if you have AC zones, you can use the room states that are not vacant to decide which AC zones should have what thermostat setting.

… the possibilities are still endless. :smile:


#99

Can I ask about nbq2 lines 68-77?

It says if alarm is strobe and door is closed, to go to strobe and siren.

then it checks again for door closed and strobe+siren, to then just siren.

What is the point of that step? Why not just… go from strobe to siren?

Also I was thinking of using strobe for occupancy while open, siren for door closed after strobe, and then strobe+siren for motion detected while door closed (and door is still closed) which means 100% there is someone in the room.

Does this make sense?

Reason being, these pistons aren’t quite getting it when I’m in the room with the door closed.


#101

Ah hah! I see what I did wrong… I didn’t see the waitsensor on the strobe and siren while “checking” for occupancy in the room. I just adjusted my xiaomi sensor motion sensing to not be “motion” for a whole minute, because it fell into the exact situation you described. It would sense motion, and claim “motion” for a whole minute, so if you left the room and closed the door it would be Siren and never turn off.


#104

I tried his method but I already have everything up and running!

What are some benefits to how he has it set up currently? I can’t exactly see how to make it better.


#106

yes the links had broken when i updated github to confirm to ST. fixed now.

sorry. thank you.


#107

see this post for the common tasks for rooms handled by the smartapp:


#108

It looks like a few of you are using the Xiaomi sensors for this. I know they have a 1 minute blind time so do they work that well for this project? I am looking to get some motion sensors for this project and the price of those are so tempting…


#110

I actually don’t mind at all, and they work alright! I changed some of the pistons a little bit to account for the blind time. So for example, my bathroom sensor is a xiaomi as is the cancellation sensor in the mudroom near it. So if I walk in the bathroom and walk right out (hand wash or taking my retainers out to eat) the hallway sensor won’t catch me coming back out. So to combat that problem, I set a timer in the bathroom piston that if the alarm is strobe (in room door open) for 90 seconds with no change in bathroom motion (you probably left) then turn it off. which is nice. Works great.

I still keep adjusting things every day but so far it’s going alright!


#117

@Baz2473, I think I’m missing something fundamental here and hoping you can point me in the right direction.

I’ve setup the DTH and rooms manager app and defined a few rooms with only room name, a single motion sensor, and a “change to vacant” using “Last Motion Inactive” and a time setting of 180 seconds or more.

My problem is that once a room changes to occupied, it never changes back to vacant again. I’ve checked the logs for the motion detectors and they are definately sending an inactive notification, but the Occupancy does not change.

Any thoughts as to what’s going on here?


Rooms Manager: Smarter Rooms: Personalized home automation with Occupancy
#119

@Baz2473 thought you copied all of the code from my version in to your version and changed some names and spacing around? or did you cut-n-paste selectively when creating your version? :slight_smile:


#120

@bangali @Baz2473, LOL, as long as the spelling mistakes were corrected then all is good :-),

I can not keep up with your releases and testing them. Its becoming a full time job :slight_smile:

Great work on the apps.


#121

for any spelling mistakes on the original version of rooms occupancy please post here and i will fix it:

https://community.webcore.co/t/rooms-occupancy-dth-with-states-for-rooms-to-use-in-wc-st/1813/60


#122

@bangali there isn’t any that I’ve noticed, just when I cut and paste my own stuff, the amount of times I’ve pasted in stuff I’ve spelt wrong is just crazy :slight_smile:


#127

Hi Baz,

Can I ask if you intend to introduce the ability to set lights to different brightness/hue based on time or modes?

for example.
When mode = Night, set lights to 30% brightness.
When mode = Sleep, set bathroom light to 1%.

or

When time is past 11pm, set bathroom light to 1%
Between 12am and 5pm, set living room lights to 5%

Make sense?

Thanks for the great work.

Cheers
Gary


Rooms Manager: Smarter Rooms: Personalized home automation with Occupancy
#129

@Baz2473, wow the app is coming along at a furious rate. I’m struggling to keep up (which is a great thing to be honest).

I’m having an issue and it may just be my understanding at this stage. When I’m running tests I have simplified my configuration by using a single motion sensor. The issue stems still when I use a door sensor.

If i use a door sensor (single door in and out - in this case bathroom) am I right in thinking, that on door open, light should come on and stay on. On door re-opening (leaving room) and door closing, then the checking should take place and if no movement or door re-opening, the room should move to vacant state!!!

Thanks


#132

@Baz2473 I wonder is the issue you noted what I’m seeing. Interesting to know Contact sensor and the others can be used on their own (I focused on my combo rather than singe) I haven’t actually used the door sensor on its own. I’m using it in conjunction with the motion sensor.

Basically I’m using a Fiabro motion sensor in the room, but nothing activates until I’m in the room. So i have a door contact so that on door open the lights go on, which of course means motion follows.

At which point the lights are going on, off, on, off :slight_smile: and when I leave and close the door it status was getting stuck in checking.

Heavy stage and DND, I haven’t gotten anywhere near them yet :slight_smile:


#133

as an alternative, please feel free to give the original rooms occupancy a try:

https://community.webcore.co/t/rooms-manager-smartapps-and-rooms-occupancy-dth-now-with-support-for-rules/1813/90

thanks.