Rooms Manager: Smarter Rooms: Personalized home automation with Occupancy

change the threshold to 24 hours.

1 Like

When your code check a device for connectivity, does it check the "Last Activity At" time, or the datetime on the device events, or something else?

I have some devices which are marked as not having connected in the last x hours, but I can see in the Zigbee logs messages from those devices within that time period. So I'm a bit confused as to why Hubitat doesn't show them as having been active more recently.

it checks for the timestamp of the last event originating from the device.

please share a screenshot of what you are comparing and lets see if there is an issue with what the app is checking or something else.

Is that the same event that would show up at the top of the Hubitat /device/events/ page for the relevant device?

I'll capture some logs to show what I mean.

on mobile and don’t remember offhand which all events the device log displays. but note that it has to be the latest event where the origin is the device.

Here is one example where my lock has sent zigbee messages according to the zigbee logs, but both Hubitat and Rooms Manager say it is inactive:

DEVICES THAT HAVE NOT CONNECTED WITHIN LAST 24 HOURS:

Back door lock

From <http://10.0.0.67/installedapp/configure/1/mainPage&gt;

Name Value Unit Description Text Source Type Date
battery 97 % Back door lock battery is 97% DEVICE 2019-01-06 08:11:14.453 PM GMT
lock locked Back door lock was locked DEVICE 2019-01-05 09:39:03.232 PM GMT

From <http://10.0.0.67/device/events/34&gt;

Last Activity At 2019-01-06 8:11:14 PM GMT

From <http://10.0.0.67/device/edit/34&gt;

Back door lock2019-01-08 00:50:40.537 profileId:0x104, clusterId:0x101, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-88

Back door lock2019-01-08 00:50:30.954 profileId:0x104, clusterId:0x101, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-88

From <http://10.0.0.67/hub/zigbeeLogs&gt;

Also the reason I asked about whether you used the events page data, is that I also have seen cases where Hubitat reported the "Last Activity At" for a device at a later time than any of the events on the events page. But again I also see messages in the ZIgbee logs for even later times than either. Below are the logs of such an example:

Name Value Unit Description Text Source Type Date
temperature 11.48 °C Front door contact sensor temperature is 11.48°C DEVICE 2019-01-06 02:22:30.683 PM GMT

From <http://10.0.0.67/device/events/326&gt;

Last Activity At 2019-01-06 9:08:54 PM GMT

From <http://10.0.0.67/device/edit/326&gt;

Front door contact sensor2019-01-06 21:12:18.465 profileId:0x0, clusterId:0x6, sourceEndpoint:0, destinationEndpoint:0 , groupId:0, lastHopLqi:255, lastHopRssi:-64

Front door contact sensor2019-01-06 21:08:54.531 profileId:0x104, clusterId:0x1, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-64

Front door contact sensor2019-01-06 21:08:52.715 profileId:0x104, clusterId:0x1, sourceEndpoint:1, destinationEndpoint:1 , groupId:0, lastHopLqi:255, lastHopRssi:-64

Front door contact sensor2019-01-06 21:02:10.902 profileId:0x0, clusterId:0x6, sourceEndpoint:0, destinationEndpoint:0 , groupId:0, lastHopLqi:255, lastHopRssi:-64

From <http://10.0.0.67/hub/zigbeeLogs&gt;

Can someone explain how to enable connectivity check? Do I need to set up a room first or something? I have the app and child app installed, but when I go to the connectivity check page most of the options are grayed out :frowning: Thanks in advance.

Never mind. I figured it out. You have to set up your SMS device on a separate page first...

1 Like

Hi, Can I use Room Manager to control a heater in my Room?

When I click on "Room Device" I can not see my Outlet.

I just started playing with the announcement features of the app after setting up the Echo Speaks app. Is there any way to set up Rooms Manager so that it plays the announcement through whatever Echo is in a room that’s currently occupied or engaged? That way I know it will play in whatever room I’m in.

1 Like

please share a screenshot of the heater device details.

this is a great idea … will look at adding.

but for now if you add all echo devices to rooms manager do they all play the message?

updated to github with the following changes:

Version: 0.99.4

DONE:   1/05/2018

1) added support for multiple power meters
2) added command optimization at the app level
3) added setting room occupancy device on / off so it can be used in the rules
4) other small fixes

#3 above is useful for keeping lights on in a vacant room when adjacent rooms are occupied / engaged.

1 Like

I am going to apply the update in a few minutes. In process of building room rules and have a question. The 'Time trigger?' under rules, is this really a trigger or a condition or a triggered condition? It is listed under the RULE TRIGGERS AND CONDITIONS. So I want to limit rule to to a specific time, say 5:20am - Sunrise +20 minutes. Is this where I apply those conditions to be triggered on a occupied state?

yes. its a trigger and a condition.

I just updated to 0.99.4, but my app in the apps list is still named “rooms manager - v0.99.3”. Do I need to do anything else to update the already setup rooms?

yes please go to rooms manager and save the settings for rooms manager only once.

Has anyone managed to get the device connectivity check working? I have several devices now that have failed to check in for a few days and yet I have not received an sms.

Here's my setup:

I installed rooms manager as well as the rooms child app. In the rooms manager app itself I did not install a room. I simply clicked next.

In the sms settings I set the hours from 1 to 24. I set my SMS number to my number (preceeded by +1 like all the other Hubitat SMS configs).

On the device connectivity page I ensured the slider was set to enable device connectivity check. I set 37 past the hour / 24 hours and then selected all the devices I care about under "devices to check". I also set the "critical devices" slider and set all the same devices there.

Is there anything more to it? What am I missing?

I wonder if not setting up a room somehow prevents the device check from happening. will check and update.

Hi I want to use this MonoPrice 27481 to turn On/Off my heater, I have temperature sensor on my room.