Search code examples
.netwindows1wire

Is there any working and complete 1-Wire .NET library out there?


I have a 1-Wire USB adapter (that bluish one) and wanted to use it from a small Linux box to monitor temperatures. The Linux box is out of order right now, so in the meantime I wanted to use my .NET-based monitoring software on my Windows desktop to log the temperatures. But there doesn't seem to exist a single usable .NET library for .NET out there. The one that ships with the Maxim SDK requires J# which I do not have and want to use. I'm not even sure if I can use it with my .NET 4.0-based application since J# is discontinued AFAIK. The other "open-source effort" on SourceForge (owdotnet) is dated 2008 and looks pretty dead. There's not even any information page about it. The Maxim SDK also comes with a "Compact .NET" version which can at least find a device attached to the adapter, but I'd need to implement the whole 1-Wire protocol myself it seems (sending raw bytes, waiting a short while, and that sort of stuff). So that doesn't help much right now. Google didn't find anything else. Do you?

I have the impression that the whole 1-Wire thing is pretty dead. It can only be used on Linux systems (with owfs, which is like huge to compile), and the whole products ecosystem isn't exactly active. What other solutions are there to measure temperatures, environmental parameters (humidity, water, pressure, and the like) and states (like open doors) and maybe even do switch things (turn lights on and off) that don't cost a fortune (as with "home automation")? And are preferably also accessible from .NET code?


Solution

  • Alright, for the sake of answering questions, this question has been here long enough.

    I have come to the conclusion that there is no such library available.

    Just add your answer if you find something, please, so I can update things here.