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

[onewire] OFFLINE - CONFIGURATION_ERROR required properties missing #6189

Closed
Project51At opened this issue Oct 6, 2019 · 2 comments
Closed
Assignees
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@Project51At
Copy link

As described in issue #6904, I also get the error message

"CONFIGURATION_ERROR required properties missing"

Using openHAB 2.5.0.M3 with the latest version (https://janessa.me/esh/) of the binding

binding version

openhab> bundle:list | grep -i onewire
289 x Active x  80 x 2.5.0.201907130752    x openHAB Add-ons :: Bundles :: OneWire Binding
openhab>

Thing

Bridge onewire:owserver:bridge [network-address="localhost", port=2121 ] {						
    Thing basic mysensor [
        id="28.01C1AC050000", 
        refresh=60
        ] {
            Channels:
                Type temperature-por-res : temperature [
                    resolution="11"
                ]
        } 
    Channels:
        Type owfs-number : crc8errors [
            path="statistics/errors/CRC8_errors"
        ]
}

Log

2019-10-06 15:51:45.413 [hingStatusInfoChangedEvent] - 'onewire:owserver:bridge' changed from UNINITIALIZED to INITIALIZING

2019-10-06 15:51:45.427 [hingStatusInfoChangedEvent] - 'onewire:owserver:bridge' changed from INITIALIZING to UNKNOWN

2019-10-06 15:51:45.433 [hingStatusInfoChangedEvent] - 'onewire:owserver:bridge' changed from UNKNOWN to ONLINE


2019-10-06 15:51:45.460 [hingStatusInfoChangedEvent] - 'onewire:basic:bridge:mysensor' changed from UNINITIALIZED to INITIALIZING

2019-10-06 15:51:45.480 [hingStatusInfoChangedEvent] - 'onewire:basic:bridge:mysensor' changed from INITIALIZING to OFFLINE (CONFIGURATION_ERROR): required properties missing

2019-10-06 15:51:46.391 [TRACE] [ternal.handler.OwserverBridgeHandler] - refresh: getting handler for onewire:basic:bridge:mysensor (1 to go)

2019-10-06 15:51:46.394 [TRACE] [ternal.handler.OwserverBridgeHandler] - onewire:basic:bridge:mysensor not initialized, skipping refresh

2019-10-06 15:52:11.513 [hingStatusInfoChangedEvent] - 'onewire:basic:bridge:mysensor' changed from OFFLINE (CONFIGURATION_ERROR): required properties missing to UNINITIALIZED

2019-10-06 15:52:11.526 [TRACE] [al.OwDynamicStateDescriptionProvider] - removing state description for thing onewire:basic:bridge:mysensor

2019-10-06 15:52:11.536 [ERROR] [ng.onewire.internal.OwHandlerFactory] - factory org.openhab.binding.onewire.internal.OwHandlerFactory@f43d4b deleting thing org.eclipse.smarthome.core.thing.internal.ThingImpl@e84e0e9f

2019-10-06 15:52:11.540 [hingStatusInfoChangedEvent] - 'onewire:basic:bridge:mysensor' changed from UNINITIALIZED to UNINITIALIZED (HANDLER_MISSING_ERROR)

2019-10-06 15:52:11.544 [hingStatusInfoChangedEvent] - 'onewire:owserver:bridge' changed from ONLINE to UNINITIALIZED

2019-10-06 15:52:11.565 [hingStatusInfoChangedEvent] - 'onewire:owserver:bridge' changed from UNINITIALIZED to ONLINE

2019-10-06 15:52:11.581 [DEBUG] [org.openhab.binding.onewire         ] - ServiceEvent UNREGISTERING - {org.eclipse.smarthome.config.discovery.DiscoveryService}={service.id=450, service.bundleid=289, service.scope=singleton} - org.openhab.binding.onewire

2019-10-06 15:52:11.595 [ERROR] [ng.onewire.internal.OwHandlerFactory] - factory org.openhab.binding.onewire.internal.OwHandlerFactory@f43d4b deleting thing org.eclipse.smarthome.core.thing.internal.BridgeImpl@539f3b86

2019-10-06 15:52:11.597 [hingStatusInfoChangedEvent] - 'onewire:owserver:bridge' changed from ONLINE to UNINITIALIZED (HANDLER_MISSING_ERROR)

2019-10-06 15:52:11.676 [DEBUG] [ternal.handler.OwserverBridgeHandler] - could not read direct channel onewire:owserver:bridge:crc8errors: I/O error: exception while reading packet - Read timed out

2019-10-06 15:52:11.679 [TRACE] [ternal.handler.OwserverBridgeHandler] - update: getting handler for onewire:basic:bridge:mysensor (0 total in list)

2019-10-06 15:52:11.681 [DEBUG] [ternal.handler.OwserverBridgeHandler] - onewire:basic:bridge:mysensor is missing handler, removing from property update list
@Project51At Project51At added the bug An unexpected problem or unintended behavior of an add-on label Oct 6, 2019
@J-N-K
Copy link
Member

J-N-K commented Oct 6, 2019

Can you please try if it works with a PaperUI configured bridge& thing? And are you sure 2121 is the correct port?

@J-N-K J-N-K self-assigned this Oct 6, 2019
@Project51At
Copy link
Author

Hello Jan,

When I used port 4304, I received the following error messages

2019-10-06 21:05:03.947 [hingStatusInfoChangedEvent] - 'onewire:owserver:09d82b7e' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR)
2019-10-06 21:05:03.948 [hingStatusInfoChangedEvent] - 'onewire:owserver:09d82b7e' changed from OFFLINE (COMMUNICATION_ERROR) to ONLINE

falsely wise, I then used the httpd port 2121 but the thing went online

Via Issue #69481, I came up with the fact that my owfs.conf causes the problem.

I changed

server: port = localhost:4304
to
server: port = 127.0.0.1:4304

and the bonding was working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

2 participants