There was a typo in the code I shared, should be: mnmn: "SmartThingsCommunity"
One of the official capabilities looks like this:
I have added some more custom capabilities, I can share the metadata if someone is interested
Yes I’am
Thank You
Try to replace the metadata section with this:
metadata {
definition (name: "Neato Botvac Connected Series", namespace: "alyc100", author: "Alex Lee Yuk Cheung", ocfDeviceType: "oic.d.robotcleaner", mnmn: "SmartThingsCommunity", vid: "1b47ad78-269e-3c5c-a1a9-8c84d2a2ef05") {
capability "Battery"
capability "Polling"
capability "Refresh"
capability "Switch"
capability "Actuator"
capability "Health Check"
capability "islandtravel33177.neatoBin"
capability "islandtravel33177.neatoNetwork"
capability "islandtravel33177.neatoStatus"
capability "islandtravel33177.neatoDockStatus"
capability "islandtravel33177.neatoCharging"
capability "islandtravel33177.neatoStatusMsg"
command "dock"
command "enableSchedule"
command "disableSchedule"
command "resetSmartSchedule"
command "setCleaningMode", ["string"]
command "setNavigationMode", ["string"]
command "setPersistentMapMode", ["string"]
command "setSecretKey", ["string"]
command "findMe"
//attribute "network","string"
//attribute "bin","string"
//attribute "status","string"
}
It works perfectly.
A tip for the less experienced like me.
After updating the code from the devicehandler, you need to delete the device from the Smartthings app and then add it again by running the smartapp
Does the code on Git Hub updated with new changes?
No it’s not - this is still (VERY) prototype code.
@cscheiene - I see you commented out the network, bin and status attributes?
Yes that’s because those attributes are included in the custom capabilities.
I suspected - but don’t have the CLI installed on my work PC to check. 
I’m looking at a few tricks to make the custom actions apply without requiring blowing away the devices. Will let you know if any work.
Hi, sorry, what is CLI? I’m not a developper, I’m just a curious person who tries to make do with home automation as much as possible 
Looks great that this stuff can be added to the new smart app. I would love for zone cleaning integration if at all possible?
CLI: Command Line Interface: It’s one of the tools you use to create / build / publish custom capabilities and presentations.
It’s the part we’ re going to have to use to fill the second part of the functionality being asked from - such as the ask from @dlfranks
For those following along in the home game: here’s the most distilled way to summarize this issue. Samsung as part of the transition created standard device capabilities, and pre-build the way they show up in the app for these standard capabilities. They’ve provided a ‘Robot Vacuum’ in this class if you want to use those capabilities and features defined for a robot vacuum in your UI - just add the relevant pieces in (usually it means bending to their naming convention) and poof there you go as long as you’re ok with what they give you for a UI. (This is how the latest edits give you that cool vacuum icon.
As you can imagine you’re going to run into a capability that isn’t in the default kit. The CLI and custom capability/presentation beta is SmartThings replacing that missing functionality. It’s VERY beta and isn’t entirely predictable yet. (Why you’re seeing devs test by trial and error, asking what you see and gathering the info) Things like custom buttons, picking zones, displaying the cleaning map will all require custom capabilities. This is what @cscheiene is adding in his post up above… (And part of my ask to him, you need the tools I noted to read what’s in these custom capabilities)
As devs figure out how to implement more advanced tings like buttons with labels, and a window to pull in a picture with the custom capabilities… You’ll see more added…
I have 2 Neato D7’s and I’m fully willing to beta test. I’m also the beta manager for my software company. If you’ve already got it under control, no hard feelings. I’m just trying to be helpful on an integration that I care about.
VERSION HISTORY
- 09-12-2020: 1.15 - New Smartthings UI. Thanks to @cscheiene for the work.
Is it possible to have the icon that identifies the activity or standby status, as for the other Smartthings icons? It is now off, but the icon highlights it as if it were on
Thank
I could only do this if I had the switch capability on the main page. If I find a way to do it I will update the presentation
Hi @cscheiene !
Could you share code of capabilities you added ?
capability “islandtravel33177.neatoBin”
capability “islandtravel33177.neatoNetwork”
capability “islandtravel33177.neatoStatus”
capability “islandtravel33177.neatoDockStatus”
capability “islandtravel33177.neatoCharging”
capability “islandtravel33177.neatoStatusMsg”
Thanks a lot for you great work !
When I try to add my neato connected I get an error saying “We’re having trouble connecting. Check your network connection and try again”. This has happened multiple times. Each time it does create a new device, but when I press on nothing happens. When I reopen the app it just takes me back to the config screen where you select your neato botvac.
Happens on wi-fi and mobile data, my smartthings app can control other devices successfully and I can control my botvac from the neato app so I know it is connected as well.
only modifying metadata makes it work ?
how do the relation between events and attributes are done when the attribute/capability is renamed ?
or should we get the full DTH code from somewhere ?
Is there any way for me to trigger my D7 to clean a particular zone?
Hello everyone. It is only a year and a half that I have dived into the world of smartthings. is I’ve been using the neato integration recently. My only doubt was about the refresh rate of the state. Let me explain better, I have the robot that has cleaning set up during my working hours, so with an active alarm. but when the cleaning starts, it invites you to activate the perimeter mode as per the app, the alarm starts. only if I open smartthing and then the robot updates the status. it’s normal I can fix it in some way. eh sorry my bad english.


