Raspberry-ssd1306 icon indicating copy to clipboard operation
Raspberry-ssd1306 copied to clipboard

Nice work! some problem with Node Red

Open DanielBendersky opened this issue 4 years ago • 6 comments

Hi, first of all, thanks for this tool. it looks very good and worked almost fine for me. I was looking for a way to display in my OLED screen when the raspberry boot and shutdown, so will be easily using a bash script. However, after I install your script and tested, it worked but does a conflict with the node red oled node. It looks that after I send the comand "/.oled s" it send the screen a comand that only allow to write to line 1 and this maybe is the cause of the conflict. Not sure, but i will like to use your script in conjunction with other libraries for the OLED. So i can maintan using node redd for capuring data and display it in the oled and also when I boot I want to use your script. Hope you cand give me some hints in how I can fix the issue. Im from Chile and looked into your web page. Lot of interesting projects that i will take a look. Thanks for publishing them. Attaches is a small video of what I get after I run your script and that node red is triyng to use the screen after yours.

https://user-images.githubusercontent.com/84030633/117841679-3bc52800-b24b-11eb-89ab-a1d7217a0474.mov

DanielBendersky avatar May 11 '21 15:05 DanielBendersky

Does this script work properly on the command line?

https://github.com/nopnop2002/Raspberry-ssd1306/blob/master/test.sh

nopnop2002 avatar May 11 '21 16:05 nopnop2002

Hi, yes, it works fine in the command line. However, after I run this script, any call to the oled screen from the node red ONLY is displayed into the line number 1. In order to come back to normal, I need to reboot the raspberry pi and avoid to run your script. It looks that the screen is saving something that need to be cleared.

On 11-05-2021, at 12:29, nopnop2002 @.***> wrote:

Does this script work properly on the command line?

https://github.com/nopnop2002/Raspberry-ssd1306/blob/master/test.sh https://github.com/nopnop2002/Raspberry-ssd1306/blob/master/test.sh — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nopnop2002/Raspberry-ssd1306/issues/18#issuecomment-838787995, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUBDJKM25QOZBMP7MRNGRFDTNFLM5ANCNFSM44V2IVDQ.

Daniel Bendersky Socio Director Celular: +56 9 9998 9122 @.***

DanielBendersky avatar May 11 '21 17:05 DanielBendersky

I have never used node red. I'm going to try node red. Do you have a sample code for node red to display ssd1306?

nopnop2002 avatar May 11 '21 22:05 nopnop2002

Hi, I just finish a course of Node red and now I am a fan (I recommend you take a look on it). It's very useful and simple.

Here is how to install the library's. Just install 2 libraries, the OLED and the DHT so you can monitor a temperature and show it in the oled.

Also I attached the flows I created,. so you can just import them into your node red. Everything will take you less than 10 minutes.

Example of my flow. Is attached so you can import it:

PS: A you tube that explain how to configure the OLED in node red. Very clear and useful. Is in Portuguese, but I understood it and I dont speak it. https://www.youtube.com/watch?v=Ep2ZUAyiN7g https://www.youtube.com/watch?v=Ep2ZUAyiN7g

On 11-05-2021, at 18:41, nopnop2002 @.***> wrote:

I have never used node red. I'm going to try node red, do you have the sample code for node red for ssd1306?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/nopnop2002/Raspberry-ssd1306/issues/18#issuecomment-839245178, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUBDJKPE6HOJ7TSZUGOVUEDTNGXB3ANCNFSM44V2IVDQ.

DanielBendersky avatar May 11 '21 23:05 DanielBendersky

Hi.

Also I attached the flows I created

Where is it?

nopnop2002 avatar May 12 '21 03:05 nopnop2002

The flows are the jason files. Just import the jason files into node red and they will apear as flows. It is that simple. Let me know if it works for you. If you want I can do a zoom call and show you. The only think is I dont speak Japanese. I know a few words I learned from Judo. My sport. So just let me know if you want to meet.

Sent from my iPhone

On 11-05-2021, at 23:18, nopnop2002 @.***> wrote:

 Hi.

Also I attached the flows I created

Where is it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

DanielBendersky avatar May 12 '21 03:05 DanielBendersky