Open sjorge opened 5 years ago
illumos is fork of opensolaris, so I think I might need to rename illumos to solaris everywhere, pending testing with OpenHAB
Yep, as illumos still uses all the headers and include under 'solaris' directory, this needed to be rename.
I am still having issues with openhab so perhaps I need to find a simpler program to test if my modifications are correct instead of using something so complex from the get go.
Looks like some more patching is needed, I'll look into it. The native lib still compiles but does not seem to work anymore for illumos/solaris. Not sure I can fix that as it is getting out reach of my skill set.
I've update the diff in the first comment
2019-02-10 11:19:01.434 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/cua/0'
2019-02-10 11:19:01.455 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2019-02-10 11:19:01.480 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2019-02-10 11:19:01.481 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false
Openhab now reports zwave as working! After compiling wit these patches and dropping the new library in /opt/openhab/addons!
Shall I open a PR?
Just confirmed, openhab is seeing my zwave sensor perfectly with this patch applied.
cool, submit a PR and add toolchain-build instructions to the readme for building under ubuntu 18.04.
While trying to use OpenHAB on illumos (SmartOS distro, more specific) I noticed there is no support in nrjavaserial so I cannot connect to my zwave serial device. It throws the following errors:
I made a quick and dirty hack to get the native bindings and have a patch:
Once I know for sure this is working, would there be interesting in a PR?