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

    Variables are not mounted to HMI gadgets

    Scheduled Pinned Locked Moved Mervis
    8 Posts 2 Posters 3.8k 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.
    • M
      Martin Trojan
      last edited by

      I am forwarding traffic for specific port to my Unipi. I have a set of variables which I need to control from HMI. But I can see only ? ? ? . Where is an issue?

      T 1 Reply Last reply
      Reply Quote 0
      • T
        tomas_hora administrators @Martin Trojan
        last edited by

        @Martin-Trojan make sure that the ports required for the HMI are also available, eg: 9999

        1 Reply Last reply
        Reply Quote 0
        • M
          Martin Trojan
          last edited by

          I cant see any port(settings) for HMI. Where can I found it? How HMI communicate with Mervis solution on Unipi?

          HMI sending request to api.cgi

          {"ver":1,"v":["svc://Unipi/8876[0,1]","svc://Unipi/8877[0,1]","svc://Unipi/7[0,4]"]}:
          

          Response:

          {"ver":1,"code":"error","msg":"No variables from request available. Check device parameters and availability."}
          

          I allowed port 9999 to forward to my Unipi device.

          Any suggestion?

          T 1 Reply Last reply
          Reply Quote 0
          • T
            tomas_hora administrators @Martin Trojan
            last edited by

            @Martin-Trojan The port for HMI communication between the fastcgi server and the web is hardcoded and cannot be changed easily from the IDE/HMI.

            Has it worked for you on a local network without any port forward?

            1 Reply Last reply
            Reply Quote 0
            • M
              Martin Trojan
              last edited by Martin Trojan

              It has worked, but I continuous with development. Then my provider gave me IP, I deployed new version to UNIPI, Uploaded new HMI, set static IP in my local network for Unipi and forwarded port for web to unipi:80 and 12346 forwarded to unipi:12346. Then I also forwarded 9999 as you have suggested. When I debug I can see values. When open web browser with HMI webpage I can see only ? ? ? Can you see any issue? What is Networking settings for in Mervis? Which IP should be there?

              1 Reply Last reply
              Reply Quote 0
              • M
                Martin Trojan
                last edited by

                What I am missing is information how Mervis program on Unipi and HMIweb on Unipi communicate each other? Then I can try to resolve where is an issue.

                1 Reply Last reply
                Reply Quote 0
                • T
                  tomas_hora administrators
                  last edited by

                  Sharkrt and Fastcgi are running locally on UniPi. I think you should only need the port 80. Please try to make a clean HMI with just one variable and upload that...

                  Sometimes it happens that the mapping of variables in HMI breaks...

                  1 Reply Last reply
                  Reply Quote 0
                  • M
                    Martin Trojan
                    last edited by Martin Trojan

                    This post is deleted!
                    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