MyNodes.NET 2.0
-
Looking good, I setup my ethernet gateway quite quickly. I'm running on windows and I did have to "unblock" the zip before extracting or it threw an error on start up regarding CAS policy.
I've noticed though as I'm running Openhab and MyNodes.NET side by side on the ethernet gateway I see the openhab log flooded with the return for a gateway version request from a controller. I see nothing in the logs to suggest MyNodes.NET is sending this but closing it stops the messages etc so I suspect it is. Seems every second it's requesting the version..
See example from OpenHab log.
22:43:22.740 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;0;1;0;0;36.0 22:43:25.739 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 22:43:35.746 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 22:43:45.762 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 22:43:55.031 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;0;1;0;0;36.0 22:43:55.764 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 22:44:05.462 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 9;0;1;0;1;28.6 -
@derwish, I'm getting an illegal instruction error.
It seems to come from the dnx, actually when I try dnx --version I get the Illegal instruction.
the dnvm list seems fine
pi@rpic:~ $ dnvm list Active Version Runtime Architecture OperatingSystem Alias ------ ------- ------- ------------ --------------- ----- 1.0.0-rc1-update1 coreclr x64 linux * 1.0.0-rc1-update1 mono linux/osx defaultnot sure where it went wrong and I have no clue where to look.
This is Raspien latest version after plenty of apt-get update and upgrade
EDIT:
Re installed from start, dnx is working fine and I can even start the web server.
However now I cant get passed the serial device selection
I have the arduino gateway on usb with the gateway beta 2.0 installed, and I get this:
Any tips?
Thanks
@barduino At the moment there are some problems working with the serial port under Linux in ASP.NET5. I wrote about this in Troubleshooting. I made a request to Microsoft, but they answered that probably this is a problem in mono. I'm waiting for the update mono and ASP.NET5 RC2. But now there is only the possibility to use Ethernet-gateway.
-
Looking good, I setup my ethernet gateway quite quickly. I'm running on windows and I did have to "unblock" the zip before extracting or it threw an error on start up regarding CAS policy.
I've noticed though as I'm running Openhab and MyNodes.NET side by side on the ethernet gateway I see the openhab log flooded with the return for a gateway version request from a controller. I see nothing in the logs to suggest MyNodes.NET is sending this but closing it stops the messages etc so I suspect it is. Seems every second it's requesting the version..
See example from OpenHab log.
22:43:22.740 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;0;1;0;0;36.0 22:43:25.739 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 22:43:35.746 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 22:43:45.762 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 22:43:55.031 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 1;0;1;0;0;36.0 22:43:55.764 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 0;0;3;0;2;1.5 22:44:05.462 [DEBUG] [g.mysensors.protocol.MySensorsReader] - 9;0;1;0;1;28.6@Qu3Uk Thanks for the hint to unlock the zip archive. I got this problem while testing on some computers with Windows 7, and could not understand how to fix it. In Windows 10 this problem is not present. I'll write about it on the website.
About the request version. The controller queries the version of the gateway every 10 seconds, to make sure that the gateway is still connected. If the gateway does not respond, the controller will try to reconnect to it. This is a mechanism to protect against disconnects. Log console filters those messages by default, but you can see them if you enable Gateway Messages on config page.
-
@Qu3Uk Thanks for the hint to unlock the zip archive. I got this problem while testing on some computers with Windows 7, and could not understand how to fix it. In Windows 10 this problem is not present. I'll write about it on the website.
About the request version. The controller queries the version of the gateway every 10 seconds, to make sure that the gateway is still connected. If the gateway does not respond, the controller will try to reconnect to it. This is a mechanism to protect against disconnects. Log console filters those messages by default, but you can see them if you enable Gateway Messages on config page.
-
@derwish Ah that makes sense if your using it to check connection, should have twigged that.
So whats your plans for MyNodes.NET?
-
Updated Troubleshooting section on the website.
-
Wow, this is really smart thinking and I've just installed with one gateway and one sensor.
Well done, thank you. -
Newbie here , could some one please show me how to do a timer for a relay ? my gateway and my relay are already connected to Mynodes but so far i haven't been able to make it switch on or off
thanks for any help@oscarc To start, just plug UI/Toggle. It will send "1" / "0" in your device. You got it in the firmware of the Arduino. When this will work, try different timers. For example, UI/Timer. You'll see its interface in dashboard. Schedule it to send "1" at the right time. If you have any problems, write me (info@mynodes.net) and I'll help you via Skype.
-
Wow, this is really smart thinking and I've just installed with one gateway and one sensor.
Well done, thank you.@Greg-McFadyen Thank you.
Guys, if you make an interesting panels, share file/screenshot here.
I want to make panels for various kinds of RGB-LED fades for the party. I would be grateful if you help. -
@oscarc To start, just plug UI/Toggle. It will send "1" / "0" in your device. You got it in the firmware of the Arduino. When this will work, try different timers. For example, UI/Timer. You'll see its interface in dashboard. Schedule it to send "1" at the right time. If you have any problems, write me (info@mynodes.net) and I'll help you via Skype.
-
This is soooooooo great. I been trying to program something like this for month but as a total N00B it has been harder then I thought. Got a hold bunch off ideas to expand this. :)
- Email Node - Send mail message
- Send message to Azure IoT hub
- Resive message from Azure
- Send Message to Azure mobile hub for Push notifications
- Read From External Database
- Write To External Database
Couple of questians
Is it possible to run this as a service in windows and not as a console app?
Is it possible to make it work on Windows IoT ?And again super nice gateway alot of thx.
//Håkan
-
This is soooooooo great. I been trying to program something like this for month but as a total N00B it has been harder then I thought. Got a hold bunch off ideas to expand this. :)
- Email Node - Send mail message
- Send message to Azure IoT hub
- Resive message from Azure
- Send Message to Azure mobile hub for Push notifications
- Read From External Database
- Write To External Database
Couple of questians
Is it possible to run this as a service in windows and not as a console app?
Is it possible to make it work on Windows IoT ?And again super nice gateway alot of thx.
//Håkan
@keldandorin Hi. I've added your ideas to my task list. Thank you. If you can program in C#, you can try to do it yourself. Read documentation for developers.
I haven't experimented with Windows IOT yet, but it certainly works under Linux on the raspberry.
On about the service, I'll look for options, how to do it. It is a necessary thing for me too. -
@keldandorin Hi. I've added your ideas to my task list. Thank you. If you can program in C#, you can try to do it yourself. Read documentation for developers.
I haven't experimented with Windows IOT yet, but it certainly works under Linux on the raspberry.
On about the service, I'll look for options, how to do it. It is a necessary thing for me too.@derwish Cool. I have working code for sending and resiveing messages from azure. Read the dev documents and will try to make a node as soon as I can.
-
Hi,
I'm really interested in this software, but I'm also a .NET beginer. I got an issue when executing web.cmd ==> "dnx.win32.dll could not be loaded. Last error : 87"...
Is there someone who could tell me what is going wrong ?
-
Hi,
I'm really interested in this software, but I'm also a .NET beginer. I got an issue when executing web.cmd ==> "dnx.win32.dll could not be loaded. Last error : 87"...
Is there someone who could tell me what is going wrong ?
@lordsidney This error occurs on Windows 7, if you have not installed the system update. https://github.com/aspnet/dnx/issues/3213
-
Any plans to support the MQTT gateway.. I'm finding I want to use multiple controllers but I find the Ethernet gateway supports only so many connections so I want to move towards using MQTT.