How to install and use "node-red-contrib-i2clcd-alt"

New here and struggling to get a 2004 LCD working. It is based on the I2C F8574T chip.

I have tried every node I can find and nothing works. In researching I stubled upon this node in Git: node-red-contrib-i2clcd-alt, published by tek79.
Here is a link to it:

I installed it using npm install. I also see the folder for it in /usr/lib/node_modules/node-red-contrib-i2clcd-alt

In Node-Red it does not show up in pallet manager.

How do I use a node installed via npm? I tried copying the above folder but linux will not let me.

Completely stuck on how to use this node.

Incidently, using straight python I can talk to and update the display at will so I know the i2c bus and display are both working.

Thanks!
Don

It doesn't sound like it is installed in the correct place, I would check what you did and uninstall it again.

Did you follow these instructions ?

Installation

  • Install using npm, then restart Node-RED:

cd $home

cd .node-red

npm install tek79/node-red-contrib-i2clcd-alt#v3

Yes, followed those instructions exactly. I will try it again.
Thanks

Also after restarting NR refresh your browser window and see if the node shows in pallet.

I uninstalled and re-installed and now it shows up in Node-Red. So that good - BUT, it doesn't do anything. I set the address to 0x27 which I verified from the command line.

I set msg.topic = line1 and msg.payload = this is a test and added a debug. I see the payload msg and topic in the debug but no response from the LCD.

I have tried every node i can find and nothing works! I can't be the only one trying to use a display with node-red.

I guess I will just .exe to a python script and run that in the background to display the data - the issue I want to avoid is using files to pass data from Node-Red sensors to the python script as there will be file open conflicts.

Thanks,
Don

What are you running NR on, is it a Pi5 ? (I understand there are some issues with GPIO)

Probably not too many connecting screens like this directly to a Pi these days :wink:

You could use an ESP to connect the screen, and communicate over MQTT using something like Tasmota. If you go that route then you can use a variety of nice higher resolution LCD touch screens.

Oh, I will have to look into that! Thanks for that tip.

I just now got it working - Once I set the bus = 1 instead of 0 I can inject text. I do like your idea though and will now spend the day researching that. I understand the basics of MQQT - the learning continues.

Thank you for your time and ideas!

Don

Lots of info to be found e.g. - HOWTO using I2C multi display (hardware mode). · arendst/Tasmota · Discussion #13166 · GitHub

However if you want to get with the times :wink: and use a more modem screen then this may be the best option -