Closed edwolfe3 closed 4 years ago
I'm away from home this weekend so I can't look at the code. Do the things in your .things file appear in the paperui? Any error messages earlier in in the log. Do you see a message that the .things file is loaded? Have you tried restarting openHAB?
The things are in the paperui as "uninitialized'. The things file is loaded and I can't find any other messages related to smart things. This problem started happening when I rebooted Openhab but I did reboot again to no avail.
Get Outlook for Android
On Sat, Jun 13, 2020 at 1:05 PM -0400, "Bob Raker" notifications@github.com wrote:
I'm away from home this weekend so I can't look at the code. Do the things in your .things file appear in the paperui? Any error messages earlier in in the log. Do you see a message that the .things file is loaded? Have you tried restarting openHAB?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
I'm home and had a look at the code and this message means that the "Bedroom Light" isn't configure in Smartthings. It it has a status on uninitialized that would explain why openHAB doesn't know about it. I have no idea why the Things are not getting initialized.
Some things to check:
Tell me the name of your jar file. Unfortunately I've done a number of builds in the past few weeks. Currently I am making changes requested by openHAB to get it included in their release. We may have to wait until I am done with that and have another stable build.
Bob
Bob,
Sorry it took my so long to reply. I was upgrading my server and that message is now gone. I think it was an out of memory situation.
Ed
From: Bob Raker notifications@github.com Sent: Sunday, June 14, 2020 4:07 PM To: BobRak/OpenHAB-Smartthings OpenHAB-Smartthings@noreply.github.com Cc: edwolfe3 edwolfe@wolfecomputerservices.com; Author author@noreply.github.com Subject: Re: [BobRak/OpenHAB-Smartthings] Unable to locate handler for display name (#92)
I'm home and had a look at the code and this message means that the "Bedroom Light" isn't configure in Smartthings. It it has a status on uninitialized that would explain why openHAB doesn't know about it. I have no idea why the Things are not getting initialized.
Some things to check:
Tell me the name of your jar file. Unfortunately I've done a number of builds in the past few weeks. Currently I am making changes requested by openHAB to get it included in their release. We may have to wait until I am done with that and have another stable build.
Bob
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/92#issuecomment-643815659 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRFDT23ZLLLFSNZHIQHH2TRWUUWJANCNFSM4N5BIGKA . https://github.com/notifications/beacon/AJRFDTYBCQI53PMAN25T7U3RWUUWJA5CNFSM4N5BIGKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEZP5R2Y.gif
I was wrong, the binding is acting very strange. it works sometimes not other times. At the moment I'm getting the following when a command is issued to the item:
2020-06-22 12:49:47.974 [ERROR] [nal.common.AbstractInvocationHandler] - An error occurred while calling method 'ThingHandler.handleCommand()' on 'smartthingsName :Family Room Fan, thing UID: smartthings:switchLevel:House:HomeCinemaFan, thing label: Switch Level': null
2020-06-22 12:49:47.923 [ome.event.ItemCommandEvent] - Item 'GF_HomeCinema_Fan' received command ON
2020-06-22 12:49:47.955 [nt.ItemStatePredictedEvent] - GF_HomeCinema_Fan predicted to become ON
Please Note: I was forced to upgrade by Samsung, to the new App so I am no longer using the "classic app". However, I did that a many weeks ago, so I don't think that is the issue as it worked after that.
@edwolfe3 I got a new phone the other day and had no problem installing the Smartthings Classic app. I have an android. In the long run I don't think you will be able to configure the openHAB integration with the new app
One of the recommendations I made on your issue #92 was: Read about using the openhab console here. Issue the command bundle:list | grep Smartthings. Look at the version number and verify it matches the version that is part of the jar file name. If you haven't done that I highly recommend you do that.
Over the year or so a number of people have reported TimeoutExceptions and in the end they have figured it out. Try this query and have a look at #84, #69, #43
I don't have anything more to suggest. I've been running the latest jar file for sometime now and it has been working fine. Probably a week or so before I am ready to do a new build.
@BobRak
I got a new phone the other day and had no problem installing the Smartthings Classic app. I have an android. In the long run I don't think you will be able to configure the openHAB integration with the new app
See issue #83
One of the recommendations I made on your issue #92 was: Read about using the openhab console here. Issue the command bundle:list | grep Smartthings. Look at the version number and verify it matches the version that is part of the jar file name. If you haven't done that I highly recommend you do that.
__ _____ ____
_ __ / / / / | / ) / \/ \/ _ \/ \/ /_/ / /| | / | / // / // / / / / / / |/ // / __/ ._/__// /// /// |/____/ /_/ 2.5.5 Release Build
Hit '
openhab> bundle:list | grep Smart 203 x Active x 80 x 2.5.5.202006040007 x openHAB Add-ons :: Bundles :: Samsung Smartthings Binding openhab>
org.openhab.binding.smartthings-2.5.5-SNAPSHOT.jar
Over the year or so a number of people have reported TimeoutExceptions and in the end they have figured it out. Try this query and have a look at #84, #69, #43
I have done all that and MUCH more (including "reinstalling" multiple times. This binding is really fragile and down-right flaky at times. I hope the "official" version will be stable.
On last thing to try - restart your ST hub. I remember one person having issues and restarting the hub took care of it.
I submitted the binding for review over a year ago and one of the recommendations out of that was to change how I sent messages out. I am now using the recommended org.eclipse.jetty.client.HttpClient class to send messages. This seems to be what the other bindings are using to send http messages. The timeout is currently 3 seconds which should be plenty. But, I'll update it to 5 seconds.
I'm sure I've put over 200 hours into this over the past 3 years. It it isn't meeting your needs you can not use it.
I’ll try restarting the hub.
I am a developer too so I appreciate the time you have put into creating this. However, I have been having a lot of trouble with it working consistency.
From: Bob Raker notifications@github.com Sent: Monday, June 22, 2020 7:05 PM To: BobRak/OpenHAB-Smartthings OpenHAB-Smartthings@noreply.github.com Cc: edwolfe3 edwolfe@wolfecomputerservices.com; Mention mention@noreply.github.com Subject: Re: [BobRak/OpenHAB-Smartthings] Unable to locate handler for display name (#92)
On last thing to try - restart your ST hub. I remember one person having issues and restarting the hub took care of it.
I submitted the binding for review over a year ago and one of the recommendations out of that was to change how I sent messages out. I am now using the recommended org.eclipse.jetty.client.HttpClient class to send messages. This seems to be what the other bindings are using to send http messages. The timeout is currently 3 seconds which should be plenty. But, I'll update it to 5 seconds.
I'm sure I've put over 200 hours into this over the past 3 years. It it isn't meeting your needs you can not use it.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/92#issuecomment-647812087 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRFDTZIDSPZLW2KR26UR2TRX7PTJANCNFSM4N5BIGKA . https://github.com/notifications/beacon/AJRFDT2QDCGFEGXUK2VNCNDRX7PTJA5CNFSM4N5BIGKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOE2ONH5Y.gif
I'm getting the follower warning (and OpenHAB is not receiving an updated status) for all my smart thing devices:
2020-06-13 11:51:47.490 [WARN ] [s.internal.SmartthingsHandlerFactory] - Unable to locate handler for display name: Bedroom Light with attribute: switch. If this thing is included in your OpenHabAppV2 SmartApp in the Smartthings App on your phone it must also be configured in openHAB
My things are defined as (the ip address is correct and access via ping from openhab):
I've went through the entire install again and all seems to be fine. What could be problem?