nxhack / openwrt-node-packages

OpenWrt Project Node.js packages. v18.x TLS and v20.x LTS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node-Red on Raspberry pi 4 GPIO & Serial Port Issue

Quicksilverzone opened this issue · comments

Hi,

I prepared openwrt image including node packets in these repo. But I cannot control GPIO and serial ports over Node-Red, it gives error on debug windows when I deploy the script on Node-Red with the gpio or serial node. Is there any other point I need to change or configure I dont know. I am using raspberry pi CM4. I am a little bit newbie on openwrt platform. I'll be grateful for any help. Thank you.

Image_1

I saw the error message in the image you attached.
Try running this on the target machine.

npm install raspi-io

https://www.npmjs.com/package/raspi-io