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

registerOpenHabItem never gets called #8

Open
m-d-f opened this issue Mar 5, 2019 · 3 comments
Open

registerOpenHabItem never gets called #8

m-d-f opened this issue Mar 5, 2019 · 3 comments

Comments

@m-d-f
Copy link

m-d-f commented Mar 5, 2019

I took a "deep dive" into OpenHab and Z-Wave during the last days and got a working setup with a freshly installed OpenHab-Server on a Virtual Ubuntu Machine and a Razberry-Equipped Raspberry-Pi with Z-Wave.me Image.

Z-Wave-Binding is working as that vDevices from Z-wave.me are discovered in PaperUI and they can be refreshed every N-Seconds, also I found the corresponding device on the OpenHab API and am able to manipulate it's state with PUT command, like this module is supposed to do.

I was able to register OpenHabItems manually as they are not registered when they are added in OpenHab. So of course "the error" is to be expected at the other side in the Z-Way Binding-Addon of Openhab (where I will take a look next) but still I wonder...

What is the correct parameter for vDevName? Is this DeviceID I get from calling http://MYZWAYSERVER:8083/ZAutomation/api/v1/namespaces/devices_all?

And last but not least (and to really add something "useful" here):
I am not able to delete registered devices via the WebUI, the removeObserver() call is not executed correctly, it seems somehow the params are not added correctly or something, tested in Chrome Browser.

@m-d-f
Copy link
Author

m-d-f commented Mar 5, 2019

Ok, i see:
https://github.com/openhab/openhab2-addons/pull/3474

It is said that a following PR with web sockets would replace the functionality but didn't see yet if that was ever implemented ... so I guess it's ¯_(ツ)_/¯?

@m-d-f
Copy link
Author

m-d-f commented Mar 5, 2019

Ok, i guess I will go back to Openhab 2.2 for this time....

@m-d-f
Copy link
Author

m-d-f commented Mar 7, 2019

It seems the best way out of this situation for now is to use a Openhab 2.2 instance to do the registration of the devices in the OPenhab-Connector on the Z-Way-server but then to use an address of an 2.4 instance in the creation process or in the options of the Z-Way Binding on the Openhab 2.2 server. So you have the best of two worlds: Up to Date Plugin on openhab and a lazy men's workaround for the registration problem.

Will see if this workouts in the long run ....

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

1 participant