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

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

    Node-RED
    node-red manual axon
    3
    7
    169
    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.
    • WesleyFranken
      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áček 1 Reply Last reply Reply Quote 0
      • Martin Kudláček
        Martin Kudláček administrators @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

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

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

          Thanks!

          Systems Integrator Smart Buildings, Smart Cities & IoT

          Martin Kudláček 1 Reply Last reply Reply Quote 0
          • Martin Kudláček
            Martin Kudláček administrators @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.

            WesleyFranken 1 Reply Last reply Reply Quote 0
            • WesleyFranken
              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áček 1 Reply Last reply Reply Quote 0
                • Martin Kudláček
                  Martin Kudláček administrators @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
                  • First post
                    Last post