[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

Hi @bangali

So have you moved over to the habitat hub yet or are you still between the two :slight_smile:

With the averaging you have implemented with the LUX itā€™s providing at least for me a better experience for adjusting my lights as I have light and dark and angles in most of my rooms, my kitchen alone as 4 Lux Sensors in basically each corner :slight_smile:

Just wondering if you could add the following somewhere (not even sure if it makes sense). Iā€™ve had a look at the view all settings options and have a potential place for it, but I don;t know if its feasible or even worthwhileā€¦but as they say if you don;t ask you donā€™t know.

The same idea would apply in my mind to any of the sensors where the number of the sensor is used.

Under Room Sensor Settings, where you list all the relevant sensors would it be possible to capture the numeric value of the sensor in question at the point in time where All Settings was hit (or last cached value, not sure how you are coding the attributes).

In my case I have 4 Lux Sensors in my kitchen, that Iā€™m using to figure out my best average to use in the app, but to get each of the devices lx values I need to leave the add, go to the relevant room, enter every device, note down the values, and do the average myself, then adjust in Rooms Manager to work more precisely. But if this sensor information was available in the app itself it would cut down on some clicks :slight_smile:

What I was thinking was after the name of the sensor in question, Room Lux1 (10), Room Lux2 (20) was entering the value in brackets after the devices name or something similar.

As I said, just throwing it out there :slight_smile:

On another note, going to start testing the holiday nights now that Halloween is coming up :slight_smile: Can you believe its a year gone already!!!

sorry for the delayed response ā€¦ had taken the ~weekend off to drop kid off to college.

back now ā€¦ will respond here and to PMs later tonight.

@bangali oh myā€¦ Seriously did we let you away from your deskā€¦ How careless of us

Going forward please complete leave of absence form 6 months in advance and await until approved :grinning:

But on a more serious note has your kid done the right thing and ensured he is doing something completely different than dad as Dads job never ends :upside_down_face:

1 Like

well tried to convince both of them to do CS then (PhD || MBA). as a result of which:

  1. the older one is now in 3rd year of MD program
  2. the younger one now at UC with regentā€™s scholarship. refuses to admit to me that he has a chosen career path. but has selected human physiology as his major. so i am at a loss to tell what career path he might even be considering. :wink:

guess they are doing good on doing the right thing. just not the right thing as defined by me. :confounded:

2 Likes

good to hear.

lets get it back to working smoothly again. suspect there may be something erroring out ā€¦ any error in the logs?

also just go thru and save settings both on rooms managers and each of the individual rooms then try.

still between the two and going to stay that way ā€¦ no intention of abandoning either ST or HE users. :slight_smile:

why not specify all 4 lux sensors in the app and save then check the rooms occupancy device page to find the average lux value at any given time?

possible but would kind of break anyone that already has a lux sensor specified. does checking the average lux in the rooms occupancy device work instead?

tell me about it! :slight_smile:

yeah give the holiday lights a workout before we get closer to the holidays ā€¦ a lot has changed in the last year ā€¦ so good to check now that they are still working right.

need help in testing something please ā€¦ since i dont use alexa myself. :slight_smile:

the rooms occupancy device supports the switch capability. using alexa if you discover the rooms occupancy devices does it show up as a switch or does it show as device of another type?

thank you.

@bangali no problem.

Within the ST Alexa app, the room occupancy shows up as a switch.

When searching for ST devices from within the Alexa app it also shows up as a switch. At the top of the switch within the object, it says then device is unresponsive.

When imported it tells me the switch is off. When hitting the switch within the Alexa app from off to on, it contacts ST does a refresh and tells me the device is still off BUT it has turned the room occupancy status in ST from Vacant to Occupied. However, it does not do the reverse, in that rehitting the switch it does not change the Occupancy Status back to Vacant (it leaves it in the occupied state).

If you would like me to check something else let me know.

1 Like

@bangali having the values there works, I had my developer hat on listening to another end user wanting something moreā€¦and then trying to put the fields in the least coding location, for a single us case probably :upside_down_face:

Simply to me having then viewable/seen from a single place saves a hell of a lot of clicking :grinning:

1 Like

yup. when i was initially configuring rooms i would have the corresponding rooms occupancy device open on my ipad to see the details on one screen and configure the room itself from my phone so i was not switching screens.

1 Like

thanks for the test. yes ā€¦ will do.

fyi works just fine on hubitat ā€¦ will try to figure out why it doesnt also work on ST.

EDIT: alexa turn (on || off) this room seems to work fine even though alexa says sorry this room is not responding. however using the switch in the alexa app it can only be turned on and not off and there is a Device is unresponsive message at top of screen.

wonder if alexa is waiting for some sort of ack.

EDIT2: fixed. starting this weekend release you will be able to control on/off for any room thru alexa. in the room settings you can specify which room state on corresponds to ā€¦ this defaults to occupied. off always corresponds to vacant.

Hey @bangali, sorry taking so long to get back to you on this one. When testing this out, it seems that sometimes it is getting stuck in ā€œEngagedā€. The lights stay on and it doesnā€™t change to ā€œVacantā€. I have to go and press the ā€œVacantā€ button in the app.

when this happens what is the value of the timer as shown in the device tiles for the room?

I will try to make a note next time it does it.

thanks also check the logs to make sure there are no errors around the time this change from engaged to vacant should happen.

Hi @bangali
Iā€™m having the same issue as @CastleHue where my newly created room (yesterday) will not return to vacant its sticks in either Occupied or Engaged. Iā€™ve not got any rules set on this one yet as Iā€™m trying to figure out how it behaves with our usage of the room .

The Timer box on the room page gets down as far as 5s but stops there. Only seems to happen on the room I created yesterday. Iā€™ve tried saving the room a few times. screenshot of room page and settings.

Code versions all updated from GitHub.

  • rooms occupancy DTH - V0.85.00

  • rooms child app - V0.85.00

  • rooms manager - V0.85.00

no motion was triggered during the below log

Date Source Type Name Value User Displayed Text
[2018-09-29 9:50:45.263 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/c0ee2900-c3c4-11e8-9d8a-0ab6b93622b0?all=&source=&max=25) DEVICE countdown 5s countdown timer: 5s
[2018-09-29 9:50:45.232 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/c0e94700-c3c4-11e8-9d8a-0ab6b93622b0?all=&source=&max=25) DEVICE countdown 0s countdown timer: 0s
[2018-09-29 9:50:40.044 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/bdd1a6c0-c3c4-11e8-8d68-06a06ed24e68?all=&source=&max=25) DEVICE countdown 5s countdown timer: 5s
[2018-09-29 9:50:35.056 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/bad8b210-c3c4-11e8-b396-0a2b8ff6de2e?all=&source=&max=25) DEVICE countdown 10s countdown timer: 10s
[2018-09-29 9:50:30.178 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/b7f05f30-c3c4-11e8-b4e4-021fc21eb338?all=&source=&max=25) DEVICE countdown 15s countdown timer: 15s
[2018-09-29 9:50:25.058 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/b4e31f30-c3c4-11e8-b77b-0669130d2124?all=&source=&max=25) DEVICE countdown 20s countdown timer: 20s
[2018-09-29 9:50:20.047 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/b1e68100-c3c4-11e8-b77b-0669130d2124?all=&source=&max=25) DEVICE countdown 25s countdown timer: 25s
[2018-09-29 9:50:15.179 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/aeffb4c0-c3c4-11e8-b396-0a2b8ff6de2e?all=&source=&max=25) DEVICE countdown 30s countdown timer: 30s
[2018-09-29 9:50:10.061 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/abf29bd1-c3c4-11e8-8d68-06a06ed24e68?all=&source=&max=25) DEVICE countdown 35s countdown timer: 35s
[2018-09-29 9:50:05.153 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/a905dc20-c3c4-11e8-b77b-0669130d2124?all=&source=&max=25) DEVICE countdown 40s countdown timer: 40s
[2018-09-29 9:50:00.222 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/a61572f0-c3c4-11e8-b2c3-02918b760108?all=&source=&max=25) DEVICE countdown 45s countdown timer: 45s
[2018-09-29 9:49:55.133 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/a30cc6d0-c3c4-11e8-8d68-06a06ed24e68?all=&source=&max=25) DEVICE countdown 50s countdown timer: 50s
[2018-09-29 9:49:50.164 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/a0169140-c3c4-11e8-9b63-0ac7bb58c3de?all=&source=&max=25) DEVICE countdown 55s countdown timer: 55s
[2018-09-29 9:49:45.382 AM BST
1 hour ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/9d3d0b70-c3c4-11e8-8fcd-0275821475ca?all=&source=&max=25) DEVICE countdown 60s countdown timer: 60s
[2018-09-29 9:45:35.178 AM BST
2 hours ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/081acaa0-c3c4-11e8-b3ca-06d34d4c2e26?all=&source=&max=25) DEVICE countdown 0s countdown timer: 0s
[2018-09-29 9:45:32.723 AM BST
2 hours ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/06a45740-c3c4-11e8-b3ca-06d34d4c2e26?all=&source=&max=25) DEVICE button pushed Living Room button 1 was pushed.
[2018-09-29 9:45:32.716 AM BST
2 hours ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/06a31ec0-c3c4-11e8-b3ca-06d34d4c2e26?all=&source=&max=25) DEVICE occupancy occupied Living Room changed to occupied
[2018-09-29 9:45:32.686 AM BST
2 hours ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/069eb1f0-c3c4-11e8-b3ca-06d34d4c2e26?all=&source=&max=25) DEVICE countdown 0s countdown timer: 0s
[2018-09-29 9:45:32.630 AM BST
2 hours ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/06962670-c3c4-11e8-b3ca-06d34d4c2e26?all=&source=&max=25) DEVICE countdown 0s countdown timer: 0s
[2018-09-29 9:44:08.365 AM BST
2 hours ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/d45c54e0-c3c3-11e8-b6b6-065e61aaadda?all=&source=&max=25) DEVICE button pushed Living Room button 3 was pushed.
[2018-09-29 9:44:08.357 AM BST
2 hours ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/d45b1c60-c3c3-11e8-b6b6-065e61aaadda?all=&source=&max=25) DEVICE occupancy vacant Living Room changed to vacant
[2018-09-29 9:44:08.310 AM BST
2 hours ago ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/d453f070-c3c3-11e8-b6b6-065e61aaadda?all=&source=&max=25) DEVICE countdown 0s countdown timer: 0s

Hope you can find the issue here but let me know if you need anymore info

please update to the latest version below. some of how things are handled have changed want to see if ST is still hiccuping with this new version.

updated to github with the following changes. REQUIRES SAVING ROOMS MANAGER SETTINGS AFTER UPDATING TO THIS VERSION. OPEN ROOMS MANAGER GO TO SETTINGS AND CLICK SAVE. THATS IT.

Version: 0.90.0

DONE:   9/20/2018
1) more optimizations for speed:
	- optimized how events are processed.
	- moved interval processing of room switches to individual rooms instead of from rooms manager.
	- moved timer/countdown handling to the device driver from the rooms child app.
	- for battery and device connectivity monitoring devices are now specified only in rooms manager and not collected from individual rooms.
	- optimized how scheduling is handled and how many timers are used.
	- reduced code size further to ~263K.
	- various other code optimizations.
	- **REQUIRES SAVING ROOMS MANAGER SETTINGS AFTER UPDATING TO THIS VERSION. OPEN ROOMS MANAGER GO TO SETTINGS AND CLICK SAVE. THATS IT.**
2) switched to using single regularly scheduled timer for both ST and HE for different reasons:
	- on ST because when ST infrastructure is under stress random processing can take really long and quickly get over the 20 second timeout.
	- on HE because all timers are blocking and i dont want any individual timer running for more than 1 second like when device monitoring check.
	- this allows rescheduling these kind of tasks after 10 seconds and 1 second of processing on ST and HE respectively.
3) thermostat indicator fix for manage vents only mode.
4) removed the lock only capability on ST because it causes issue with Alexa turning on and off the rooms occupancy device.
4) few other tweaks here and there.

EDIT: after updating to the latest if any particular room throws an error please open the room from rooms manager app and save it. then check if there are still errors. i always try to make all changes backwards compatible with existing code but with schedule handling changes there may be some edge cases which still require saving the settings to get everything reset to the new.

1 Like

No luck Iā€™m afraid stopped at 3s now. Updated from GitHub, saved main settings, then saved the rooms settings. I guess weā€™re getting there though, 2 seconds at a time :rofl:
Iā€™m not sure why my multisensor 6 is taking 4 mins to reset motion though PIR rest time is 15s.


Logs:

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:50:01: debug perf scheduleFromToTimes: 32 ms

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:45:13: debug perf scheduleFromToTimes: 33 ms

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:40:12: debug perf scheduleFromToTimes: 44 ms

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:36:20: error groovy.lang.MissingMethodException: No signature of method: static java.lang.Math.floor() is applicable for argument types: (java.lang.String) values: [5]
Possible solutions: floor(double), log(double), find(), acos(double), cos(double), cosh(double) @line 4319 (handleSwitches)

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:35:01: debug perf scheduleFromToTimes: 34 ms

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:30:30: debug perf updated: 2614 ms

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:30:30: debug perf scheduleFromToTimes: 13 ms

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:30:28: info updateRoom Living Room

[375f4680-0bbb-48d9-9ce2-f359a3d077df](https://graph-eu01-euwest1.api.smartthings.com/ide/logs#375f4680-0bbb-48d9-9ce2-f359a3d077df) 17:28:11: error groovy.lang.MissingMethodException: No signature of method: static java.lang.Math.floor() is applicable for argument types: (java.lang.String) values: [5]
Possible solutions: floor(double), log(double), find(), acos(double), cos(double), cosh(double) @line 4319 (handleSwitches)

Events:

[2018-09-29 5:46:05.025 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/28085510-c407-11e8-9b63-0ac7bb58c3de?all=true&source=&max=25) DEVICE timer 3s Living Room timer is 3s true
[2018-09-29 5:46:00.023 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/250d1670-c407-11e8-8cf9-0a5f4fe5d03a?all=true&source=&max=25) DEVICE timer 8s Living Room timer is 8s true
[2018-09-29 5:45:55.022 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/2211fee0-c407-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 13s Living Room timer is 13s true
[2018-09-29 5:45:50.029 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/1f181fd0-c407-11e8-8d68-06a06ed24e68?all=true&source=&max=25) DEVICE timer 18s Living Room timer is 18s true
[2018-09-29 5:45:45.016 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/1c1b5a90-c407-11e8-96b9-06884a41211e?all=true&source=&max=25) DEVICE timer 23s Living Room timer is 23s true
[2018-09-29 5:45:40.788 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/19960f41-c407-11e8-b77b-0669130d2124?all=true&source=&max=25) DEVICE timer 28s Living Room timer is 28s true
[2018-09-29 5:45:32.020 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/145c2b40-c407-11e8-b396-0a2b8ff6de2e?all=true&source=&max=25) DEVICE timer 33s Living Room timer is 33s true
[2018-09-29 5:45:27.028 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/11627340-c407-11e8-b2c3-02918b760108?all=true&source=&max=25) DEVICE timer 38s Living Room timer is 38s true
[2018-09-29 5:45:22.026 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/0e6734a0-c407-11e8-8d68-06a06ed24e68?all=true&source=&max=25) DEVICE timer 43s Living Room timer is 43s true
[2018-09-29 5:45:17.028 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/0b6c9240-c407-11e8-96b9-06884a41211e?all=true&source=&max=25) DEVICE timer 48s Living Room timer is 48s true
[2018-09-29 5:45:12.140 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/0882b8c0-c407-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 53s Living Room timer is 53s true
[2018-09-29 5:45:12.115 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/087ee830-c407-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 0s Living Room timer is 0s true
[2018-09-29 5:45:09.054 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/06abd5e0-c407-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 5s Living Room timer is 5s true
[2018-09-29 5:45:04.233 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/03cc3590-c407-11e8-8510-020c5ea91b8c?all=true&source=&max=25) DEVICE timer 10s Living Room timer is 10s true
[2018-09-29 5:44:59.023 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/00b139f0-c407-11e8-8cf9-0a5f4fe5d03a?all=true&source=&max=25) DEVICE timer 15s Living Room timer is 15s true
[2018-09-29 5:44:54.018 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/fdb58620-c406-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 20s Living Room timer is 20s true
[2018-09-29 5:44:49.067 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/fac20fb0-c406-11e8-b396-0a2b8ff6de2e?all=true&source=&max=25) DEVICE timer 25s Living Room timer is 25s true
[2018-09-29 5:44:44.076 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/f7c87ec0-c406-11e8-9b63-0ac7bb58c3de?all=true&source=&max=25) DEVICE timer 30s Living Room timer is 30s true
[2018-09-29 5:44:39.081 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/f4ce5190-c406-11e8-b2c3-02918b760108?all=true&source=&max=25) DEVICE timer 35s Living Room timer is 35s true
[2018-09-29 5:44:34.018 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/f1c9c420-c406-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 40s Living Room timer is 40s true
[2018-09-29 5:44:29.089 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/eed9a910-c406-11e8-8d68-06a06ed24e68?all=true&source=&max=25) DEVICE timer 45s Living Room timer is 45s true
[2018-09-29 5:44:24.080 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/ebdd5900-c406-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 50s Living Room timer is 50s true
[2018-09-29 5:44:19.309 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/e90559d0-c406-11e8-9d8a-0ab6b93622b0?all=true&source=&max=25) DEVICE timer 55s Living Room timer is 55s true
[2018-09-29 5:44:16.529 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/e75d2810-c406-11e8-8477-02f05c36faf6?all=true&source=&max=25) DEVICE temperatureInd 22.3Ā°C indicate temperature value true
[2018-09-29 5:44:12.776 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/e5207e80-c406-11e8-8ee4-063aa223647a?all=true&source=&max=25) DEVICE timer 60s Living Room timer is 60s true
[2018-09-29 5:44:12.761 PM BST
*moments ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/e51e3490-c406-11e8-8ee4-063aa223647a?all=true&source=&max=25) DEVICE motionInd inactive indicate motion inactive true
[2018-09-29 5:41:09.135 PM BST
*7 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/77ab19f0-c406-11e8-ad00-064291b7e5c8?all=true&source=&max=25) DEVICE temperatureInd 22.6Ā°C indicate temperature value true
[2018-09-29 5:40:20.075 PM BST
*8 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/5a6d23b0-c406-11e8-b2d8-0acf4d52937a?all=true&source=&max=25) DEVICE motionInd active indicate motion active true
[2018-09-29 5:40:01.852 PM BST
*8 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/4f9087c0-c406-11e8-b2d8-0acf4d52937a?all=true&source=&max=25) DEVICE timer 0s Living Room timer is 0s true
[2018-09-29 5:40:01.829 PM BST
*8 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/4f8d0550-c406-11e8-b2d8-0acf4d52937a?all=true&source=&max=25) DEVICE motionInd active indicate motion active true
[2018-09-29 5:39:58.047 PM BST
*8 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/4d4beef0-c406-11e8-b2d8-0acf4d52937a?all=true&source=&max=25) DEVICE timer 0s Living Room timer is 0s true
[2018-09-29 5:39:58.015 PM BST
*8 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/4d473400-c406-11e8-b2d8-0acf4d52937a?all=true&source=&max=25) DEVICE motionInd active indicate motion active true
[2018-09-29 5:37:10.023 PM BST
*11 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/e9258170-c405-11e8-9b63-0ac7bb58c3de?all=true&source=&max=25) DEVICE timer 3s Living Room timer is 3s true
[2018-09-29 5:37:05.037 PM BST
*11 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/e62cb3d0-c405-11e8-8cf9-0a5f4fe5d03a?all=true&source=&max=25) DEVICE timer 8s Living Room timer is 8s true
[2018-09-29 5:37:00.044 PM BST
*11 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/e332d4c0-c405-11e8-96b9-06884a41211e?all=true&source=&max=25) DEVICE timer 13s Living Room timer is 13s true
[2018-09-29 5:36:55.020 PM BST
*11 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/e0343ac0-c405-11e8-9b63-0ac7bb58c3de?all=true&source=&max=25) DEVICE timer 18s Living Room timer is 18s true
[2018-09-29 5:36:50.019 PM BST
*11 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/dd394a40-c405-11e8-8d68-06a06ed24e68?all=true&source=&max=25) DEVICE timer 23s Living Room timer is 23s true
[2018-09-29 5:36:45.017 PM BST
*11 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/da3de491-c405-11e8-9b63-0ac7bb58c3de?all=true&source=&max=25) DEVICE timer 28s Living Room timer is 28s true
[2018-09-29 5:36:40.034 PM BST
*11 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/d7458c20-c405-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 33s Living Room timer is 33s true
[2018-09-29 5:36:35.069 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/d44ff2d0-c405-11e8-b2c3-02918b760108?all=true&source=&max=25) DEVICE timer 38s Living Room timer is 38s true
[2018-09-29 5:36:30.019 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/d14d6130-c405-11e8-8d68-06a06ed24e68?all=true&source=&max=25) DEVICE timer 43s Living Room timer is 43s true
[2018-09-29 5:36:25.029 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/ce541e60-c405-11e8-8510-020c5ea91b8c?all=true&source=&max=25) DEVICE timer 48s Living Room timer is 48s true
[2018-09-29 5:36:20.079 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/cb60a7f0-c405-11e8-b396-0a2b8ff6de2e?all=true&source=&max=25) DEVICE timer 53s Living Room timer is 53s true
[2018-09-29 5:36:20.055 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/cb5cfe70-c405-11e8-b396-0a2b8ff6de2e?all=true&source=&max=25) DEVICE timer 0s Living Room timer is 0s true
[2018-09-29 5:36:10.084 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/c56b8a40-c405-11e8-8510-020c5ea91b8c?all=true&source=&max=25) DEVICE timer 5s Living Room timer is 5s true
[2018-09-29 5:36:10.065 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/c568a410-c405-11e8-8fcd-0275821475ca?all=true&source=&max=25) DEVICE temperatureInd 23.0Ā°C indicate temperature value true
[2018-09-29 5:36:05.027 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/c2680e40-c405-11e8-8d68-06a06ed24e68?all=true&source=&max=25) DEVICE timer 10s Living Room timer is 10s true
[2018-09-29 5:36:00.158 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/bf80f3e0-c405-11e8-b4e4-021fc21eb338?all=true&source=&max=25) DEVICE timer 15s Living Room timer is 15s true
[2018-09-29 5:35:55.068 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/bc7847c0-c405-11e8-8cf9-0a5f4fe5d03a?all=true&source=&max=25) DEVICE timer 20s Living Room timer is 20s true
[2018-09-29 5:35:50.079 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/b97f04f0-c405-11e8-b396-0a2b8ff6de2e?all=true&source=&max=25) DEVICE timer 25s Living Room timer is 25s true
[2018-09-29 5:35:45.025 PM BST
*12 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/b67bd710-c405-11e8-96b9-06884a41211e?all=true&source=&max=25) DEVICE timer 30s Living Room timer is 30s true
[2018-09-29 5:35:40.085 PM BST
*13 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/b38a0e50-c405-11e8-b2c3-02918b760108?all=true&source=&max=25) DEVICE timer 35s Living Room timer is 35s true
[2018-09-29 5:35:35.015 PM BST
*13 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/b0846f70-c405-11e8-8d68-06a06ed24e68?all=true&source=&max=25) DEVICE timer 40s Living Room timer is 40s true
[2018-09-29 5:35:30.035 PM BST
*13 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/ad8c8c30-c405-11e8-8d68-06a06ed24e68?all=true&source=&max=25) DEVICE timer 45s Living Room timer is 45s true
[2018-09-29 5:35:25.068 PM BST
*13 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/aa96cbd0-c405-11e8-9b63-0ac7bb58c3de?all=true&source=&max=25) DEVICE timer 50s Living Room timer is 50s true
[2018-09-29 5:35:20.084 PM BST
*13 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/a79e2540-c405-11e8-96b9-06884a41211e?all=true&source=&max=25) DEVICE timer 55s Living Room timer is 55s true
[2018-09-29 5:35:15.947 PM BST
*13 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/a526e3b0-c405-11e8-8fcd-0275821475ca?all=true&source=&max=25) DEVICE timer 60s Living Room timer is 60s true
[2018-09-29 5:35:15.922 PM BST
*13 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/a5231321-c405-11e8-8fcd-0275821475ca?all=true&source=&max=25) DEVICE motionInd inactive indicate motion inactive true
[2018-09-29 5:31:22.844 PM BST
*17 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/1a3658d0-c405-11e8-8ee4-063aa223647a?all=true&source=&max=25) DEVICE motionInd active indicate motion active true
[2018-09-29 5:31:05.564 PM BST
*17 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/0fe979c0-c405-11e8-8614-06080d87b798?all=true&source=&max=25) DEVICE timer 0s Living Room timer is 0s true
[2018-09-29 5:31:05.542 PM BST
*17 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/0fe61e60-c405-11e8-8614-06080d87b798?all=true&source=&max=25) DEVICE motionInd active indicate motion active true
[2018-09-29 5:31:02.407 PM BST
*17 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/0e07c170-c405-11e8-8614-06080d87b798?all=true&source=&max=25) COMMAND occupied occupied command was sent to Living Room true
[2018-09-29 5:31:02.401 PM BST
*17 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/0e06d710-c405-11e8-8614-06080d87b798?all=true&source=&max=25) DEVICE occupied occupied Living Room reset tile occupied true
[2018-09-29 5:31:02.395 PM BST
*17 minutes ago* ](https://graph-eu01-euwest1.api.smartthings.com/device/28613292-3c03-4698-b87a-dde3914387cb/event/0e05ecb0-c405-11e8-8614-06080d87b798?all=true&source=&max=25) DEVICE status Sat, Sep 29 2018 @ 5:31:02 PM... Living Room status is Sat, Sep 29 2018 @ 5:31:02 PM BST true

where is this Math.floor error coming from?

thats rhetorical.