MyNodes.NET moving to node.js.
-
Great work. The most stable controller of i tried. I think it will be good sending e-mail and/or sms When an alarm condition/event occurs. thank you .
@ismail-çataroğlu Thank you. I will add an email node. Perhaps an sms, if I can find a good service.
-
I have no idea how you are getting this to work, when i try to run with the latest code i get this error:
node bin\www
C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\mysensors\gateway-io.js:13
gateway.on('newNode', function (node) {
^TypeError: gateway.on is not a function
at Object.module.exports.listen (C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\mysensors\gateway-io.js:13:10)
at C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\web-server\configure.js:17:46
at Object.<anonymous> (C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\web-server\configure.js:86:3)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\dpressle\Documents\github_repos\mynodes.js\bin\www:9:2)my node version is:
node --version
v4.3.0
npm --version
2.14.12 -
I have no idea how you are getting this to work, when i try to run with the latest code i get this error:
node bin\www
C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\mysensors\gateway-io.js:13
gateway.on('newNode', function (node) {
^TypeError: gateway.on is not a function
at Object.module.exports.listen (C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\mysensors\gateway-io.js:13:10)
at C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\web-server\configure.js:17:46
at Object.<anonymous> (C:\Users\dpressle\Documents\github_repos\mynodes.js\modules\web-server\configure.js:86:3)
at Module._compile (module.js:410:26)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\dpressle\Documents\github_repos\mynodes.js\bin\www:9:2)my node version is:
node --version
v4.3.0
npm --version
2.14.12 -
@derwish strange seems like latest node is 4.4.7 for windows and linux how do you get V 6.xxx
node official download page@dpressle
https://nodejs.org/en/download/current/
Current version: v6.2.2 (includes npm 3.9.5) -
@dpressle
https://nodejs.org/en/download/current/
Current version: v6.2.2 (includes npm 3.9.5) -
@ericvdb Thanks for the feedback. It would be very cool if it was possible to see the values on the inputs/outputs. I have thought about it, but I don't specialist in front-end development and I haven't tried to implement it yet. However, in the new version I'm going to do step-by-step code execution in the nodes (instead of events). Thus you can manually control the speed with which the changed value is pushed along the chain of nodes (up to each step).
I don't refuse support .net version of the controller. The new version will be developed in a separate repository. I decided to write a new version in node.js for two reasons:
Microsoft has released a new (still beta) version ASP.NET and they changed so many things in it compared to the last. I wanted to port the code to a new version, but it turned out that it's not easy. If I do the porting now, I will have to do it again when Microsoft will release the final version ASP.NET. So I decided to wait until the API is finally completed.
I expect there are developers who join the development MyNodes.NET. But the interest of developers is not so strong as I expected. Perhaps ASP.NET not so popular among developers who may be interested in creating a smart home, and such things. I thought MyNodes may become more popular if it will be written in node.js. Let's see what will come out of this.
@derwish said:
I expect there are developers who join the development MyNodes.NET. But the interest of developers is not so strong as I expected. Perhaps ASP.NET not so popular among developers who may be interested in creating a smart home, and such things. I thought MyNodes may become more popular if it will be written in node.js. Let's see what will come out of this.
Hello, I have some interest in the project in ASP.NET as it looks very promising, just didn't have time to check the code yet, but I hope I will be able to do it in the coming weeks.
I'm not sure it's necessary to hurry to move to the next version of ASP.NET, you can keep using the current version and let MS finish, then let it some time to smooth out the rough edges after the final version is released :)
-
@derwish said:
I expect there are developers who join the development MyNodes.NET. But the interest of developers is not so strong as I expected. Perhaps ASP.NET not so popular among developers who may be interested in creating a smart home, and such things. I thought MyNodes may become more popular if it will be written in node.js. Let's see what will come out of this.
Hello, I have some interest in the project in ASP.NET as it looks very promising, just didn't have time to check the code yet, but I hope I will be able to do it in the coming weeks.
I'm not sure it's necessary to hurry to move to the next version of ASP.NET, you can keep using the current version and let MS finish, then let it some time to smooth out the rough edges after the final version is released :)
-
derwish,
Your controller looks awesome.
I'd like to start implementing this on my raspberry pi (either pi 1 model B or pi 3). I ran into dependency issues when installing mono on my pi 1 model B. The link to the .net install instructions is different then in your video so I followed the instructions on your video with out success.
Do I just need to wait for the node.js version to come out? Would that version still require .NET? I would assume not because node.js is based on javascript. Do you have any node.js development versions that I could try?
Looking forward to getting this installed.
Thanks,
neech -
derwish,
Your controller looks awesome.
I'd like to start implementing this on my raspberry pi (either pi 1 model B or pi 3). I ran into dependency issues when installing mono on my pi 1 model B. The link to the .net install instructions is different then in your video so I followed the instructions on your video with out success.
Do I just need to wait for the node.js version to come out? Would that version still require .NET? I would assume not because node.js is based on javascript. Do you have any node.js development versions that I could try?
Looking forward to getting this installed.
Thanks,
neech@neech Hi. Version for node.js will not require ASP.NET. It will be independent software. But it is still in a very early stage of development, and there are no predictions when it will be finished. But now, I think you need to find instructions on how to install ASP.NET 5 version RC1, and then everything will work fine.
-
Good news!!!
When do you plan to lounch the new (Node.JS) version? -
Good news!!!
When do you plan to lounch the new (Node.JS) version?@fahrettine I halted the development, because now working on a commercial project. But I plan to continue to develop after two months. I think that in this case, the working version will be released by the end of the year.
-
@derwish ,
This is the only instructions I have found for installing .net on linux:
https://www.microsoft.com/net/core#debianDo you think this will work?
Thanks,
neech