filter function
-
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.
-
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.
-
Hi Tomas
it looks like the sensors DS2438 which also have "temp" as device are not filtered out.
DS18B20 seems to be ok. -
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.
-
Hi Tomas,
reinstalled evok -master today but unfortunately the filter function with "temp" or "sensor" did not work for ds2438.
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