Deconz-rest-plugin: deCONZ REST-API Development on Windows?

Created on 15 Apr 2018  ·  4Comments  ·  Source: dresden-elektronik/deconz-rest-plugin

I would be interested in trying to extend the REST-API plugin, but due to several reasons my main working machine is a Windows 10 machine and deCONZ runs on a Raspberry Pi.

As the Pi hardly seems feasible as a development machine, is there an easy way to compile the plugin on Windows? In the readme compiling it on Linux is documented, but I could not find anything about doing it on Windows.

Or has anybody yet tried to work with deCONZ in the Windows Subsystem for Linux?
It's included with Windows 10, comes with a full Ubuntu userland and runs native Linux ELF binaries, but only 64 bit.

Thanks,
Felix

Most helpful comment

@manup - Is there a way to force deCONZ to a specific serial port? My guess would be that deCONZ does not detect the ConBee because it is only available as a plain serial port, but not as an USB device.

Not yet but it is planned for the next days, since it is also required for easier docker image integration.

All 4 comments

A short update: I was actually able to start deCONZ within WSL (even with the X11 GUI), but unfortunately deCONZ does not detect the ConBee even though it's available within WSL as /dev/ttyS6.

@manup - Is there a way to force deCONZ to a specific serial port? My guess would be that deCONZ does not detect the ConBee because it is only available as a plain serial port, but not as an USB device.

Thanks,
Felix

@manup - Is there a way to force deCONZ to a specific serial port? My guess would be that deCONZ does not detect the ConBee because it is only available as a plain serial port, but not as an USB device.

Not yet but it is planned for the next days, since it is also required for easier docker image integration.

Great, thank you!

It's available for some time now by using the switch --dev when starting deCONZ - thanks @manup !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

marthoc picture marthoc  ·  6Comments

wizkidorg picture wizkidorg  ·  3Comments

horchi picture horchi  ·  5Comments

flex-0 picture flex-0  ·  4Comments

qm3ster picture qm3ster  ·  3Comments