You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature]: more comprehensive filter possibility with web_socket #163
It seems that i am getting a lot of 1_12 input changes, even when the input is made high.
On some cases i have 4 web_sockets on one unipi and i would like to limit trafic to the inputs/outputs that are in use and nothing from the others.
This is a very useful feature. But I think it might be better to group devices and then add the ability to filter based on these groups.
For example create a Kitchen group with devices like lights, switches, thermometers. etc. And then set the WS filter only for this room. What do you think?
Any way of filtering a group of things is useful as unused inputs can occasionally generate a lot of traffic.
Today, when you use analog input 1_01, then sometimes the unused analog input 1_02 start to generate a lot of traffic oscillating between 0,01 and 0,0. Could be avoided with filtering.
So your suggestion of using a group of devices to filter is perfectly fine i think.
Other solution is to unfilter devices such as the ai,1_02 when they are not used in the application.
Activity
kratochvil01 commentedon Jun 13, 2024
This is a very useful feature. But I think it might be better to group devices and then add the ability to filter based on these groups.
For example create a Kitchen group with devices like lights, switches, thermometers. etc. And then set the WS filter only for this room. What do you think?
rudyvan commentedon Jun 13, 2024
Any way of filtering a group of things is useful as unused inputs can occasionally generate a lot of traffic.
Today, when you use analog input 1_01, then sometimes the unused analog input 1_02 start to generate a lot of traffic oscillating between 0,01 and 0,0. Could be avoided with filtering.
So your suggestion of using a group of devices to filter is perfectly fine i think.
Other solution is to unfilter devices such as the ai,1_02 when they are not used in the application.