roblans / ZWave4Net

ZWave4Net is a .NET library that interfaces with the Aeotec / Aeon Labs Z-Stick.
MIT License
41 stars 34 forks source link

Will it run on default raspberry pi? #52

Open emilmuller opened 3 years ago

emilmuller commented 3 years ago

Hi :) Before attempting this... will it work on the default raspberry pi os with .net core installed? I am slightly in doubt as Raspberry PI IoT Windows 10 was mentioned specifically.

roblans commented 3 years ago

I haven't tested it on a raspberry pi os with .net core, but it should work. The .net core 5.0 target of ZWave4Net uses the System.IO.Ports package for serial communication.

fondencn commented 3 years ago

I can confirm that it works under raspbian with all latest patches running in a. Net 5.0 application quite nicely...

emilmuller commented 3 years ago

Works on Core 3.1 at least. Some issues, but maybe not related to raspbian :) Thanks!

RicoSuter commented 3 years ago

I can confirm that it works on a Raspberry Pi (Debian) with .NET 5 with an Aeotec Z-Stick Gen5 You need to compile the libnserial for ARM and put it in the output directory where the dlls are (attached here if you cannot compile it).

libnserial.so.1.zip

I've added it to the project like so:

image