Manuel83 / craftbeerpi3

Other
180 stars 172 forks source link

Changing logging frequency #224

Open AwfulBear opened 5 years ago

AwfulBear commented 5 years ago

I would like to change the logging frequency from every 5 seconds to every 20 but I am not quite sure where to do that. I looked in the sensor file and changed it there but it still logs every 5 seconds?

Does anybody else have any idea about this?

lalo-uy commented 5 years ago

If you use the standar one_wire ther is a sleep(5) after the mesuring. Change that to 19, since reading the sensor takes ~1 sec. And don't forget to restart CBPi. If you use One_wire_advanced ther is a parameter for the frecuency.

El mié., 20 feb. 2019 a las 14:25, AwfulBear (notifications@github.com) escribió:

I would like to change the logging frequency from every 5 seconds to every 20 but I am not quite sure where to do that. I looked in the sensor file and changed it there but it still logs every 5 seconds?

Does anybody else have any idea about this?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Manuel83/craftbeerpi3/issues/224, or mute the thread https://github.com/notifications/unsubscribe-auth/AK4bcdwZj66wHds-eE-1zKUrBfgVnWhGks5vPYULgaJpZM4bFuuK .