MyNetSensors (closed)
-
I began to develop .NET controller for MySensors.
Now I have a controller in the form of a Universal Windows App, but you can use libraries for a console application, or for example ASP.NET. I posted the source on github.https://github.com/derwish-pro/MyNetSensors
I'll be glad if you will join the development of this project.
-
I noticed you said this should work on a Raspberry Pi running Windows 10. Have you tested this on Windows 10 IoT on a Raspberry Pi? I was having an adventure getting the serial gateway to work with the Raspberry Pi. FTDI USB to Serial driver issue.
-
I have not yet had the opportunity to check the work on the Raspberry, but I think it should work. I made a separate class that deals only with the interaction with the serial port. If you would have any problem with the Raspberry, you will only need to rewrite this class. I read about the problems FTDI and Raspberry compatibility. I also had problems with FTDI on PC. It worked on WinForms, but on a Universal App did not work. I tested different Serial-USB converters. Silicon Labs CP210 started to work without problems. FTDI did not want to work. But then randomly started working. I installed the last officially driver.
-
@derwish sorry about the delay in getting back to you. I have it running on a Raspberry PI 2 with a 5" screen running at 800x480. I have a serial gateway plugged into Raspberry PI and there is no devices found. I suspected that this would happen there is a whole bunch of adventures with serial ports on the Raspberry PI with Windows 10 IoT.
It may be a while before I can get to this again, but I will see what I can come up with.

-
Here is that latest update on getting it to work on the Raspberry PI. The Raspberry PI is having issues with FTDI USB to Serial. There is currently no drivers officially available. It looks like some people have gotten to work with in the foreground which this app is, but not in the background (headless). I so far have not gotten it to work with MyNetSensors.
Here are the best links I have found on this issue so far.:
http://embedded101.com/Blogs/David-Jones/entryid/702/Win-10-IoT-Core-FTDI-Issue-Update
-
I have suspended development of this program, focusing on the web version of this project. Currently, this program is inferior to the web controller in functionality. If you show interest in this project, as a separate program for Raspberry or Windows 10 standalone, I will continue its development.
-
I have suspended development of this program, focusing on the web version of this project. Currently, this program is inferior to the web controller in functionality. If you show interest in this project, as a separate program for Raspberry or Windows 10 standalone, I will continue its development.
-
@derwish Yes it would replace IIS. One of the big things is the small footprint and it would run anywhere. Microsoft seems to be putting a lot effort into getting it into the Visual Studio world. Which you know how working in Visual Studio is a great deal. Using Node.js, Express, TypeScript, Bootstrap & Angular to name a few looks very interesting to me. As you may know I'm messing around with Windows 10 IoT (core) on a Raspberry Pi. It just seems like it could turn into a nice Automation Hub, but if this is done right it could work on a lot of platforms. You could start with a headless Raspberry Pi and make it as powerful as you need.
-
@gbfromhb Thank you. One of the reasons why I began to write code in .NET - there is hope that when will come out the ASP.NET5, this project will work on any OS. I am interested to deal with it. Besides, I somehow nicer to program in C# than in JavaScript.
-
It's very interesting out there with the whole JavaScript adventure. Its use is sky rocketing and is being used across the whole stack. One thing that is very interesting to watch is the adaptation of Microsoft's TypeScript and I read something the other day that the Google V8 JavaScript engine that is what Node.JS uses will have an option to use Strong data Typing. Having the data strong typed makes it a lot easier for IDE applications like Visual Studio to provide all the features you get using C#.
-
@Zelenaar Yes the latest build of Windows IoT has opened up those pins to help with getting more flexibility when working with Serial ports. Rumor has it that if I follow this example:
https://ms-iot.github.io/content/en-US/win10/samples/SerialSample.htm
and use the latest build it could work. I now have all the hardware I need. I have not yet gotten around to testing this yet. Thanks for the input.