Rooms Manager: Smarter Rooms: Personalized home automation with Occupancy

rooms
smartrules
microlocation
project_sensors
manager

#1589

@bangali

  1. Hi, I have a problem viewing the room status in the new Smartthings App. Are there any plans to support that?

  2. Is there any easy way to temporarily disable the app, because I’m beta testing the room manager and I’m building the rules slowly room by room and checking what works for my needs. But at the same time I’m using SmartLighting up to now (which I disable in the new Smartthings app while I’m testing RoomManager) so I want to be able to switch between those while I do the testing so I don’t have to remove all the settings everytime.


(the rooms manager guy) #1590
  1. havent tried the new app because all reports i had seen previously were the app had issues. couple of question:
    – does downloading and activating the new app disable use of the old app. if thats the case since most users are on the old app it will be hard for me move over and test the new app.
    – if not … what is the issue?

  2. havent tried the new app so not quite sure what can and cannot be done with it.


(Shane Crowhurst) #1591

Hi Bangali

I’m brand new to smart things so clearly have made a mistake installing the app, could you advise please. Many thanks


(the rooms manager guy) #1592

hello,

this is not the new ST app right? you mean installing rooms?


(Shane Crowhurst) #1593

Confused already sorry

I installed rooms manager and when I go the app if I click ‘Next’ and make any changes to the settings I get the pic above. If I click New Room the app seems to lock up with the ‘spinning wheel’ and I have to force exit the app

Sorry if I have confused you
Thanks


(the rooms manager guy) #1594

ahh ok. no you didnt confuse me. i may have confused myself after reading about the new app issue in the previous post. :slight_smile:

lets check a couple of things:

  1. have you all installed all pieces of code:
    – install rooms occupancy DTH from My Device Handlers
    – install rooms manager smartapp from My Smartapps
    – install rooms child app smartapp from My Smartapps
    – install rooms vacation smartapp from My Smartapps
  2. when the above is done:
    – log in to ST IDE and click on Live Logging
    – then try changing and saving settings and lets see what happens

#1595
  1. No I was originally using the old app, and now I have them in parallel. The only braking thing I saw is the home modes, which they don’t seem to be backwards compatible. The problem that I have with RoomManager in the new smartthings is that the rooms that I created (in your app) they appear on the list of things but when I click it it says “Can’t connect to device. Check device and try again”, whereas in the classic up it opens and shows all the stats for the room like this pic https://discourse-cdn-sjc1.com/smartthings/uploads/default/original/3X/4/2/428cea6160963468d3f4b6ec5903ec95c5a343d2.jpg

(Shane Crowhurst) #1596

Thanks I will log on now and complete as you have suggested, I think I have missed the ‘child app’ step. Will confirm once completed

Thanks again


(the rooms manager guy) #1597

ahh … ok. the new app may be using new apis which dont support custom device attributes which may be causing this issue? see this post:

but let me search around a bit and see if others have posted having issues with new app and custom DTH.


(the rooms manager guy) #1598

so there should be 4 pieces of code to install … 1 DTH and 3 smartapps … please install all of them … then try.


(the rooms manager guy) #1599

are you comfortable with a little bit of code editing from the ST IDE?

if yes … please edit the rooms occupancy DTH and change this:

definition (
	name: "rooms occupancy",
	namespace: "bangali",
	author: "bangali")		{

to this:

definition (
	name: "rooms occupancy",
	namespace: "bangali",
	author: "bangali", mnmn: "bangali", vid: "generic-button")		{

save, publish and retry please.


(Shane Crowhurst) #1600

I installed three could not find the one below, however it’s working, many thanks

  • install rooms vacation smartapp from My Smartapps

Thanks again


(the rooms manager guy) #1601

its on github in the same folder as the other smartapp sources:


#1602

No difference, I get the same error.


(the rooms manager guy) #1603

try this please:

definition (
	name: "rooms occupancy",
	namespace: "bangali",
	author: "bangali", mnmn: "SmartThings", vid: "generic-button")		{

after saving and publishing the DTH code … please quit the connect app and start up again.


#1604

I tried the steps, no difference :confused:


(the rooms manager guy) #1605

use the old app for a bit please … refactoring some code and stuff will come back to this :slight_smile:


#1606

Alright thanks :slight_smile:


(the rooms manager guy) #1607

updated to github with the following changes:

this part is important so please do this after saving the driver and all apps:

REQUIRES SAVING ROOMS MANAGER, ROOMS CHILD APP AND ROOMS VACATION SETTINGS AFTER UPDATING CODE SINCE DEVICE SUBSCRIPTIONS HAVE CHANGED.

Version: 0.99.0

DONE:   11/20/2018

1) performance optimizations for hubitat along with:
	- **REQUIRES SAVING ROOMS MANAGER, ROOMS CHILD APP AND ROOMS VACATION SETTINGS AFTER UPDATING CODE SINCE SUBSCRIPTIONS HAVE CHANGED.**
	- heavy code reuse
	- deprecated code for alarm settings in rooms occupancy device
	- deprecated code for setting room to engaged with music player
	- deprecated code for setting window shades with rules
	- moved settings view code to new rooms child settings app so its take it out of runtime
		- **REQUIRES SAVING ROOMS CHILD SETTINGS CODE AS A NEW APP.**
2) added option to set room to asleep at time of day

(Richard Bryant) #1608

Have you fixed this issue? Updated the 3 apps and the 1 DTH. Btw vaction is updated but not published.

Logging

c1755d3a-7a99-4053-8b3b-965336e29e0d 8:21:38 PM: error physicalgraph.exception.NotFoundException: Cound not find a SmartApp with the name rooms child settings in namespace bangali @line 1337 (spawnChildSettings)

edited
Resolved, needed to install new child settings app