Open Gerssi opened 6 years ago
Take a look at this article on how to use NPM modules in node-red.
http://jamesthom.as/blog/2016/01/04/npm-modules-in-node-red/
As there is no NPM module published (omron-fins returns no results), you can point it to the GitHub repo:
git+https://git@github.com/patrick--/node-omron-fins.git
<- use this as NPM module in node-red
@danibjor I appreciate you answering his question so fast! @Gerssi if you have any problems getting the library to work just let me know.
Thanks so lot for your extremly fast answer. I try my best and will give a response.
Hello again, i try this entrys: installing replays this error: "Error: Cannot find module '/tmp/d-118017-833-1349srr.xw9jp2e29/node_modules/git+https://git@github.com/patrick--/node-omron-fins.git'"
maybe any suggestions? Thank you
Can you try and install the package globally? sudo npm install -g url-to-this-repo And then just type omron-fins as npm module name in node-red
Maybe we need to lure @patrick— to publish the project on https://www.npmjs.com
@danibjor , thank you for your help, i try to install the package globally but there are also errors. in the last month i try a lot methodes i read in internet whitout any success. Finally i give up, i can truely say it's not my core qualification. @patrick-- if you will have some time, please would you do this job for me to publish the project on NPM.
Hello, I would also be very interested if you can get this running on Node Red. I have tried the steps above and am getting the same issues. Initially using node red on a synology box but now trying on a PI as I get better control over the install. I will keep plodding away as I think its something simple, but not very experienced at this, so google is my friend. If you have any advice please let me know. Thanks for all of your hard work thus far. Kev
You can download the package locally and npm install it from there.
so clone the package (or download as zip on unzip it) then:
npm install C:/path/to/node-omron-fins-master
it will install it from there using the package.json file in the folder.
and BOOM! omroncomms... Good luck getting normal data out of it though 💃
+1 for a native node-red package
It would be awesome if you could package this up as a node-red-contrib node.
There is a guide here that could help... https://nodered.org/docs/creating-nodes/first-node Seems there isn't too much boiler plate to add.
Please help us achieve this and catch up to our Siemens and Allen Bradley cousins who have already got node-red ready nodes in the flow library (https://flows.nodered.org/?num_pages=1)
Hi all, due to lack of response and necessity being the mother of all invention, I have implemented a node-red package node-red-contrib-omron-fins that uses a fork of this code.
For now, I chose to use my fork as I needed access to extended E banks (and fix some other issues & other features necessary for integrating into node-red)
It unfortunately looks like this package may have been abandoned? @patrick-- please let me know if you are willing to collaborate (my fork is here ).
Thanks.
Hi @Steve-Mcl , apologies for the slow response. I am no longer in a position that has access to Omron PLCs, so I haven't been super active in managing this library. With that being said, I don't want progress to be stifled because of my inactivity, so I think a fork is an appropriate alternative.
Thanks!
Patrick
No worries and thank you for responding.
I will continue with fork - that way, if you ever pick this up again, we can easily collaborate.
I'm also not sure if this is the rigth place for my question... I'm a newbie with Raspberry pi and node red. Please can anyone help me using this wonderful library in node-red?