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

    Read/Write Serial port through Evok API

    Scheduled Pinned Locked Moved Official API - Evok
    3 Posts 2 Posters 1.7k Views 1 Watching
    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.
    • R
      rtatibouet
      last edited by

      Hello,
      I am currently using an Axon S215 with the Evok API enabled.
      What I'd like to do is communicate with the Evok WebSocket API, from a remote client. The goal is to have no software to install on the box.

      For the moment I have relays and digital inputs working well.
      But I can't find a way to interact with the RS485 port, other than the setup (baud rate, etc...) request.

      Is it possible to read/write with the RS485 port using default Evok API ?

      Thanks,

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

        Hello @rtatibouet,
        no, this isn't possible. I would also suggest not to use Evok remotely, as there is no authentication and encryption at all, so anybody with network access can communicate with the PLC.

        You can modify the configuration of nginx to set SSL and at least a basic HTTP authentication.

        Best regards,
        Martin

        1 Reply Last reply
        Reply Quote 0
        • R
          rtatibouet
          last edited by

          Ok, I'll do it on the board then.
          I'll take my chances communicating directly with the modbus tcp server instead of using Evok's layer.

          Cheers,
          Ronan

          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