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

    Node-Red and Unipi extensions.

    Node-RED
    4
    8
    1894
    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.
    • S
      Schteven last edited by

      Hi

      I'm working with Unipi Neuron for a few months now on a very basic level.
      As I am now switching from Mervis to Node-Red, it's all very new to me.

      My Unipi Neuron L203 has two xS11 extensions connected to it which are communicating perfectly with the Mervis IDE. With Node-Red now, I have no idea how to get them linked to the Neuron. I went through some tutorials how to set up the modbus et cetera but everything about this is top of the notch rocket science to me.

      Does anyone has a step by step tutorial how to set this up?
      Any help is more than welcome!

      Reason of the switch to Node-Red is because I need MQTT support to use my Android app with.

      Thanks.

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

        Hi @Schteven,
        since the Node-RED is using Evok API, the best way is to configure the Evok to read the extensions as well. This is done in the /etc/evok.conf. There are prepared and commented blocks, you can see the default version here: https://github.com/UniPiTechnology/evok/blob/master/debian/etc/armhf/evok.conf#L28

        Once the config is updated, you need to restart the Evok (sudo systemctl restart evok), or the whole PLC. Now you will have the additional datapoints available via the API.

        You can find out about the configuration of the extensions here: https://kb.unipi.technology/en:hw:04-extensions:communication-and-addressing-of-module

        Best regards,
        Martin

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

          @Martin-Kudláček
          Ahoj,
          tak mám podobný problém s připojením extensionu XS11. Komunikaci jsem již nějak zvládl, ale nedaří se mi dostat do nastavení EVOKu, abych měl přístup k jednotlivým vstupům..
          Bylo by možné nějak konkretizovat toto nastavení..
          Díky

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

            Ahoj @MirekV,
            v jakém kroku jsi se zaseknul? Jsou vstupy a výstupy vidět v Unipi Control Panel na portu 80?

            M.

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

              @Martin-Kudláček ahoj, bohužel jsem řešil jiné věci.. teď se k tomuto problému vracím. bohužel vstupy ani výstupy vidět nejsou.. díky za radu..

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zdenek_rusek @MirekV last edited by

                @MirekV Zdravím, jak vypadá nastavení /etc/evok.conf ? Máte určitě správně nastavenou adresu? (nastavuje se pomocí DIP přepínačů)
                ZR

                M 1 Reply Last reply Reply Quote 0
                • M
                  MirekV @zdenek_rusek last edited by

                  @zdenek_rusek mám nastavenou adresu na 3.. první dva přepínače mám zap.. dále vyp, zap a zap.. takže by měla být adresa 3, rychlost 9600, data bits 8, stop bit 1, parity není

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    zdenek_rusek @MirekV last edited by

                    @MirekV Zdravím, pošlete prosím c&p hw tree části config souboru a fotku DIP přepínačů.
                    ZR

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post