7/28/2021 10:33 PM | |
Posts: 3 Rating:
|
I am using a SIMATIC IOT2040 with IOSHIELD 6ES76470KA010AA2 Example Image V3.1.1 (Node-RED v1.2.1; node-red-node-intel-gpio v1.0.0-iot2000) I have two flows in NodeRED, one is pushing analog values to Mindsphere with mindconnect lib agent, the other just toggles DQ0 and DQ1 with delays. My problem is that sporadically the digital outputs stop working, mostly after redeploy in Node-RED but sometimes happened after running without any issue for minutes. the gpio38 and gpio40 folders disappear from /sys/class/gpio/ var/log/messages shows: Jul 28 14:35:57 iot2000 local1.err libmraa[310]: gpio40: write: Failed to write to 'value': No such device Jul 28 14:35:57 iot2000 local1.err libmraa[310]: gpio38: write: Failed to write to 'value': No such device Redeploying in Node-RED fixes this issue but that is not an acceptable solution. I could not figure out a specific sequence to reproduce it but it happenes every day when I use the NodeRED UI to make some changes, click around and execute some commands in linux. Thanks in advance for any help. Attachmentflows.txt (369 Downloads) |
Last edited by: AutoGen_6787725 at: 07/28/2021 22:34:57Last edited by: Jen_Moderator at: 07/29/2021 08:23:23Edited text for better reading. |
|
8/2/2021 4:08 PM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating:
|
Hello, I was able to reproduce your issue even without further CPU load. But after testing with a delay of 2 seconds in the off-timer, it seems more "stable" and I didn't have any issues again. Could you please give it a try? I added the flow into the attachment. BR Attachmentflows (9).zip (386 Downloads) |
8/4/2021 8:46 AM | |
Joined: 4/28/2015 Last visit: 8/26/2024 Posts: 3345 Rating:
|
Hi, are you familiar with building images from github? If so, you can build the branch jan/mraa-node-gpio-update, which should contain a fix for this issue. To be 100% sure I would need to test this as well, but the next days this is not possible. Best regards! |
Not working for IOT2050 support anymore from March 1st, 2024. |
|
Follow us on