Using MAX6675 with K-type thermocouple, on the Devices page the Interval is set to 1 sec, but the output is quite noisy.
Is it possible to set an interval below 1 sec then do some averaging in the Rules?
Thanks
Tony
MAX6675 Interval
Moderators: grovkillen, Stuntteam, TD-er
Re: MAX6675 Interval
Not sure about the minimal sample interval of the sensor itself.
But it is possible via rules to sample at a shorter interval.
You an use the msec version of looptimer.
When handling this looptimer, you can call "taskrun" on that task. (This will also flush data to a connected controller)
In the latest (not with LIMIT_BUILD_SIZE defined) builds you can check to use the pluginstats.
See:
- https://espeasy.readthedocs.io/en/lates ... tats#stats
- https://espeasy.readthedocs.io/en/lates ... statistics
This does allow you to simply get the average over the last N samples.
Also the peaks are logged, but those have to be reset by the user if you need to see the peaks since the last call to reset.
But it is possible via rules to sample at a shorter interval.
You an use the msec version of looptimer.
When handling this looptimer, you can call "taskrun" on that task. (This will also flush data to a connected controller)
In the latest (not with LIMIT_BUILD_SIZE defined) builds you can check to use the pluginstats.
See:
- https://espeasy.readthedocs.io/en/lates ... tats#stats
- https://espeasy.readthedocs.io/en/lates ... statistics
This does allow you to simply get the average over the last N samples.
Also the peaks are logged, but those have to be reset by the user if you need to see the peaks since the last call to reset.
-
- Normal user
- Posts: 57
- Joined: 28 Sep 2020, 13:58
Re: MAX6675 Interval
Thank you - really helpful
Who is online
Users browsing this forum: Bing [Bot] and 2 guests