I can see the writing on the wall for Node-Red. Modules not well maintained and no moderators to hand off to other developers when someone drops the ball. Now I will have my Revenge.
I asked Bill Joy what his code was good for and he told me that he planned on writing Solaris in it...I told him not in my lifetime.
So once again I should turn to C on Unix/Linux to write an efficient application.
Bill you asshole you set the world back! Yes, I was emp #248 at Sun so it dates me.
Anyone want to write the operational and monitoring code for the worlds greenest technology? Can modestly pay! Need Help
First time here and you are predicting the demise of Node-RED?
There are currently 2362 public packages for Node-RED. That is an amazing amount of engagement for an open source project.
That a few packages are not well supported is typical for open source in general and can't be helped.
However, you are perfectly free to fork a package that isn't being maintained to your standards and create your own version. Better still, ask the original author whether you can either be added as a developer or can take over the original. All of these things are easy because Node-RED uses Node.js and npm.
You are getting an amazing deal for FREE so please don't "diss" Node-RED because of a single experience. If you want better support, either contribute directly or pay for it.
Otherwise, please take your foul language and bad attitude elsewhere and let the rest of us enjoy the great environment that Nick, Dave and others - courtesy of IBM - have created for us.
Indeed, as a new user I'm impressed by the number and range of packages/nodes/flows available, and how well the frequently used ones are.
Take a look at how many Linux packages are "well maintained", and how many have been deprecated over the years. Any open source environment is the same.
Since there are a good number of people actively contributing to the core and to the most popular nodes, I don't see Node-RED disappearing any time soon.
PS - part of my job involves writing and maintaining Linux device drivers, and making sure they run against a very wide range of distros and kernels. Linux is in no way a poster child for usability...
Well it did fail on a new install on my Pi4 using the 260919 image
2019-12-14T17:02:12.254Z [err] ERR!
2019-12-14T17:02:12.254Z [err] i2c-bus@1.2.5 install: `node-gyp rebuild`
2019-12-14T17:02:12.255Z [err] npm
2019-12-14T17:02:12.255Z [err]
2019-12-14T17:02:12.255Z [err] ERR!
2019-12-14T17:02:12.255Z [err] Exit status 1
2019-12-14T17:02:12.256Z [err] npm
2019-12-14T17:02:12.256Z [err]
2019-12-14T17:02:12.256Z [err] ERR!
2019-12-14T17:02:12.256Z [err]
2019-12-14T17:02:12.256Z [err] npm
2019-12-14T17:02:12.257Z [err]
2019-12-14T17:02:12.257Z [err] ERR!
2019-12-14T17:02:12.257Z [err] Failed at the i2c-bus@1.2.5 install script.
2019-12-14T17:02:12.257Z [err] npm
2019-12-14T17:02:12.257Z [err]
2019-12-14T17:02:12.258Z [err] ERR!
2019-12-14T17:02:12.258Z [err] This is probably not a problem with npm. There is likely additional logging output above.
2019-12-14T17:02:12.317Z [err]
2019-12-14T17:02:12.318Z [err] npm ERR!
2019-12-14T17:02:12.318Z [err] A complete log of this run can be found in:
2019-12-14T17:02:12.318Z [err] npm ERR! /home/pi/.npm/_logs/2019-12-14T17_02_12_262Z-debug.log
2019-12-14T17:02:12.330Z rc=1
But I can assure everyone - its working fine on the normal sd card I use in it - will try and do a little digging to see if I can find out why the difference
Some progress (but not quite there yet)
The failed install is a Node 12 vs Node 10 issue
If you install Node-RED that doesn't have a supported version of node - it will install the latest stable version. (which since 26th Nov 2019 is 12.13. 1)
My normal working Pi4 Node-RED was installed back in August and is running 10.17.0
On my new image, I used this to install n and roll back to 10.17.0 and node-red-contrib-i2c installed this time
However, it doesn't seem to actually work so more investigation needed
[edit]
And likewise - bumping the i2c-bus dependency to 5.1.0 does then let it build and install correctly under node12 - but I haven't checked actual functionality of the nodes.
Now i'm not sure if it's broken, or if I just don't know what i'm doing heh.
I have a Tentacle T3, and using their software (https://www.whiteboxes.ch/docs/tentacle/t3/#/code)
I was able to get readings from my conductivity meter, so it's all working hardware wise.
When in node-red I can't get it to output anything other than 255, 254, and 1.
I'm likely not doing something right as I do not even understand the meaning of the command box on the 'i2c in' node.
Edit: the error i circled on the right was seemingly caused by initiating the flow when i clicked on the timestamp node. If I don't mess with node red the program in the terminal is flawless.
Is there an alternative to node-red-contrib-i2c for getting conductivity and pH readings into node red using my pi? Maybe a function node with a few clever lines of java to grab the reading, is this something possible?
So, you are saying that 'node-red-contrib-i2c' does not work currently, but if I learn the i2c protocol, and how my chip responds to it I would be able to make a function node with java that would get the readings?
Thanks for the clarification, sorry to show my ignorance. Indeed I meant javascript
So, let me know if my logic has left the building.
My conductivity chip is at address 100, looking at the documentation for the chip I need to send the command 'R' to address 100 to get a reading back. I cannot insert anything but numbers into the command box in the 'i2c in' node. My only guess is that this is ASCII, so an 'R' would be 082.
However when I use 'node-red-contrib-i2c' to send 082 to address 100 I get 255 returned, which is code for no data to send.
Also, most of the commands are multi-character and the input box only takes 0-255.
I think I'm missing something here, but c'est la vie