Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'rflink:bridge:usb0' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING) #51

Open
soyxan opened this issue Dec 17, 2019 · 3 comments

Comments

@soyxan
Copy link

soyxan commented Dec 17, 2019

hello,

I am using openhab 2.4.1 on a RPi3, and i get the following message in the "events.log" file:

'rflink:bridge:usb0' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_CONFIGURATION_PENDING)

And this is the content of my "openhab.log" file after restarting openhab2 (and having DEBUG enabled for rflink addon: log:set DEBUG org.openhab.binding.rflink):

2019-12-18 10:08:49.598 [DEBUG] [org.openhab.binding.rflink          ] - BundleEvent [unknown:512] - org.openhab.binding.rflink
2019-12-18 10:08:49.674 [DEBUG] [org.openhab.binding.rflink          ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.core.thing.binding.ThingHandlerFactory}={service.id=120, service.bundleid=198, service.scope=bundle, component.name=org.openhab.binding.rflink.internal.RfLinkHandlerFactory, component.id=12} - org.openhab.binding.rflink
2019-12-18 10:08:49.685 [DEBUG] [org.openhab.binding.rflink          ] - BundleEvent STARTING - org.openhab.binding.rflink
2019-12-18 10:08:49.689 [DEBUG] [org.openhab.binding.rflink          ] - BundleEvent STARTED - org.openhab.binding.rflink
2019-12-18 10:08:51.871 [INFO ] [panel.internal.HABPanelDashboardTile] - Started HABPanel at /habpanel
2019-12-18 10:08:52.210 [INFO ] [ebuilder.internal.HomeBuilderServlet] - Started Home Builder at /homebuilder
2019-12-18 10:09:04.558 [INFO ] [thome.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2019-12-18 10:09:06.494 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'rflink.things'
2019-12-18 10:09:06.879 [DEBUG] [rflink.internal.RfLinkHandlerFactory] - RfLinkHandlerFactory createHandler(rflink:bridge:usb0)
2019-12-18 10:09:06.903 [DEBUG] [org.openhab.binding.rflink          ] - ServiceEvent REGISTERED - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=294, service.bundleid=198, service.scope=singleton} - org.openhab.binding.rflink
2019-12-18 10:09:07.776 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at http://192.168.1.10:8080
2019-12-18 10:09:07.779 [INFO ] [.dashboard.internal.DashboardService] - Started Dashboard at https://192.168.1.10:8443
2019-12-18 10:09:08.292 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /paperui

This is the content of my .things file

Bridge rflink:bridge:usb0 [ serialPort="/dev/ttyACM0", baudRate=57600 ] {
    energy myEnergy [ deviceId="OregonCM119-0004" ]
}

i am able to "cat" "/dev/ttyACM0" so my rflink is working.

But I am not able to see any device on discovery.

I have already issued the following command on the openhab console:

feature:install openhab-transport-serial

Do I need to do something else?
Thanks in advance!

@soyxan
Copy link
Author

soyxan commented Dec 23, 2019

Finally I solved it. I do not know why but defining the thing manualy (.thing file) was not working. Using discovery feature instead worked. So i plan to use Paper UI for things and all the other configurations in files.

@soyxan
Copy link
Author

soyxan commented Dec 24, 2019

BTW I have upgraded to openhab 2.5.0 and the binding is working fine. Thanks @cyrilcc and @cartemere for your great work!

@cartemere
Copy link
Collaborator

cartemere commented Dec 24, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants