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

    Node-Red and Unipi extensions.

    Scheduled Pinned Locked Moved Node-RED
    8 Posts 4 Posters 3.4k Views
    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áčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        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áčekM 1 Reply Last reply
          Reply Quote 0
          • Martin KudláčekM
            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

                    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