genielabs / zwave-lib-dotnet

Z-Wave Home Automation library for .NET / Mono
Apache License 2.0
63 stars 37 forks source link

Windows serial port format? #17

Closed reskin closed 4 years ago

reskin commented 7 years ago

My Z-stick is assigned COM7 ... I tried "COM7", "com7", "COM7COM", can't get it to work on Windows in C#... am I being dense? It shows 0 nodes and not connected but if I load it in Axial Server I see my irrigation controller.

yesyesuk commented 7 years ago

I got the Test.ZWave demo "working" using this COM port name:

private static string serialPortName = "COM10"; (line 16 in Program.cs)

Bounz commented 7 years ago

@reskin, this could be possible if you try to run Test program while Axial Server is also running. I have had the similar issue on Raspberry Pi when other application had ownership of z-wave stick.