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

    Sysfs interface support for extension modules (Pt.2)

    Official EVOK API
    2
    2
    88
    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.
    • T
      tja last edited by

      Re: Sysfs interface support for extension modules

      hi martin,

      is this feature planned or will we have to use evok if we want to access the extension modules ?

      i'm asking as a colleague of mine (michael hacker) wrote "unipi-mqtt-api" a sysfs-based implementation of a mqtt client (with home-assistant support) which is a lot faster then my own evok-based script.

      as i'm having 3 extensions on my production neuron i have to stay on the evok-based solution atm but it would be nice to have sysfs support for the extensions ... even if they might be not as fast as the built-in module.

      tia, wbr, tja...

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

        Hi @tja,
        this is not planned, nor it makes sense from the architecture point of view. The SysFS endpoints are generated from the Unipi kernel module, which is aware of the HW it is running on, but not aware of any peripheral devices.

        The only way right now is the Evok, or you can directly poll the devices over ModbusRTU. We have some internal discussion from time to time about adding support for extensions to our ModbusTCP service. So far, no work has been done on that part.

        Best regards,
        Martin

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