pathec / ZWay-OpenHABConnector

This module register openHAB items that will notified after status changed.
GNU General Public License v3.0
3 stars 4 forks source link

Unable to initialize new things from Z-way #7

Open FredrikKarlssonSpeech opened 6 years ago

FredrikKarlssonSpeech commented 6 years ago

This may be due to me running a pre-relaease of Z-way (2.3.8rc5) in order to fix an issue that I had with my network in the officially released version, but here goes.

I started creating things in OH before from Z-way devices so I know that it did work. Now, however I get this:

/var/log/openhab2/events.log:

2018-07-31 08:49:09.457 [me.event.InboxRemovedEvent] - Discovery Result with UID 'zway:zwayDevice:10_0_1_100:147' has been removed. 2018-07-31 08:49:09.509 [hingStatusInfoChangedEvent] - 'zway:zwayDevice:10_0_1_100:147' changed from UNINITIALIZED to INITIALIZING 2018-07-31 08:49:09.529 [hingStatusInfoChangedEvent] - 'zway:zwayDevice:10_0_1_100:147' changed from INITIALIZING to OFFLINE (CONFIGURATION_PENDING): Checking configuration and bridge... 2018-07-31 08:53:10.594 [hingStatusInfoChangedEvent] - 'zway:zwayDevice:10_0_1_100:147' changed from OFFLINE (CONFIGURATION_PENDING): Checking configuration and bridge... to ONLINE 2018-07-31 08:53:19.728 [hingStatusInfoChangedEvent] - 'zway:zwayDevice:10_0_1_100:147' changed from ONLINE to OFFLINE (HANDLER_INITIALIZING_ERROR): Error occurred when adding device as channel.

no matter which device from the Paper UI inbox I try to initialize as a Thing. And in the /var/log/openhab2/openhab.log I get

2018-07-31 08:38:59.531 [INFO ] [nding.zway.handler.ZWayBridgeHandler] - Z-Way bridge successfully authenticated 2018-07-31 08:40:55.312 [ERROR] [.zway.handler.ZWayZWaveDeviceHandler] - null 2018-07-31 08:53:09.057 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler ZWayZWaveDeviceHandler tried updating the thing stat us although the handler was already disposed. 2018-07-31 08:53:10.587 [WARN ] [.core.thing.binding.BaseThingHandler] - Handler ZWayZWaveDeviceHandler tried updating the thing stat us although the handler was already disposed. 2

which may be related.

I am running OH version 2.3.0. I actually set up devices previously using non-simple linking, and it worked then. Now, I can get neither to work.

FredrikKarlssonSpeech commented 6 years ago

An update to this issue. I may have managed to get around the issue by completely emptying the OH things / items database (moved the jsondb directory), uninstalling both the z-way binding and the openhab connector and then reinstalling them both again in reverse order. Hostname set to localhost in both the connector and the Z-way server thing.

Now, with no simple linking I can again get Items configured for a Z-wave device. At least some of the time. Some devices (Qubino roller shutters mainly as far as I can tell) will fail, although they are working well in Z-way.

Not sure if this is helpful at all.