Jørn R Posted April 21 Posted April 21 Har en komponent (https://www.futurehome.io/no/shop/puck-relay-16a) som hallusinerer på rapportering av spenningen innimellom. Er det mulig å unngå dette på noe vis? Quote
thoralex Posted April 21 Posted April 21 Prøv filterintegrasjonen: https://www.home-assistant.io/integrations/filter/ Quote
Jørn R Posted April 21 Author Posted April 21 Takk for tips, visste ikke om denne hjelperen. Den var usedvanlig dårlig dokumentert for "outliers", med få eksempler. Men ChatGTP foreslo følende; Window size 5 The number of previous values considered. A window of 5 gives the filter enough data to find a median and detect outliers. You can increase this if your readings are noisy. Radius 10 Since your acceptable deviation is ±10 V from the expected value, use this as the radius. The filter will ignore values outside the median ± 10 V. Precision 2 Keep this at 2 if you want voltage rounded to two decimal places (default for most use cases). Prøver det Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.