Custom Capability and CLI Developer Preview

@nayelyz, how do you add the unit to the schema in the capability definition? This is not part of the tutorial.
The unit is ‘%’,

@nathancu I think they know that & the funny thing is people who are trying to just control their tv with smartthings, which this is meant for…they cant even so that. Very sad the way samsung is moving forward. I keep hearing how they are poring more money into.development but the way things are moving is doesnt look that way. Samsung is not google or apple or even Microsoft where they are willing to take losses to advance the platform.

is there any other display item that I can use for this purpose ?
buttonA = left
buttonB = right
buttonC = up

My device plug in just got updated to 2.1.19-7, and my pushbutton started to work

And as always with an update from ST, something else broke. Capabilities thermostatHeatingSetpoint and thermostatCoolingSetpoint no longer displays on devices

@nayelyz @erickv

Suddenly the Heating Setpoint capability is no longer rendering as of this morning.
This is what was showing up last week:
image

This is what is showing up today:

Notice the “Heating temperature” setpoint has gone missing for ALL devices using that capability presentation. Here’s the VID for the above that was working until the weekend. There are others all exhibiting the same issue: c6747aa0-6dd5-35ba-9c38-3683aefa36bc

{
			"component": "main",
			"capability": "thermostatHeatingSetpoint",
			"version": 1,
			"values": [],
			"patch": [],
			"visibleCondition": null
}

EDIT: Apparently there was a plugin update over the weekend which is likely causing this issue and it’s affecting any thermostat using Thermostat Heating Setpoint

how do you update device plugin ?

Thank you, @RBoy for letting us know about this issue. Our team is looking into it in detail.

It happens automatically, you can check your version by going to any random device in the app, press the 3 dots in the corner and then information. The version number should be there

the workaround to kill the app, edit device label in ide then restart the app is no longer working to pickup updated device config.

kind of dead in the water here.

Hello.
Is there any update regarding creating automations using custom capabilities??

1 Like

so automations can’t control simulated devices? was trying to setup SPS to mirror the phones using automations … since phones don’t show as up presence sensors anymore. that’s how i found out.

writing generic code to control any device from any automation and allowing automations to execute any command supported by the device is simpler than supporting controlling some devices and not others. won’t even go into the bewildering decision of why phones don’t show up as presence sensors anymore.

so ST … if one is permitted to ask … why on god’s green earth doesn’t automations support controlling simulated devices?

thank you.

2 Likes

this needed a solution. hate doing one offs. so ported WATO … something i had coded for the HE platform last year. solved my presence sensor problem but is capable of doing much more than just that:

Anyone else have trouble getting there custom capabilities to appear in the REST API. It seems sometimes they will appear when I make a request to get the status of a device and then sometimes they will be missing.

Any help/tips would be helpful!

When generating custom capabilities I can’t get the associated control to show up in the device’s details. Is there any new steps that are missing from the guide?

That makes 2 of us. Anyone?

I’ve lost track of what is going on. Last time I experimented I found that capability presentations were now updating independently of the device presentations. Any change I made to a capability presentation would now be applied to every device that was configured to use it. This solved the problem of needing to generate a new device presentation every time, but created two new ones because there was no way to stop it being used for a device, and no way to make it appear instantly. I just had to wait all day or all night and see what happened.

I was surprised that others didn’t seem to also be seeing this, but perhaps they are as it would explain why capabilities often seem to show up when others try them.

how does one present these full width cards with tabs like home monitor does?

thank you.

Hi, @RBoy

I’ve been testing around this issue and now the Thermostat Heating Setpoint capability is displaying correctly with DTH and ST Schema devices.

Can you please confirm if it is working for you as well?

Yup it’s back in all the heating thermostats, thanks for the update @erickv

2 Likes