![]() |
|
help with rangefilter - Printable Version +- phyphox Forums (https://phyphox.org/forums) +-- Forum: Discussion (https://phyphox.org/forums/forumdisplay.php?fid=1) +--- Forum: General (https://phyphox.org/forums/forumdisplay.php?fid=3) +--- Thread: help with rangefilter (/showthread.php?tid=2384) |
help with rangefilter - huckley - 08-31-2026 hello, for a natural swimming pool with 2 pools I build the following: 2 Sender where each read 2 sensor and deliver the current values it via lora 1 receiver, which can ask for history data via phyphox. I wish to create a rangefilte that filter incorrect data (e.g. -127 °C) If i build the phybox file without rangefilter, the app displays the correct raw data. with rangefilter it displays only the batteryvoltage, which is not filterd so any idea, whats the problem? RE: help with rangefilter - Elisabeth Brenner - 09-26-2026 Sorry so much for the late reply! Your post did somehow not show up in my timeline. So what I think is the issue here is that the buffer inputs to the rangefilters are set to keep="False". What then happens is: The first range filter reads air1Temp and recordTimeHours and then clears both buffers. The same happens with air2Temp, water1Temp and water2Temp. As a result, the value displays and graphs that access the raw buffers only see empty buffers. For filters 2 to 4, recordTimeHours has already been cleared as well, so the time values there become NaN and the graphs stay empty. batteryMilliVolts is not used by any analysis module and is therefore never cleared. That is why the battery voltage is the only value that is still visible. The solution: Set keep="true" on all buffer inputs of the range filters. I added a modified version of your file to my reply. I could not test it though since I do not have a temperature sensor with me right now, but I hope that resolves your issue if not already solved. |