Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. WesleyFranken
    3. Posts
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by WesleyFranken

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

      @Martin-Kudláček

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

      posted in Node-RED
      WesleyFranken
      WesleyFranken
    • RE: Installation manual Node-RED (use at your own risk)

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

      Thanks!

      posted in Node-RED
      WesleyFranken
      WesleyFranken
    • Installation manual Node-RED (use at your own risk)

      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

      posted in Node-RED
      WesleyFranken
      WesleyFranken
    • RE: Switching output or relay on

      When you have another Neuron and need any help setting it up, please let me know!

      I would recommend the M503 which a pretty nice bang for your buck and is useful for testing purposes.

      Until next time!

      posted in Node-RED
      WesleyFranken
      WesleyFranken
    • RE: Switching output or relay on

      My configuration of "Relay 1":
      0_1573069150074_a2362fe3-e2be-49c7-8458-9dc265ee206d-image.png

      The configuration of the node within Node-RED I used:
      0_1573069344729_f4041705-9e54-45e8-89da-1df81bfefd5d-image.png

      It does not matter if you send "1" or 1.

      Try it, does this configuration work for you?

      posted in Node-RED
      WesleyFranken
      WesleyFranken
    • RE: Example UI flow not working

      Everything is chinese the first time :-), don't worry.

      Can you show me the configuration of the Relay 4 Node within Node-RED?
      Also open your EVOKE configuration bij entering in your case 192.168.1.7, and show the configuration of your relay 4.

      posted in Node-RED
      WesleyFranken
      WesleyFranken
    • RE: Example UI flow not working

      Did you name the IOs like in your flows in the EVOKE configuration page?

      Name IO in EVOKE configuration page:
      0_1572991083072_6506802B-47EE-486F-AF48-7A8C2A359F04.jpeg

      Program node:
      0_1572990869492_869507A0-5D13-472D-8511-184367B0BD35.jpeg

      0_1572990882950_A8F900F6-8242-4DF6-A91A-E1DC3E27982D.png

      I hope I have answered your question, if not, please let me know!

      posted in Node-RED
      WesleyFranken
      WesleyFranken
    • RE: Switching output or relay on

      @lessmann, see example:

      I've a example which will help you. Basically what you need to do is fill a variable and use it in the IO. This will help you to be flexible.

      >Download json for example<

      Don't forget to rename all of your IOs or they will not work:
      0_1572983332286_7c77d214-f1fc-49a8-b8be-45166e188be0-image.png

      Good luck!

      posted in Node-RED
      WesleyFranken
      WesleyFranken