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

    Wrong device model in EVOK (Patron)

    Official EVOK API
    2
    2
    102
    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.
    • Vesa Kauppinen
      Vesa Kauppinen last edited by

      Hi,

      EVOK provides incorrect information on Patron:

      {
        "glob_dev_id": 1,
        "last_comm": 0.06514811515808105,
        "ver2": "0.1",
        "sn": 60,
        "circuit": "1",
        "model": "M527",
        "dev": "neuron", <-- Should be patron
        "board_count": 2
      }
      

      Could you fix this, please?

      Br,
      Vesa

      1 Reply Last reply Reply Quote 0
      • M
        martin_triska administrators last edited by

        Hello @Vesa-Kauppinen,

        The 'dev' field describes an object type (similarly to di or relay) so the key has to be constant regardless of the PLC series. You are right, this can be a little bit confusing - it's a piece of history ;-).

        Now, we will add the new field of a family containing Patron/Neuron/Axon string.

        The 'dev' field fix is a breaking change of the existing API and will be subject to change within an upcoming new Major version.

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