19.07.2019, 11:51
(This post was last modified: 19.07.2019, 11:58 by Erwin van der Zwart.)
Hi,
Writing to storage is not direct to SD so could not hurt the SD.
What i do in this case is use a KNX interface of Schneider MTN670802 and set it to impuls counter, it then counts the impulses internally and you can write the counted values over x period to the bus on a set interval.
In the controller i get random values like 30, 40, 35 depending on the number of counted pulses in the set period and i sum them to the old value, this way you don't need to process every puls on the controller but you do it in batches.
BR,
Erwin
Writing to storage is not direct to SD so could not hurt the SD.
What i do in this case is use a KNX interface of Schneider MTN670802 and set it to impuls counter, it then counts the impulses internally and you can write the counted values over x period to the bus on a set interval.
In the controller i get random values like 30, 40, 35 depending on the number of counted pulses in the set period and i sum them to the old value, this way you don't need to process every puls on the controller but you do it in batches.
BR,
Erwin