RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

User avatar
Steven
Posts: 24
Joined: 29 Mar 2019, 12:01
Answers: 0

RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by Steven »

Hello together,

i had the issue that the dropdown in RevPi Nodes was not showing any PIN names of PiCtory. Even reset driver or reboot does not help.
I need to deaktivate RevPiPyload to make it work.

Is this a known issue?

VG
Steven
jgerlach-erminas
Official 3rd Party Support Erminas
Posts: 38
Joined: 22 Jan 2020, 14:31
Answers: 0

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by jgerlach-erminas »

Hi Steven,

I have created an issue for your problem on our github: https://github.com/erminas/node-red-con ... /issues/10. We will look into this and come back to you if there is any update on this.

Greetings,
Jonas
jgerlach-erminas
Official 3rd Party Support Erminas
Posts: 38
Joined: 22 Jan 2020, 14:31
Answers: 0

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by jgerlach-erminas »

Hi,

we were not able to reproduce this behaviour. If you are still experiencing it, please give us more information:

- Which debian version is affected?
- Which version of Node RED and noderedrevpinodes-server?

Code: Select all

$ dpkg -l | grep node
- Which version of RevPiPyLoad ?
- Try to describe your concrete steps. Have you configured your DIO/AIO modules in pictory? Is RevPiPyLoad working on its own?
- You may check and post the log output of the services:

Code: Select all

$ journalctl -u nodered

Code: Select all

$ journalctl -u noderedrevpinodes-server.service

Code: Select all

$ journalctl -u revpipyload.service


Greetings,
Jonas
Online
User avatar
dirk
KUNBUS
Posts: 1924
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by dirk »

Hi, good news this issue has been fixed. We'll ship the fix with the upcoming "Buster" release.
You may however test the beta version by installing the following prebuilt Debian packages:
noderedrevpinodes-server Release 1.0.3 - noderedrevpinodes-server_1.0.3_all.deb
node-red-contrib-revpi-nodes Release 1.0.8 - node-red-contrib-revpi-nodes_1.0.8_all.deb
bigmanvstrashman
Posts: 10
Joined: 04 Mar 2021, 18:12
Answers: 0

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by bigmanvstrashman »

Hi,
My first message...
I juste receive 2 revpi compact, with great expectation.
After unboxing, powering, updating all (Fyi : node-red 1.2.9) ... no problem seems clear.

I was facing with the issue in subject, wich is decrease my first user experience enthousiam.
I updated the revpi server / and the revpi Node to the last git version (on above message)
It's working better but not very good.
It's crashing, pin dropdown disapear (need to restart flow) and moreover i'm not able to rising/falling edge DO more than 2 secondes

Sorry, i expected more than an industrial product.
Do you have some roadmap to fix these issue ?

Thanks
Regards.
bigmanvstrashman
Posts: 10
Joined: 04 Mar 2021, 18:12
Answers: 0

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by bigmanvstrashman »

Hi,

I notice the following behaviour :
When i turn off on the web interface the "Node-RED RevPi Nodes Server" my satured ram memory (80% after 24h) go down to around 34 %
It seems a memory leakage around the "Node-RED RevPi Nodes Server"
I use now the Pitest command, more reliable.

Regards.
jgerlach-erminas
Official 3rd Party Support Erminas
Posts: 38
Joined: 22 Jan 2020, 14:31
Answers: 0

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by jgerlach-erminas »

Hello bigmanvstrashman,

sorry to hear you are having issues.
I was facing with the issue in subject, wich is decrease my first user experience enthousiam.
So to make it clear, you are also having problems with concurrent use of RevPiPyload and the Revolution Pi Nodes? If yes, please follow the steps in my previous post: viewtopic.php?f=48&t=2482#p9763
It's crashing, pin dropdown disapear (need to restart flow) and moreover i'm not able to rising/falling edge DO more than 2 secondes
What is exactly crashing? How do you notice the crash?

The pin dropdown is generated/updated each time when you open the node settings, if you are experiencing network problems this can take a while before its finished (eg. a timeout afer 30s). We are planning to include additional visual clues for this background communication (loading indicator).

Why are you not able to detect the rising/falling edges for more then 2 seconds? Is it always crashing? What is your setup (network, software versions)? Can you give us an export of your Node RED flow?
When i turn off on the web interface the "Node-RED RevPi Nodes Server" my satured ram memory (80% after 24h) go down to around 34 %. It seems a memory leakage around the "Node-RED RevPi Nodes Server"
Thanks for the feedback, we will also try to reproduce this problem. Additional information about the setup would help us to solve this faster. I have also reported your issues on the github project pages here and here.

Greetings,
Jonas
bigmanvstrashman
Posts: 10
Joined: 04 Mar 2021, 18:12
Answers: 0

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by bigmanvstrashman »

Hello bigmanvstrashman,

sorry to hear you are having issues

Thanks for you reply :)
And sorry "my Quotes" in the message
I was facing with the issue in subject, wich is decrease my first user experience enthousiam.
So to make it clear, you are also having problems with concurrent use of RevPiPyload and the Revolution Pi Nodes? If yes, please follow the steps in my previous post: viewtopic.php?f=48&t=2482#p9763

I had the latest version :
noderedrevpinodes-server Release 1.0.3 - noderedrevpinodes-server_1.0.3_all.deb
node-red-contrib-revpi-nodes Release 1.0.8 - node-red-contrib-revpi-nodes_1.0.8_all.deb

It's crashing, pin dropdown disapear (need to restart flow) and moreover i'm not able to rising/falling edge DO more than 2 secondes

What is exactly crashing? How do you notice the crash?

Node-red is crashing, restart.

The pin dropdown is generated/updated each time when you open the node settings, if you are experiencing network problems this can take a while before its finished (eg. a timeout afer 30s). We are planning to include additional visual clues for this background communication (loading indicator).

Should be a good idea.

Why are you not able to detect the rising/falling edges for more then 2 seconds? Is it always crashing? What is your setup (network, software versions)? Can you give us an export of your Node RED flow?

When i send an action, for instance a DO, sometimes is crashing, like if the selected variable was not sended
When i turn off on the web interface the "Node-RED RevPi Nodes Server" my satured ram memory (80% after 24h) go down to around 34 %. It seems a memory leakage around the "Node-RED RevPi Nodes Server"
Thanks for the feedback, we will also try to reproduce this problem. Additional information about the setup would help us to solve this faster. I have also reported your issues on the github project pages here and here.

For the moment, i have to focus on my project, so i stopped using these nodes (with the server).
I will be happy to test a stable version with the node-red environnement



Here my nodes (based on Pitest), wich can be reuse easly (just add this dependencie with this "for lazzy people" node : flows.nodered.org/node/node-red-contrib-string)


Code: Select all

[{"id":"8e5a105e.07342","type":"exec","z":"736f96d8.8efd4","command":"piTest -w","addpay":true,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"Write","x":870,"y":100,"wires":[["b859e6dc.a7d2a8","71cbe882.c96c18"],[],[]]},{"id":"b859e6dc.a7d2a8","type":"debug","z":"736f96d8.8efd4","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1130,"y":88,"wires":[]},{"id":"c19089b3.e78f58","type":"exec","z":"736f96d8.8efd4","command":"piTest -1 -q -r","addpay":true,"append":"","useSpawn":"false","timer":"1","oldrc":false,"name":"Read","x":870,"y":260,"wires":[["fd362a7f.5a8d5","d19977fd.b0fe5"],[],[]]},{"id":"45f4c742.65a65","type":"inject","z":"736f96d8.8efd4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Do_3","payload":"DOutBit_3","payloadType":"str","x":320,"y":240,"wires":[["c19089b3.e78f58"]]},{"id":"fd362a7f.5a8d5","type":"string","z":"736f96d8.8efd4","name":"","methods":[{"name":"toInteger","params":[]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1070,"y":245,"wires":[["99c51a9.cc5b7e8","5abf7277.8cfc44"]]},{"id":"99c51a9.cc5b7e8","type":"debug","z":"736f96d8.8efd4","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1290,"y":240,"wires":[]},{"id":"2806e995.28d876","type":"switch","z":"736f96d8.8efd4","name":"","property":"payload","propertyType":"msg","rules":[{"t":"true"},{"t":"false"}],"checkall":"true","repair":false,"outputs":2,"x":550,"y":100,"wires":[["e8701f33.94366"],["22ae3cdf.adab34"]]},{"id":"22ae3cdf.adab34","type":"change","z":"736f96d8.8efd4","name":"DOutBit_3,0","rules":[{"t":"set","p":"payload","pt":"msg","to":"DOutBit_3,0","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":690,"y":120,"wires":[["8e5a105e.07342"]]},{"id":"e8701f33.94366","type":"change","z":"736f96d8.8efd4","name":"DOutBit_3,1","rules":[{"t":"set","p":"payload","pt":"msg","to":"DOutBit_3,1","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":690,"y":80,"wires":[["8e5a105e.07342"]]},{"id":"b2bbc32f.3d1548","type":"change","z":"736f96d8.8efd4","name":"Check","rules":[{"t":"set","p":"payload","pt":"msg","to":"DOutBit_3","tot":"str"},{"t":"set","p":"topic","pt":"msg","to":"DOutBit_3","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":220,"wires":[["c19089b3.e78f58"]]},{"id":"ba0d1d0c.38e498","type":"inject","z":"736f96d8.8efd4","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"Di_3","payload":"DInBit_3","payloadType":"str","x":310,"y":280,"wires":[["c19089b3.e78f58"]]},{"id":"de6283cc.7ac8c8","type":"comment","z":"736f96d8.8efd4","name":"-----------------Di and Do are wired-------------------","info":"","x":740,"y":40,"wires":[]},{"id":"abed8278.d3bcd","type":"comment","z":"736f96d8.8efd4","name":"Write DOutBit_3","info":"","x":948,"y":200,"wires":[]},{"id":"eed43532.8807e","type":"comment","z":"736f96d8.8efd4","name":"Check DOutBit_3","info":"","x":948,"y":360,"wires":[]},{"id":"5001463e.71dba8","type":"trigger","z":"736f96d8.8efd4","name":"","op1":"true","op2":"false","op1type":"bool","op2type":"bool","duration":"2","extend":false,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":420,"y":100,"wires":[["2806e995.28d876"]]},{"id":"3da3f614.c47242","type":"inject","z":"736f96d8.8efd4","name":"","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":290,"y":100,"wires":[["5001463e.71dba8"]]},{"id":"f90c0f63.12aeb8","type":"exec","z":"736f96d8.8efd4","command":"piTest -1 -q -r","addpay":true,"append":"","useSpawn":"false","timer":"1","oldrc":false,"name":"Read","x":870,"y":420,"wires":[["7e955647.802a3"],[],[]]},{"id":"7e955647.802a3","type":"string","z":"736f96d8.8efd4","name":"","methods":[{"name":"toInteger","params":[]}],"prop":"payload","propout":"payload","object":"msg","objectout":"msg","x":1070,"y":405,"wires":[["d0506a84.a7fa6","5abf7277.8cfc44"]]},{"id":"d0506a84.a7fa6","type":"debug","z":"736f96d8.8efd4","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1310,"y":400,"wires":[]},{"id":"6d0ab698.540c78","type":"change","z":"736f96d8.8efd4","name":"Check","rules":[{"t":"set","p":"payload","pt":"msg","to":"DInBit_3","tot":"str"},{"t":"set","p":"topic","pt":"msg","to":"DInBit_3","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":670,"y":420,"wires":[["f90c0f63.12aeb8"]]},{"id":"5abf7277.8cfc44","type":"join","z":"736f96d8.8efd4","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"2","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":1210,"y":320,"wires":[["5b60d555.c41f44"]]},{"id":"d19977fd.b0fe5","type":"delay","z":"736f96d8.8efd4","name":"","pauseType":"delay","timeout":"100","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":690,"y":360,"wires":[["6d0ab698.540c78"]]},{"id":"5b60d555.c41f44","type":"debug","z":"736f96d8.8efd4","name":"","active":false,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1350,"y":320,"wires":[]},{"id":"71cbe882.c96c18","type":"delay","z":"736f96d8.8efd4","name":"","pauseType":"delay","timeout":"100","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":690,"y":180,"wires":[["b2bbc32f.3d1548"]]}]
Regards

Greetings,
Jonas
jgerlach-erminas
Official 3rd Party Support Erminas
Posts: 38
Joined: 22 Jan 2020, 14:31
Answers: 0

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by jgerlach-erminas »

Hi bigmanvstrashman,

thanks for the additional information and your flow. We will look into it and get back to you if we made any progress on those issues.

Greetings,
Jonas
bertf
Posts: 7
Joined: 05 May 2020, 12:14
Answers: 0

Re: RevPiPyLoad prevents loading PIN Dropdown at RevPi Nodes

Post by bertf »

Hi Jonas,

I encountered the same problem this morning after having updated node-red-contrib-revpi-nodes to version 1.0.7.-2. All DIO's (in & out) connections fell away in Nodered due to a connection error:

Node-RED[7470]: 10 Apr 13:34:06 - [info] Starting flows
Node-RED[7470]: Connecting to WS Server wss://localhost:8000
Node-RED[7470]: 10 Apr 13:34:20 - [info] Started flows
sh[7531]: ----------------------------------------
sh[7531]: Exception happened during processing of request from ('127.0.0.1', 42468)
sh[7531]: ----------------------------------------
Node-RED[7470]: ERROR Connection to server error: Client network socket disconnected before secure TLS connection was established
Node-RED[7470]: Lost connection to WS Server!

I solved the problem by manually installing noderedrevpinodes-server (V1.0.1 --> V1.0.3) and node-red-contrib-revpi-nodes (V1.0.7-2 --> V1.0.8). I also had to recreate the revpi-server (localhost:8000) and reactivate the new server in 94 nodes. Still busy with the last step ;-\.

During the problems with node-red-contrib-revpi-nodes I was able to control the inputs and outputs in piTest.

Greetings,
Bert
Post Reply