Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

omron-fins use with node-red #10

Open
Gerssi opened this issue Jan 17, 2018 · 12 comments
Open

omron-fins use with node-red #10

Gerssi opened this issue Jan 17, 2018 · 12 comments

Comments

@Gerssi
Copy link

Gerssi commented Jan 17, 2018

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?

@danibjor
Copy link
Contributor

danibjor commented Jan 17, 2018

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://[email protected]/patrick--/node-omron-fins.git <- use this as NPM module in node-red

@ptrks
Copy link
Owner

ptrks commented Jan 17, 2018

@danibjor I appreciate you answering his question so fast! @Gerssi if you have any problems getting the library to work just let me know.

@Gerssi
Copy link
Author

Gerssi commented Jan 17, 2018

Thanks so lot for your extremly fast answer.
I try my best and will give a response.

@Gerssi
Copy link
Author

Gerssi commented Jan 17, 2018

Hello again,
i try this entrys:
grafik
installing replays this error:
"Error: Cannot find module '/tmp/d-118017-833-1349srr.xw9jp2e29/node_modules/git+https://[email protected]/patrick--/node-omron-fins.git'"

maybe any suggestions?
Thank you

@danibjor
Copy link
Contributor

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

@Gerssi
Copy link
Author

Gerssi commented Mar 2, 2018

@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.

@combatkev
Copy link

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

@anthrogan
Copy link

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
image

it will install it from there using the package.json file in the folder.

and BOOM!
image
omroncomms... Good luck getting normal data out of it though 💃

@Steve-Mcl
Copy link

+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)

@Steve-Mcl
Copy link

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.

@ptrks
Copy link
Owner

ptrks commented Apr 5, 2020

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

@Steve-Mcl
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants