BobRak / OpenHAB-Smartthings

53 stars 54 forks source link

[WARN ] [s.internal.SmartthingsHandlerFactory] - Unable to locate handler for display name: Lolas Room door with attribute: temperature #39

Closed 5witch closed 5 years ago

5witch commented 6 years ago

I tried to setup temperature items for my Samsung multipurpose sensors. I remove them but Openhab seams to remember them somewhere. I see warnings like: [WARN ] [s.internal.SmartthingsHandlerFactory] - Unable to locate handler for display name: Lolas Room door with attribute: temperature.

I'm not sure if this problem is specific to OpenHab2 or the Binding. I can't find "Lola" in any of the items or other txt files.

BobRak commented 6 years ago

This is one part of OpenHAB I'm pretty fuzzy on. Is it possible that you originally set the device up using the paperUI? The things discovered through discovery vs. defined through files are separate. Maybe this is stuff you already know... I would suggest checking the paperUI (configuration -> things) and the config files in the things directory. Removing one or the other if there are duplicates.

I also have 2 of these devices and do have them working fine with the binding.

Please let me know. And, accept my apology if I'm telling you things you already know.

Bob

BobRak commented 6 years ago

Have you been able to figure out where the device info is being stored and remove it?

5witch commented 5 years ago

I've just been ignoring this. But today, having a better understanding of the binding, I unchecked these items from the OpenHabAppV2 automation in the Smartthings app, and the message stopped.

BobRak commented 5 years ago

Is this thing defined in files or through the paperUI. If in files please send me the definition in the .items and .things files. If in paperUI please send me a screenshot of the definition. From what you've given me I have no idea what kind of a thing it is.

I am currently without my computer and it will be a couple of weeks until I can look into anything. But, then I should have more time to devote to openHAB.

Bob

5witch commented 5 years ago

It's not in openhab at all. These show up in "temperature measurement" section of the OpenHabappV2 smart app Automatons options.

BobRak commented 5 years ago

Is this still an issue?

If it is showing up in "temperature measurement" section of the OpenHabappV2 smart app then it will report changes to openHab. It it isn't defined in openHab then openHab will log an error everytime the temperature changes and the hub sends a notification to openHab. You should either remove it from the OpenHabappV2 or define it on the openHab section.

thegman54 commented 5 years ago

If you are using the interface to create the THINGS for this module, it is not including the temperature attribute for the thermostat. Locate the JSONDB things file. Mine was here: /var/lib/openhab2/jsondb/org.eclipse.smarthome.core.thing.Thing.json.

Stop the OpenHab service and modify that file to include the missing attribute.

I added the below on EACH of my thermostats. Replace the segments area with your details. { "acceptedItemType": "Number", "kind": "STATE", "uid": { "segments": [ "smartthings", "thermostat", "38b86d3f", "thermostat-upstairs", "temperature" ] }, "channelTypeUID": { "segments": [ "smartthings", "temperature-channel" ] }, "label": "Temperature", "configuration": { "properties": {} }, "properties": {}, "defaultTags": [] }

Restart service and temperature will be available.