• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. honza.muller
    3. Topics
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by honza.muller

    • H

      Evok & NodeRed backup/restore
      Official API - Evok • • honza.muller

      2
      0
      Votes
      2
      Posts
      1302
      Views

      R

      I performed an update today to the newest nodered OS image.
      I took a OS backup using the service mode, to be safe
      I took a file copy backup of /home/unipi and /etc
      I flashed the new image
      boot into the new image
      set timezone

      $ sudo timedatectl set-timezone Europe/Brussels

      installed latest updates

      $ sudo apt-get update $ sudo apt-get upgrade

      updated unipi firmware:

      $ sudo /opt/unipi/tools/fwspi -u 1 -v -P -U

      Stopped node-red

      $ sudo systemctl stop node-red

      moved /home/unipi/.node-red to /home/unipi/.node-red.old
      copied /home/unipi/.node-red and /home/unipi/node_modules from the file-backup to the current system
      rebooted unipi

      Node-red came up with correct config. Inside Node-red I had to update the @unipitechnology/node-red-contrib-unipi-evok node-palette to v0.0.8 and then had to replace all unipi-evok inputs and outputs by their respective unipi-evok-v3 counterparts.
      After that everything seems to be up and running again. (apart from my 1Wire temp sensor which seems no longer be detected by Evok.. but that is out of scope here, I assume)

      Possibly you may have to configure more and or re-apply changes you did on previous OS image. (I had to also install and configure mosquitto mqtt for example.)

    • H

      Ultrasonic sensor
      Installations, Ideas & Realisations • • honza.muller

      4
      0
      Votes
      4
      Posts
      854
      Views

      Martin Kudláček

      Hi @honza-muller,
      yes, that will work as well. Arduino + MAX485 is tried and true. Just be aware, that the Unipi 1.1 doesn't have RS485, only Neuron / Patron / Gate.

    • H

      Neuron vs Gateway with HomeAssistant
      Neuron Series • • honza.muller

      2
      0
      Votes
      2
      Posts
      414
      Views

      Martin Kudláček

      Hi @honza-muller,
      both solutions will work. The Gateway + Extensions will allow you to distribute the devices across the building, thus having a "tree with branches" kind of topology. The pure Neuron will result in the "tree" topology, where you will have to have longer cables from the PLC to each device/sensor/switch/light/etc. From SW point of view, there is no difference. The Neuron's however can be purchased with RPI4, so you can have more performance and RAM.

      Best regards,
      Martin