Am 05.08.2018 um 12:22 schrieb Rowan Sylvester-Bradley: > I am trying to use a DS9490R USB-to-onewire adapter. > > I want to plug it directly into my Windows PC. I may later add a > Raspberry Pi or similar, but for now I'm trying to keep things as simple > as possible. > Please go for the Raspberry Pi solution as quick as possible.
While it's certainly possible to compile *libusb* and *owserver* using *Cygwin* on MS-Windows, it's not well tested and also not an easy thing to do. Certainly no a way to go if you want to keep things as simple as possible. On the Raspberry in contrary, there are pre-compiled owfs packages for Raspbian which you just has to configure. Plus, you get network transparency of your Onwire, even over WiFi if you want. Owserver is the component which does this. It's the OWFS' owlib driver compiled into a binary which provides access to the Onewire through the network. It's a very simple TCP-based protocol. On your MS-Windows host, you can use one of the Owserver language bindings to access the Owserver. OpenHAB does just this, so it boils down to configuring the ip address of the Raspberry and that was it. So, I recommend to buy a Raspberry Pi B+ (or any of the newer ones), load an 4GB SD card with the latest Raspbian Image and install owserver via apt-get. It gets configured automatically for use with the DS9490 through the kernel driver. This is a work of one hour, even for less experienced people. The other way, compiling and configuring Owserver for MS-Windows, will take you several days and lots of frustration. Kind regards Jan ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers