I have setup a file sensor, which is working good, it is set for files older than 2 days has to give a alarm or warning.
When its going into warning, everthing is going well, but when I change the setting to go in alarm instead of warning, then its not giving me any data anymore, also not in the mail.
See the images below
When in Warning + Settings:
When in Alarm + Settings:
Article Comments
Ok, that's what I expected. Disable the check for file age in the sensor's "Settings" tab and set a limit as described my last reply directly in channel "File Age". This will work.
Kind regards.
Aug, 2016 - Permalink
More or less. It is currently being discussed whether we remove this option in the future so that it only works with the limits from the channel. The implemented logic in the sensor's settings seems to be more prone to erroneous behavior than working with the channel limit.
Kind regards.
Aug, 2016 - Permalink
Do you get something like "PE100" in the sensor's message and it does not show values anymore? At least that's what I observe in my tests, looks like a bug, I consult development about it.
Quick fix for you to get it working with error state: Set "Check File Ages" to "Do not check". Instead set a limit inside the channel "File Age" (click on the channel to enter its settings), select "Enable Limits" and set "Upper Error Limit" to 259200 which equals three days in seconds, because the channel originally measures file age in seconds. This will set the sensor to error when file age is greater than 259200 seconds (3 days). This has also the advantage that you can use different limits for warning AND error.
Kind regards.
Aug, 2016 - Permalink