Comfort  Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

SmartThings App Crashing - Unrecognised Types for 3 Device Handlers
 Moderated by: slychiu, mattbrain, benstinton
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Friday Feb 2nd, 2018 11:50 am
   PM  Quote  Reply 
1st Post
burtonjk
Member
 

Joined: Tuesday Aug 21st, 2012
Location:  
Posts: 22
Status: 
Offline

  back to top

After this update arrived on my iPhone, the Smartthings Mobile app crashes when loading the dashboard.
The android version still loads up, but all my Comfort motion sensors are showing as ?

There is a thread on the SmartThings forum that attributes this problem to an invailid multiAttributeTile
https://community.smartthings.com/t/ios-2-14-0-released-1-30-18/117246/6
Is there something we can do to fix this, or do we need to wait for SmartThings to address it?
Thanks
Jim



 Posted: Saturday Feb 3rd, 2018 01:25 am
   PM  Quote  Reply 
2nd Post
benstinton
UCM Pi Users


Joined: Tuesday Jan 24th, 2017
Location: Birmingham, United Kingdom
Posts: 9
Status: 
Offline

  back to top

Hi Jim,
thanks for bringing this up, I've just had the same issue. Basically the latest version of ST app has become slightly stricter with Device Handler types.

Short term: yes there is a fix you can do if you are confident editing your device handlers. Basically we need to change the 'type' of three multiAttributeTiles
  1. Go to the IDE and navigate to My Device Handlers
  2. Click on ComfortAlarm Flag
  3. On line 37 it reads: multiAttributeTile(name:"rich-control", type: "switch", canChangeIcon: true){
  4. Change to: multiAttributeTile(name:"rich-control", type: "generic", canChangeIcon: true){
  5. Then click Save and then Publish For Me
  6. Back to My Device Handlers
  7. Click on ComfortAlarm Mode
  8. On line 34 it reads: multiAttributeTile(name:"rich-control", type: "switch", canChangeIcon: true){
  9. Change to: multiAttributeTile(name:"rich-control", type: "generic", canChangeIcon: true){
  10. Then click Save and then Publish For Me
  11. Back to My Device Handlers
  12. Click on ComfortAlarm Zone
  13. On line 35 it reads: multiAttributeTile(name:"motion", type: "motion", canChangeIcon: true){
  14. Change to: multiAttributeTile(name:"motion", type: "generic", canChangeIcon: true){
  15. Then click Save and then Publish For Me
  16. Then click My Hub and then View Utilities and then Reboot Hub
This fixed it for me.
Slightly Longer Term: We will update the Device Handlers and post some instructions (similar to above) on how to copy paste them into the IDE
Sorry for the inconvenience

Ben

Last edited on Saturday Feb 3rd, 2018 01:28 am by benstinton



 Posted: Saturday Feb 3rd, 2018 12:25 pm
   PM  Quote  Reply 
3rd Post
burtonjk
Member
 

Joined: Tuesday Aug 21st, 2012
Location:  
Posts: 22
Status: 
Offline

  back to top

Hi Ben

Followed your steps to modify those 3 device handlers and all is good now.

Thanks for your very prompt and effective response

Regards

Jim



 Posted: Sunday Feb 4th, 2018 01:46 pm
   PM  Quote  Reply 
4th Post
benstinton
UCM Pi Users


Joined: Tuesday Jan 24th, 2017
Location: Birmingham, United Kingdom
Posts: 9
Status: 
Offline

  back to top

After looking in to this a bit more this issue currently affects iOS users.For some users it will render the SmartThings app unusable by crashing within seconds of startup. For other iOS users the app will still run, but Zones, Modes and Flags may show as disabled. At this point we don't know the impact on Android users. We also don't know what impact there may be in the future, as our multiAttributeTiles are currently out of spec with SmartThings.
For that reason, this thread, and the instructions above are relevant for all users, and we would recommend following the steps to update the 3 device handlers, regardless of your device or current performance.



 Posted: Monday Feb 5th, 2018 04:09 pm
   PM  Quote  Reply 
5th Post
schford
UCM Pi Users
 

Joined: Wednesday Feb 25th, 2009
Location:  
Posts: 248
Status: 
Offline

  back to top

all done, thanks!



 Current time is 09:34 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems