Virtual Device Manager - Create Virtual Devices Without the IDE

cant install the 2nd child app

physicalgraph.app.exception.UnknownDeviceTypeException: Device type ‘null’ in namespace ‘smartthings’ not found. @ line 78

It sounds like you don’t have the “Momentary Button Tile” and “On/Off Button Tile” self-published.

  • Log in to https://graph.api.smartthings.com
  • Click “My Device Types”
  • Click “New Device Type”
  • Click “From Template”
  • Click “Momentary Button Tile”
  • Click “Create”
  • Click “Save”
  • Click “Publish -> For Me”

Repeat for “On/Off Button Tile”.

OK That error went away but still cannot install the child app getting an unexpected error. Nothing showing in logs.

you don’t install the child app directly, the parent installs it.

Duh. Got it working Thanks

Great minds think alike again, apparently. :sunglasses:

1 Like

D’oh!

(and I’m saving this to prove to my wife that I do, in fact, have a great mind!)

1 Like

@btk - I shall also use this coincidence as conclusive, demonstrative proof of my brilliance. :sunglasses:

2 Likes

Will either of these apps also remove the virtual switches if you decide you no longer need them?

Yep. It’s just like uninstalling a child rule in Smart Lighting. You just want to make sure you go into the child device before hitting “uninstall”. Doing so on the list of child devices will uninstall the entire app.

1 Like

Yup at least this version of i you can. 1st thing I tested. :smile:

Yes. SwitchMania will remove the virtual switches (and / or the links to Routines) if you decide you no longer need them.

2 Likes

Just to pass this on… On Android App. When I access the parent app then click the plus… It just crashes the app and cycles it back up again… Any ideas?

Nope, I’m an iOS user. There have been a lot of reports of odd behavior with the Android app lately, though. I don’t think I’m doing anything non-standard. Try the SwitchMania app and report back if it works. If it does, I can compare code to see what’s going on.

Ok it looks like this one actually works for the switch creation - However I’m having trouble installing the 3rd (2nd child app). about to report the error on that thread.

I can confirm that I can’t install child apps on android, just crashes. But I can via iOS, no crashing.

I have no problems on Android 2.0.7 creating SmartTiles Child SmartApps (from SmartTiles (Connect) parent).

I don’t have a problem on android in Smart Tiles either. I just meant on the VDM Manager.

1 Like

Sorry. I don’t have any android devices to test with. It’s a shame that supposedly valid code works on one platform but not another. I’d be happy to accept a PR if anyone knows the secret handshake for Android, though.

1 Like

Getting error =Java.lang.IllegalArgumentException: Metadata definition not found
when trying to install the Momentary Switch Template.

Thoughts on how to fix this?

thanks in advance

pete