Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

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.

Featured Replies

Posted

NodeLink installation on a Raspberry Pi is now a lot simpler.  On a running Pi you type:

sudo curl -sSL http://reverbautomation.com/Files/install.sh | bash

That's it.  It updates the Pi, installs dotnet, downloads NodeLink and sets up the startup script.

Can nodelink and polyglot run on the same rpi?

19 minutes ago, bambamf16 said:

Can nodelink and polyglot run on the same rpi?

I am.

17 minutes ago, larryllix said:

I am.

Me too, along with the WeatherFlow node server, which invokes another instance of Mono.  No problems

There's no reason it shouldn't. Python (polyglot) and Mono (Nodelink) are separate processes that can run at the same time. There is more than enough horsepower in Pis as well. I'm running nodelink with 4 devices on a Pi Model 2B... its taking a nap - typically 1% of CPU. I have an older pi that is a model B+ and I've tested my Nodelink setup on it too. It runs fine.

Paul

My NodeLink recently quit working.  I tried this hoping it would correct it.  It got 95% installed within an hour then stopped.  I left it running over night and this morning I rebooted the Pi.  After restarting I got errors and a message to run "sudo dpkg --configure -a"

I ran that command line.  Now when trying to run NodeLink, I get the attached errors.

 

Capture.JPG

Edited by RRoyceus

  • Author

Rerun the install script now.

I added an option to the mono run command to fix a bug in mono 5.16.0.179.
(mono -O=-aot NodeLink.exe)

I had to completely remove mono 5.16.0.179 to get by the precompilation errors (it would consume all available RAM/swap). This was one of the suggested options in the error thread to which you linked. I then used your script to install again. Thank you!

Hi @io_guy,

Thanks for this!

How long should it take to run this install script? I've been stuck here for about an hour..

Ben

Screenshot 2018-11-07 21.38.11.png

I let it run all night and my Pi crashed. Had to unplug and plug it back in to get things running again. Any suggestions as to why that may have happened?

  • Author

Nope, the part running was just a standard apt-get install.  

Maybe it ran out of memory.  I see you're running X and VNC.  

You're right. After I disabled X and VNC, it installed correctly. Thanks!

I was out of town a week and reran the script when I go back.  I still have errors when starting NodelInk

Capture.JPG

  • Author

You're manually starting mono without the proper arguements to resolve the 5.16.0.179 bug.  Look at the rc.local.

I looked at re.local. It appears to be correct.  I ran 'mono -O=-aot NodeLink.exe' from the node directory.  NodeLink freezes.  

Capture4.JPG

Capture5.JPG

  • Author

Reboot the Pi, you have two instances running (hence the "Already in use").

I finally got this working by erasing all files in the node directory and re-running the script.  After restarting, I had to go into config and set up the ISY, then had to add back my devices.

  • Author

Restarting was the fix.  Deleting the dir wouldn't make a difference unless your previous config had NodeLink on some strange port that was used by another resource.

In that case you would edit the config.xml to change the port.

  • 2 weeks later...

Hi io_guy

Thanks for this new script to install and load the nodelink. I noticed that NodeLink Server v0.9.21 no longer have the option to install the geofence/location device. Is this node device no longer supported in this version?

Thanks.

  • Author

Works fine here.  

  • 1 month later...
  • Author

Looks like mono 5.18 is now released for the Pi.  I've removed the aot option from the install script as we should be back to normal now.

Will the aot option cause any issues when used with mono 5.18?  As usual my timing sucks and I think my Christmas eve Pi rebuild may have put me in that situation.  Seems fine - any harm leaving it?

  • Author

Leaving it is fine.  That options just runs a little slower than without, although you'd likely never notice it in an application like NodeLink.

On 10/29/2018 at 7:56 AM, io_guy said:

NodeLink installation on a Raspberry Pi is now a lot simpler.  On a running Pi you type:

sudo curl -sSL http://automationshack.com/Files/install.sh | bash

Got a new toy over the holidays (a Raspberry Pi), so I thought I'd try installing Nodelink on it.  I have some other apps I need to run that require Raspbian 8.  Does the install script for Nodelink care which version of Raspbian I'm running?

Guest
This topic is now closed to further replies.

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.