• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Installation manual Node-RED (use at your own risk)

    Scheduled Pinned Locked Moved Node-RED
    node-redmanualaxon
    7 Posts 3 Posters 2.4k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • WesleyFrankenW
      WesleyFranken
      last edited by

      Dear community,

      I get a lot of questions how to install Node-RED in the Unipi Axon. Because I'm grateful for this product of Unipi I am happy to share some knowledge:

      Put the latest Unipi Axon Open Source image on a 16GB using FAT32. Flash Axon.

      sudo su
      apt-get update
      apt-get upgrade
      reboot

      sudo su
      apt-get install evok
      systemctl enable evok
      reboot

      sudo su
      apt-get install build-essential
      apt-get install curl software-properties-common
      reboot

      Install NodeJS and Node-RED. !!Answer Yes to all except for installing standard Raspberry Pi nodes!!

      sudo su
      bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
      systemctl enable nodered.service
      reboot

      Don't mind the errors of installing node-red-admin:

      sudo su
      apt-get install nano
      npm install -g node-red-admin
      reboot

      Securing Node-RED: https://nodered.org/docs/user-guide/runtime/securing-node-red
      Hash, copy and paste password:

      sudo su
      node-red-admin hash-pw
      cd .node-red
      nano /root/.node-red/settings.js
      reboot

      Copy the following:

      allow-hotplug eth0
      iface eth0 inet static
      address 192.168.1.101
      netmask 255.255.255.0
      broadcast 192.168.1.255
      network 192.168.1.0
      gateway 192.168.1.1

      and paste into file eth0:

      sudo su
      nano /etc/network/interfaces.d/eth0

      reboot

      Change password Unipi:

      sudo su
      passwd unipi
      reboot

      sudo dpkg-reconfigure tzdata

      I hope this helps you to get more out of your Unipi Axon!

      Beste regards,
      Wesley

      Systems Integrator Smart Buildings, Smart Cities & IoT

      Martin KudláčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        Martin Kudláček @WesleyFranken
        last edited by

        Hello @WesleyFranken,
        we have dedicated Node-RED images for all our PLCs. They also contain example program with Dashboard UI: https://kb.unipi.technology/en:sw:03-3rd-party:nodered

        WesleyFrankenW 1 Reply Last reply
        Reply Quote 0
        • WesleyFrankenW
          WesleyFranken @Martin Kudláček
          last edited by

          @Martin-Kudláček From today that is ;-)

          Thanks!

          Systems Integrator Smart Buildings, Smart Cities & IoT

          Martin KudláčekM 1 Reply Last reply
          Reply Quote 0
          • Martin KudláčekM
            Martin Kudláček @WesleyFranken
            last edited by

            Well @WesleyFranken, for Axon and Neuron, we have the image for a few weeks;) It just wasn't presented to the public, only as a download on the said page. From yesterday, we have the image for all three platforms.

            WesleyFrankenW 1 Reply Last reply
            Reply Quote 0
            • WesleyFrankenW
              WesleyFranken @Martin Kudláček
              last edited by WesleyFranken

              @Martin-Kudláček

              No need to defend yourself, you are doing a good job 😉

              Systems Integrator Smart Buildings, Smart Cities & IoT

              1 Reply Last reply
              Reply Quote 0
              • F
                FabioIT
                last edited by

                Hello I have istalled the Node red image on Unipi 1.1 but no desktop...only command line. How to RU or install the PI desktop please??

                Martin KudláčekM 1 Reply Last reply
                Reply Quote 0
                • Martin KudláčekM
                  Martin Kudláček @FabioIT
                  last edited by

                  Hello @FabioIT,
                  the Node-RED image is defacto a Raspberry Pi OS. You can proceed with any general tutorial for adding the desktop environment, which you can find on the offical Raspberry Pi OS webpage.

                  1 Reply Last reply
                  Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • First post
                    Last post