Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OPi One gpio's with Node-red

Featured Replies

Hello!

Can anyone help me to set up my Orange Pi one ,that I could use gpio's with node-red?

 

I am using armbian 5.22. 

 

Recently I am trying to manage my OPi One to work with Node-Red.
Today I finally set it up and was able to start Node-red.

After that I tried several hours to manage GPIOs ,but nothing worked.

Is there a short version how to manage gpios to get them working.

So today I installed nodejs 4.xx, npm@2.x.
After that I installed wiringPi from github, then I added to node-red -> npm wiring-Pi and modified settings.js , after that I tried npm -> wiring-op and still nothing.
I my experimentations today I started 3 times with cleans jessie install, every time trying different git sources and different tutorials.
At one point I get same error as in this article ''Error: setup: arguments['mode'] => ("undefined" in ("wpi", "gpio", "sys", "phys")) === false'' , removing and rebooting did not solve it for me.

BTW I managed gpio readall to show gpios, and even example blink file in C with wiringPi worked.

Can anyone help me with correct sequence and what exact git sources I should use?
p.s. at the moment I find a lot of badly documented sources in github, but whitch one will work?

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.