I’ll add since somewhat related – we need more icon options for Scenes!!! It’s so limiting as-is.
I extracted this out of the Developer Workspace a few months back. I make no claims for it, other than it is the list that was available for creating Device Profiles at the time.
UPDATE: This list has been referenced in various places so I thought it should have an update. This version was created on 9th October 2021. The ‘Device Type’ column appears in PascalCase in certain contexts. I chose to use the readable version …
| Device Type | ocfDeviceType |
|---|---|
| Air Conditioner | oic.d.airconditioner |
| Air Purifier | oic.d.airpurifier |
| Air Quality Detector | x.com.st.d.airqualitysensor |
| Battery | x.com.st.d.battery |
| Blind | oic.d.blind |
| Blu-ray Player | x.com.st.d.blurayplayer |
| Camera | oic.d.camera |
| Contact Sensor | x.com.st.d.sensor.contact |
| Cooktop | x.com.st.d.cooktop |
| Dishwasher | oic.d.dishwasher |
| Door Bell | x.com.st.d.doorbell |
| Dryer | oic.d.dryer |
| Elevator | x.com.st.d.elevator |
| Fan | oic.d.fan |
| Feeder | x.com.st.d.feeder |
| Garage Door | oic.d.garagedoor |
| Gas Valve | x.com.st.d.gasvalve |
| Health Tracker | x.com.st.d.healthtracker |
| Hub | x.com.st.d.hub |
| Humidifier | x.com.st.d.humidifier |
| IR Remote | x.com.st.d.irblaster |
| Irrigation | x.com.st.d.irrigation |
| Leak Sensor | x.com.st.d.sensor.moisture |
| Light | oic.d.light |
| Light Sensor | x.com.st.d.sensor.light |
| Massage Chair | x.com.st.d.massagechair |
| Motion Sensor | x.com.st.d.sensor.motion |
| MultiFunctional Sensor | x.com.st.d.sensor.multifunction |
| Network Audio | oic.d.networkaudio |
| Others | oic.wk.d |
| Oven | oic.d.oven |
| Power Meter | x.com.st.d.energymeter |
| Presence Sensor | x.com.st.d.sensor.presence |
| Refrigerator | oic.d.refrigerator |
| Remote Controller | x.com.st.d.remotecontroller |
| Robot Cleaner | oic.d.robotcleaner |
| Siren | x.com.st.d.siren |
| Smart Lock | oic.d.smartlock |
| Smart Plug | oic.d.smartplug |
| Smart Tag | x.com.st.d.tag |
| Smoke Detector | x.com.st.d.sensor.smoke |
| Solar Panel | x.com.st.d.solarPanel |
| Sound Sensor | x.com.st.d.sensor.sound |
| Stove | x.com.st.d.stove |
| Switch | oic.d.switch |
| Television | oic.d.tv |
| Thermostat | oic.d.thermostat |
| Vent | x.com.st.d.vent |
| Voice Assistance | x.com.st.d.voiceassistance |
| Washer | oic.d.washer |
| Water Heater | x.com.st.d.waterheater |
| Water Valve | oic.d.watervalve |
| WiFi Router | oic.d.wirelessrouter |
| Wine Cellar | x.com.st.d.winecellar |
Thank you! I have bookmarked this page…
One more thing. Can you point me to where you found the information. I’ve been looking around in the new documentation (https://smartthings.developer.samsung.com/docs/devices/device-profile.html) no no avail.
Thanks,
Jose
I logged into the Developer Workspace, went to the Device Profiles, and looked to see what device types there were to choose from when editing profiles.
Could really use a Christmas icon and a Fireplace icon. Any suggestions?
You may want to check out https://sharptools.io and https://actiontiles.com
It might be possible to change the icons on their interface.
Almost certainly it’s because you have the word “switch“ in the name of one of them.
Smartthings does have some cloudside logic That tries to guess facts about a device based on the name that you give it. This was initially done to influence the details that were given to the voice assistants, but it will happen whether you have a voice assistant linked or not.
Smartthings does have some cloudside logic That tries to guess facts about a device based on the name that you give it. This was initially done to influence the details that were given to the voice assistants, but it will happen whether you have a voice assistant linked or not.
There was also a switch of the handler’s default ‘ocfDeviceType’ from ‘oid.d.light’ to ‘oic.d.switch’ in July 2019 which would/could/might make a difference if a couple of the devices were already paired back then and the other one is more recent.
Almost certainly it’s because you have the word “switch“ in the name of one of them.
I hadn’t paid any attention in a while, but now all of my Leviton dimmers (wall and plug-in) show with a switch icon plug-in (Den Lamp, Floor Lamp, Bedroom, Kitchen, Living Room) wall(Sink, Spotlight).
So something has changed again.
They should let you select your own icons…
I hadn’t paid any attention in a while, but now all of my Leviton dimmers (wall and plug-in) show with a switch icon plug-in (Den Lamp, Floor Lamp, Bedroom, Kitchen, Living Room) wall(Sink, Spotlight).
So something has changed again.They should let you select your own icons…
A lot of the devices in that handler have been retrospectively fingerprinted with the ‘smartplug’ icon so they may have picked that up for whatever reason.
Being able to choose your own icons doesn’t seem like it should require a giant leap.
They should let you select your own icons…
Like they used to do in the Classic app. ![]()
I installed a GE fan control switch. I selected the correct device type on installation. However the icon is a light. Also the device screen in the app shows infinitely variable dimming. The physical switch no longer works as a fan switch with a number of levels that you toggle through by tapping the switch lightly up or down. Instead you must hold the switch in to dim to a lower level. This is almost impossible to do. All other fans have been changed to the new icon and dimming device driver. All the fan switches don’t work properly any more.
refraining… you or ST picked the wrong device handler. log into ide and change the device handler, select z-wave fan controller.
Thanks Eric, I’ll try that out. It was ST that picked the controller. I both selected GE fan control and ST scanned the bar code on the device.
bar code is just for high security devices (S2) which most new devices are now. it might take a while for the correct icon to appear.
Can someone help me figure out how to find this line of code, i did a keyword search for “ofcDeviceType” on my DTH code and got 0 results
Sorry, not catching on, can you clarify a bit more. My device is a qubino shutter switch and the icon is a window blind, looking at the code i don’t see “ocfDeviceType” in the actual code anywhere. I guess i don’t understand what you mean by metadata, i assumed that meant the actual code of the device handler
Can someone help me figure out how to find this line of code, i did a keyword search for “ofcDeviceType” on my DTH code and got 0 results
The ocfDeviceType (ocf not ofc) needs to be added to the arguments of definition() in your DTH if you don’t already have it. So if you have:
definition( name: 'My Device', author: 'Joe Bloggs', namespace: 'fragrantegg' )
… you would change it to …
definition( name: 'My Device', author: 'Joe Bloggs', namespace: 'fragrantegg', ocfDeviceType: 'oic.d.blind' )
There is a limited range of possible values, some of which you will see an earlier post in this thread. If you look at the icons that are displayed when you add a device by type in the mobile app, that might give you clues what some of them look like.
After adding to your DTH you will need to save and publish it again, and you will probably benefit from going to the device pages for your devices using that handler in the IDE, Editing the page, making a change to something significant like the Device Name or Device Label, and hitting Update. You can do it again to revert the changes. That usually gives things enough of a kick to make your app update the presentation it uses.


