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

    Sysfs interface support for extension modules (Pt.2)

    Scheduled Pinned Locked Moved Evok API
    2 Posts 2 Posters 840 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.
    • 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áčekM 1 Reply Last reply
      Reply Quote 0
      • Martin KudláčekM
        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

        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