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

    filter function

    Scheduled Pinned Locked Moved Evok API
    5 Posts 2 Posters 3.1k 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.
    • J
      juntiedt
      last edited by

      hi Tomas,

      there is only one issue left that I want to solve.
      I want to filter out the "temp" events within evoc websocket events. I tried websocket interface and HTTP Client. Both without success.

      Currrently I filter the "temp" devices in my python program when reading websocket events. But I would suppose doing it within evok would be better and faster.

      I raised this issue already in december but did not get a working response due to you being on vacation.

      1 Reply Last reply
      Reply Quote 0
      • T
        TomasKnot
        last edited by

        The filtering should be possible by sending the "filter" command to websocket. Is it not working correctly? There were some issues in the last release, but code on the GitHub Master branch should be fine.

        1 Reply Last reply
        Reply Quote 0
        • J
          juntiedt
          last edited by

          Hi Tomas

          it looks like the sensors DS2438 which also have "temp" as device are not filtered out.
          DS18B20 seems to be ok.

          1 Reply Last reply
          Reply Quote 0
          • T
            TomasKnot
            last edited by

            It looks like the filtering didn't work for alternative nametypes - the primary nametype for 1Wire devices is 'sensor', but they report as 'temp' for compatibility reasons.

            It should be fixed in the latest Master on GitHub.

            1 Reply Last reply
            Reply Quote 0
            • J
              juntiedt
              last edited by

              Hi Tomas,

              reinstalled evok -master today but unfortunately the filter function with "temp" or "sensor" did not work for ds2438.

              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